From 905a933f46730c51b84ab4df5241d3ab492d4e69 Mon Sep 17 00:00:00 2001 From: Caesar Wang Date: Thu, 28 Apr 2016 14:37:48 +0800 Subject: rockchip/rk3399: protect the DRAM address for atf We need ensure the bl31 base is greater than 4KB since there's the shared mem for coreboot. BRANCH=none BUG=chrome-os-partner:51537 TEST=boot to kernel with atf patch Change-Id: I44cf436b3072f03b93da4a19227dcc540d7513db Signed-off-by: Patrick Georgi Original-Commit-Id: a462f604c284c84bd8c5a0420e75eeae5035b382 Original-Change-Id: I55ec134762bb6bcbc91937ad5763617d7488490b Original-Signed-off-by: Caesar Wang Original-Reviewed-on: https://chromium-review.googlesource.com/342334 Original-Commit-Ready: Vadim Bendebury Original-Tested-by: Shunqian Zheng Original-Reviewed-by: Vadim Bendebury Reviewed-on: https://review.coreboot.org/14741 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/soc/rockchip/rk3399/soc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/soc/rockchip/rk3399/soc.c b/src/soc/rockchip/rk3399/soc.c index 453dc0f595..5b6ddb2b68 100644 --- a/src/soc/rockchip/rk3399/soc.c +++ b/src/soc/rockchip/rk3399/soc.c @@ -33,7 +33,7 @@ static void soc_init(device_t dev) /* reserve bl31 image, which define in * arm-trusted-firmware/plat/rockchip/rk3399/include/platform_def.h */ - mmio_resource(dev, 1, (0x500000 / KiB), (0x80000 / KiB)); + mmio_resource(dev, 1, (0x10000 / KiB), (0x80000 / KiB)); } static struct device_operations soc_ops = { -- cgit v1.2.3