rockchip: make miniloader ddr_parameter handling optional
Transfering the regions of ddr memory to additionally protect is very much
specific to some rockchip internal first stage bootloader and doesn't get
used in either mainline uboot or even Rockchip's published vendor uboot
sources.

This results in a big error
    ERROR:   over or zero region, nr=0, max=10
getting emitted on every boot for most users and such a message coming
from early firmware might actually confuse developers working with the
system.

As this mechanism seems to be only be used by Rockchip's internal miniloader
hide it behind a build conditional, so it doesn't confuse people too much.

Signed-off-by: Heiko Stuebner <heiko.stuebner@theobroma-systems.com>
Change-Id: I52c02decc60fd431ea78c7486cad5bac82bdbfbe
1 parent f55ef85 commit df5a96831764c62deaf30b537987ab349abda2f6
@Heiko Stuebner Heiko Stuebner authored on 12 Dec 2019
Showing 4 changed files
View
plat/rockchip/px30/drivers/secure/secure.c
View
plat/rockchip/px30/platform.mk
View
plat/rockchip/rk3328/drivers/soc/soc.c
View
plat/rockchip/rk3328/platform.mk