Skip to content
Snippets Groups Projects
Commit c9a67d24 authored by Peter Griffin's avatar Peter Griffin Committed by Tom Rini
Browse files

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: default avatarPeter Griffin <peter.griffin@linaro.org>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent b81ef8db
No related branches found
No related tags found
No related merge requests found
...@@ -12,6 +12,8 @@ ...@@ -12,6 +12,8 @@
#ifndef __HIKEY_H #ifndef __HIKEY_H
#define __HIKEY_H #define __HIKEY_H
#include <linux/sizes.h>
/* We use generic board for hikey */ /* We use generic board for hikey */
#define CONFIG_SYS_GENERIC_BOARD #define CONFIG_SYS_GENERIC_BOARD
#define CONFIG_POWER #define CONFIG_POWER
...@@ -55,7 +57,7 @@ ...@@ -55,7 +57,7 @@
#define GICC_BASE 0xf6802000 #define GICC_BASE 0xf6802000
/* Size of malloc() pool */ /* 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 */ /* PL011 Serial Configuration */
#define CONFIG_PL011_SERIAL #define CONFIG_PL011_SERIAL
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment