projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b81ef8d
)
ARM: hikey: Use linux/sizes.h for malloc size
author
Peter Griffin
<
[email protected]
>
Thu, 10 Sep 2015 20:55:13 +0000
(21:55 +0100)
committer
Tom Rini
<
[email protected]
>
Mon, 28 Sep 2015 14:48:21 +0000
(10:48 -0400)
Use the #defines in linux/sizes for malloc size as it is
more readable.
Signed-off-by: Peter Griffin <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
include/configs/hikey.h
patch
|
blob
|
history
diff --git
a/include/configs/hikey.h
b/include/configs/hikey.h
index 8ff9077c3714ebe453b80b8395f80119aa8eb9a1..7666bf98c5c9405d7ad95c92b4f1c3bd317feed3 100644
(file)
--- 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