bmips: configs: switch to size definitions
[oweals/u-boot.git] / include / configs / bmips_common.h
index ca079fa2e2ca8ba2d2baee119658ca69368bd331..3cb2d4050d09c4c696b6a8b62bf48462fa26307b 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,9 @@
 
 /* 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_MALLOC_LEN          SZ_2M
+#define CONFIG_SYS_BOOTPARAMS_LEN      SZ_128K
+#define CONFIG_SYS_CBSIZE              SZ_512
 
 /* U-Boot */
 #define CONFIG_SYS_MONITOR_BASE                CONFIG_SYS_TEXT_BASE