summaryrefslogtreecommitdiff
path: root/include/configs/bmips_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/bmips_common.h')
-rw-r--r--include/configs/bmips_common.h12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/configs/bmips_common.h b/include/configs/bmips_common.h
index 788f4af70d..3cb2d4050d 100644
--- a/include/configs/bmips_common.h
+++ b/include/configs/bmips_common.h
@@ -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
@@ -14,15 +16,11 @@
#define CONFIG_SYS_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200, \
230400, 500000, 1500000 }
-/* RAM */
-#define CONFIG_SYS_MEMTEST_START 0xa0000000
-#define CONFIG_SYS_MEMTEST_END 0xa2000000
-
/* 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