mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-16 23:07:00 +00:00
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>
This commit is contained in:
parent
3aea3ddf21
commit
a09806498c
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue