Finish conversion CONFIG_SYS_NAND_SELF_INIT to Kconfig
[platform/kernel/u-boot.git] / include / configs / bmips_common.h
index ca079fa..0f63239 100644 (file)
@@ -6,6 +6,8 @@
 #ifndef __CONFIG_BMIPS_COMMON_H
 #define __CONFIG_BMIPS_COMMON_H
 
+#include <linux/sizes.h>
+
 /* ETH */
 #define CONFIG_PHY_RESET_DELAY         20
 #define CONFIG_SYS_RX_ETH_BUFFER       6
@@ -16,9 +18,8 @@
 
 /* Memory usage */
 #define CONFIG_SYS_MAXARGS             24
-#define CONFIG_SYS_MALLOC_LEN          (2 * 1024 * 1024)
-#define CONFIG_SYS_BOOTPARAMS_LEN      (128 * 1024)
-#define CONFIG_SYS_CBSIZE              512
+#define CONFIG_SYS_BOOTPARAMS_LEN      SZ_128K
+#define CONFIG_SYS_CBSIZE              SZ_512
 
 /* U-Boot */
 #define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE