summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2021-02-16 08:19:52 -0600
committerStefano Babic <sbabic@denx.de>2021-03-01 10:21:36 +0100
commit5d9b16640187f9caa9a4c5f7ca5e733eef9c4bf4 (patch)
tree1574c32286d9c0020a98c91be42a5782f6ec57ac /include
parente8e2703a3050feb8d2e6473d806c5277d5e3236f (diff)
downloadu-boot-5d9b16640187f9caa9a4c5f7ca5e733eef9c4bf4.tar.gz
u-boot-5d9b16640187f9caa9a4c5f7ca5e733eef9c4bf4.tar.xz
u-boot-5d9b16640187f9caa9a4c5f7ca5e733eef9c4bf4.zip
imx: Add 2GB lpddr support for i.MX8MN Beacon EmbeddedWorks devkit.
There is a second lpddr configuration with 2GB of RAM, but this requires different RAM timings, so in addition to adding the timing file, a separate defconfig is necessary. Signed-off-by: Adam Ford <aford173@gmail.com>
Diffstat (limited to 'include')
-rw-r--r--include/configs/imx8mn_beacon.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/imx8mn_beacon.h b/include/configs/imx8mn_beacon.h
index 7a247cc560..9ce60fd51b 100644
--- a/include/configs/imx8mn_beacon.h
+++ b/include/configs/imx8mn_beacon.h
@@ -126,7 +126,11 @@
#define CONFIG_SYS_SDRAM_BASE 0x40000000
#define PHYS_SDRAM 0x40000000
+#if CONFIG_IS_ENABLED(IMX8MN_BEACON_2GB_LPDDR)
+#define PHYS_SDRAM_SIZE 0x80000000 /* 2GB DDR */
+#else
#define PHYS_SDRAM_SIZE 0x40000000 /* 1GB DDR */
+#endif
#define CONFIG_MXC_UART_BASE UART2_BASE_ADDR