From mboxrd@z Thu Jan 1 00:00:00 1970 From: Peter Griffin Date: Thu, 10 Sep 2015 21:55:13 +0100 Subject: [U-Boot] [PATCH v2 3/8] ARM: hikey: Use linux/sizes.h for malloc size In-Reply-To: <1441918518-25629-1-git-send-email-peter.griffin@linaro.org> References: <1441918518-25629-1-git-send-email-peter.griffin@linaro.org> Message-ID: <1441918518-25629-4-git-send-email-peter.griffin@linaro.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Use the #defines in linux/sizes for malloc size as it is more readable. Signed-off-by: Peter Griffin --- include/configs/hikey.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 + /* 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 -- 1.9.1