rockchip: optimize the link mechanism for SRAM code
Add the common extra.ld.S and customized rk3399.ld.S to extend
to more features for different platforms.
For example, we can add SRAM section and specific address to
load there if we need it, and the common bl31.ld.S not need to
be modified.

Therefore, we can remove the unused codes which copying explicitly
from the function pmusram_prepare(). It looks like more clear.

Change-Id: Ibffa2da5e8e3d1d2fca80085ebb296ceb967fce8
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
1 parent a5a4231 commit ec6935692a1ecd69473ca0f1990d8ed280dfca61
@Caesar Wang Caesar Wang authored on 10 Oct 2016
Showing 9 changed files
View
bl31/bl31.ld.S
View
plat/rockchip/common/aarch64/platform_common.c
View
plat/rockchip/common/bl31_plat_setup.c
View
plat/rockchip/common/include/plat_private.h
View
plat/rockchip/common/pmusram/pmu_sram.c
View
plat/rockchip/common/pmusram/pmu_sram.h
View
plat/rockchip/rk3399/drivers/pmu/pmu.c
View
plat/rockchip/rk3399/include/plat.ld.S 0 → 100644
View
plat/rockchip/rk3399/platform.mk