diff options
author | Peter Griffin <peter.griffin@linaro.org> | 2015-09-10 20:55:13 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-09-28 14:48:21 (GMT) |
commit | c9a67d2489d68abac2f3be151abf1f09126b91a2 (patch) | |
tree | 29b2fc5e9ea13c6f45aa836c368c1773722bf386 /include/configs | |
parent | b81ef8db8f9c58f5bbeb9ecd5826f04b158f51e4 (diff) | |
download | u-boot-c9a67d2489d68abac2f3be151abf1f09126b91a2.tar.xz |
ARM: hikey: Use linux/sizes.h for malloc size
Use the #defines in linux/sizes for malloc size as it is
more readable.
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/hikey.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/configs/hikey.h b/include/configs/hikey.h index 8ff9077..7666bf9 100644 --- a/include/configs/hikey.h +++ b/include/configs/hikey.h @@ -12,6 +12,8 @@ #ifndef __HIKEY_H #define __HIKEY_H +#include <linux/sizes.h> + /* We use generic board for hikey */ #define CONFIG_SYS_GENERIC_BOARD #define CONFIG_POWER @@ -55,7 +57,7 @@ #define GICC_BASE 0xf6802000 /* Size of malloc() pool */ -#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + (8 << 20)) +#define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_8M) /* PL011 Serial Configuration */ #define CONFIG_PL011_SERIAL |