diff options
author | Rudolf Marek <r.marek@assembler.cz> | 2008-03-19 20:24:33 +0000 |
---|---|---|
committer | Rudolf Marek <r.marek@assembler.cz> | 2008-03-19 20:24:33 +0000 |
commit | c221349746299537de9e01a0bcfb28485b15ef84 (patch) | |
tree | f0702245bbcc225216a883589e7b8ae0febb7db9 /src/include | |
parent | cfcc9ca59047a19dd01953c1d906947e2c78ca6a (diff) |
Following patch will setup KT890 HT automatically. It will find the
max width of the link and also it will take the frequency of K8 HT
already done coreboot (and checks if t can run on it).
Signed-off-by: Rudolf Marek <r.marek@assembler.cz>
Acked-by: Uwe Hermann <uwe@hermann-uwe.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3169 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/stdlib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/stdlib.h b/src/include/stdlib.h index 1fa8e24d18..e2b37e6fe9 100644 --- a/src/include/stdlib.h +++ b/src/include/stdlib.h @@ -5,6 +5,9 @@ #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) +#define MIN(a,b) ((a) < (b) ? (a) : (b)) +#define MAX(a,b) ((a) > (b) ? (a) : (b)) + #ifndef __ROMCC__ extern void *malloc(size_t size); void free(void *ptr); |