aboutsummaryrefslogtreecommitdiff
path: root/plat/rockchip/rk3368/include/platform_def.h
diff options
context:
space:
mode:
authorCaesar Wang <wxt@rock-chips.com>2016-04-19 20:42:17 +0800
committerCaesar Wang <wxt@rock-chips.com>2016-04-25 16:53:22 +0800
commit0c05748bdebfad9fa43a80962186438bb8fbce62 (patch)
tree67bb9b080597408d207e28dba20f6dbe43aa757a /plat/rockchip/rk3368/include/platform_def.h
parent7607204c0d9aa2d996bd02794ce6f5bbb2b96152 (diff)
downloadtrusted-firmware-a-0c05748bdebfad9fa43a80962186438bb8fbce62.tar.gz
rockchip: fixes for the required
This patch has the following change for rk3399. * Set the uart to 115200 since the loader decide to set uart baud to 115200Hz. So the ATF also should set uart baud to 115200. * We need ensure the bl31 base is greater than 4KB since there are have the shared mem for coreboot.(Note: the previous vesion was tested with uboot) Otherwise, we will happen the exception crash since the ddr area won't to work from the shared ram address in some cases. For example, the exception crash: CBFS: Found @ offset 19c80 size 24074 exception _sync_sp_el0 ELR = 0x0000000000008000 ESR = 0x0000000002000000 SPSR = 0x600003cc FAR = 0xffffffff00000000 SP = 0x00000000ff8ed230 ... X29 = 0x00000000ff8c1fc0 X30 = 0x000000000030e3b0 exception death Change-Id: I8bc557c6bcaf6804d2a313b38667d3e2517881d7 Signed-off-by: Caesar Wang <wxt@rock-chips.com>
Diffstat (limited to 'plat/rockchip/rk3368/include/platform_def.h')
-rw-r--r--plat/rockchip/rk3368/include/platform_def.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/plat/rockchip/rk3368/include/platform_def.h b/plat/rockchip/rk3368/include/platform_def.h
index 876cbfb48..299704d56 100644
--- a/plat/rockchip/rk3368/include/platform_def.h
+++ b/plat/rockchip/rk3368/include/platform_def.h
@@ -101,7 +101,7 @@
/*
* Put BL3-1 at the top of the Trusted RAM
*/
-#define BL31_BASE (TZRAM_BASE + 0x8000)
+#define BL31_BASE (TZRAM_BASE + 0x10000)
#define BL31_LIMIT (TZRAM_BASE + TZRAM_SIZE)
/*******************************************************************************