diff options
author | Akshay Saraswat <akshay.s@samsung.com> | 2014-11-13 22:38:19 +0530 |
---|---|---|
committer | Minkyu Kang <mk7.kang@samsung.com> | 2014-11-17 19:03:38 +0900 |
commit | 43581c833876314b3cf556805465a3ab8d86d244 (patch) | |
tree | 460d4b5446b23fad2664838390efa493f4d0425f /include/configs/peach-pi.h | |
parent | 061091098a5ec55ff4b68b61592af8619c2c7d88 (diff) | |
download | u-boot-imx-43581c833876314b3cf556805465a3ab8d86d244.zip u-boot-imx-43581c833876314b3cf556805465a3ab8d86d244.tar.gz u-boot-imx-43581c833876314b3cf556805465a3ab8d86d244.tar.bz2 |
Config: Exynos5420: Refactor SDRAM Bank and Size
Since, not every board may have all memory channels configured
and all available banks of DMC used, we wish to refactor configs
for Memory Bank size and numbers as per board memory config.
For Example, Peach-Pit has 2GB memory and will be using only 4 banks
but Peach-Pi has 3.5GB memory and will be using all 7 available
SDRAM banks.
Signed-off-by: Akshay Saraswat <akshay.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Tested-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'include/configs/peach-pi.h')
-rw-r--r-- | include/configs/peach-pi.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/peach-pi.h b/include/configs/peach-pi.h index d8da7ef..8a82402 100644 --- a/include/configs/peach-pi.h +++ b/include/configs/peach-pi.h @@ -43,4 +43,8 @@ #define CONFIG_USB_XHCI #define CONFIG_USB_XHCI_EXYNOS +/* DRAM Memory Banks */ +#define CONFIG_NR_DRAM_BANKS 7 +#define SDRAM_BANK_SIZE (512UL << 20UL) /* 512 MB */ + #endif /* __CONFIG_PEACH_PI_H */ |