diff options
author | Thomas Chou <thomas@wytron.com.tw> | 2015-10-27 10:21:06 +0800 |
---|---|---|
committer | Thomas Chou <thomas@wytron.com.tw> | 2015-11-06 09:14:11 +0800 |
commit | 744b57b8a688342cc98b4179ab19151c46f32506 (patch) | |
tree | da1511b12e1709c3734f52914579dc8606efa3a3 /include/configs | |
parent | 2de4823dc0424923a6d6070a7378a7bf6ee67556 (diff) | |
download | u-boot-imx-744b57b8a688342cc98b4179ab19151c46f32506.zip u-boot-imx-744b57b8a688342cc98b4179ab19151c46f32506.tar.gz u-boot-imx-744b57b8a688342cc98b4179ab19151c46f32506.tar.bz2 |
nios2: use dram bank in board info
Use dram bank in board info, so that it displays correct
memory values in bdinfo command.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw>
Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/nios2-generic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/configs/nios2-generic.h b/include/configs/nios2-generic.h index b38513e..53a9f10 100644 --- a/include/configs/nios2-generic.h +++ b/include/configs/nios2-generic.h @@ -77,6 +77,7 @@ */ #define CONFIG_SYS_SDRAM_BASE 0xD0000000 #define CONFIG_SYS_SDRAM_SIZE 0x08000000 +#define CONFIG_NR_DRAM_BANKS 1 #define CONFIG_MONITOR_IS_IN_RAM #define CONFIG_SYS_MONITOR_LEN 0x40000 /* Reserve 256k */ #define CONFIG_SYS_MONITOR_BASE (CONFIG_SYS_SDRAM_BASE + \ |