Home
last modified time | relevance | path

Searched hist:cd1280ea2e5c8be6f28485a2d5054d06e54e74c1 (Results 1 – 1 of 1) sorted by relevance

/rk3399_ARM-atf/plat/nxp/common/plat_make_helper/
H A Dplat_common_def.mkcd1280ea2e5c8be6f28485a2d5054d06e54e74c1 Tue Apr 27 06:47:52 UTC 2021 Jiafei Pan <Jiafei.Pan@nxp.com> feat(plat/nxp/common): add build macro for BOOT_MODE validation checking

1. Added the build macro "add_boot_mode_define".
2. Use the macro to validate current BOOT_MODE against the
pre-determined list of SUPPORTED_BOOT_MODE, so each platform
need to define the list: SUPPORTED_BOOT_MODE.
3. Reports error if BOOT_MODE is not in SUPPORTED_BOOT_MODE list,
or BOOT_MODE is not supported yet althoug it is in SUPPORTED_BOOT_MODE.

Signed-off-by: Biwen Li <biwen.li@nxp.com>
Signed-off-by: Jiafei Pan <Jiafei.Pan@nxp.com>
Change-Id: I29be60ecdb19fbec1cd162e327cdfb30ba629b07