Commit f95d5512 authored by Toshiyuki Ogasahara's avatar Toshiyuki Ogasahara Committed by Marek Vasut
Browse files

feat(plat/rcar3): add a DRAM size setting for M3N



This commit adds a DRAM size setting when building with
RCAR_DRAM_LPDDR4_MEMCONF=2 for M3N Ver.1.1 4GB DRAM.
Signed-off-by: default avatarToshiyuki Ogasahara <toshiyuki.ogasahara.bo@hitachi.com>
Signed-off-by: default avatarYoshifumi Hosoya <yoshifumi.hosoya.wj@renesas.com>
Change-Id: Ib7fea862ab2e0bcafaf39ec030384f0fddda9b96
parent c5f5bb17
...@@ -718,8 +718,13 @@ static void bl2_advertise_dram_size(uint32_t product) ...@@ -718,8 +718,13 @@ static void bl2_advertise_dram_size(uint32_t product)
break; break;
case PRR_PRODUCT_M3N: case PRR_PRODUCT_M3N:
#if (RCAR_DRAM_LPDDR4_MEMCONF == 2)
/* 4GB(4GBx1) */
dram_config[1] = 0x100000000ULL;
#elif (RCAR_DRAM_LPDDR4_MEMCONF == 1)
/* 2GB(1GBx2) */ /* 2GB(1GBx2) */
dram_config[1] = 0x80000000ULL; dram_config[1] = 0x80000000ULL;
#endif
break; break;
case PRR_PRODUCT_V3M: case PRR_PRODUCT_V3M:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment