[U-Boot] [U-Boot, 16/36] rockchip: sdram-common: add api to pass dram info to trust os

Philipp Tomsich philipp.tomsich at theobroma-systems.com
Sun Apr 1 20:21:49 UTC 2018


> Trust OS decode this info like this:
> https://github.com/ARM-software/arm-trusted-firmware/blob/master/plat/rockchip/common/drivers/parameter/ddr_parameter.c#L19
> We have to set a available value, or else we get error info from
> Trust OS like this:
> "ERROR:   over or zero region, nr=3145987, max=10"
> 
> Signed-off-by: Kever Yang <kever.yang at rock-chips.com>
> ---
> 
>  arch/arm/include/asm/arch-rockchip/sdram_common.h |  4 ++++
>  arch/arm/mach-rockchip/sdram_common.c             | 21 +++++++++++++++++++++
>  2 files changed, 25 insertions(+)
> 

Acked-by: Philipp Tomsich <philipp.tomsich at theobroma-systems.com>


More information about the U-Boot mailing list