summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com>2021-06-08 14:19:08 +0000
committerPriyanka Jain <priyanka.jain@nxp.com>2021-06-17 11:46:11 +0530
commita09806498c2dcaf02a8f2fd41ab3bb595fc13ca4 (patch)
treecbf9ba607cf894f40c28d88ac117b594ef014b0c
parent3aea3ddf21a29145176189b55eca7a833b8f7a4d (diff)
downloadu-boot-a09806498c2dcaf02a8f2fd41ab3bb595fc13ca4.tar.gz
km: ls102xa: add missing define for PRAM regions
In our designs we reserve PRAM area at the end of the RAM, and in order this area to be visible and taken into account by the u-boot memory mgmt CONFIG_PRAM has to be defined. Signed-off-by: Aleksandar Gerasimovski <aleksandar.gerasimovski@hitachi-powergrids.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
-rw-r--r--include/configs/km/pg-wcom-ls102xa.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/configs/km/pg-wcom-ls102xa.h b/include/configs/km/pg-wcom-ls102xa.h
index 35bfa450b1..1e06a5b712 100644
--- a/include/configs/km/pg-wcom-ls102xa.h
+++ b/include/configs/km/pg-wcom-ls102xa.h
@@ -21,6 +21,10 @@
#define CONFIG_SYS_INIT_RAM_ADDR OCRAM_BASE_ADDR
#define CONFIG_SYS_INIT_RAM_SIZE OCRAM_SIZE
+#define CONFIG_PRAM ((CONFIG_KM_PNVRAM + \
+ CONFIG_KM_PHRAM + \
+ CONFIG_KM_RESERVED_PRAM) >> 10)
+
#define CONFIG_SYS_CLK_FREQ 66666666
/*
* Take into account default implementation where DDR_FDBK_MULTI is consider as