1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-25 03:46:19 +00:00
Lakka-LibreELEC/projects/Rockchip/bootloader/firmware
Alex Bee d07974f0cc Rockchip: bootloader: allow ROCKCHIP_LEGACY_BOOT to be passed from command line
Also document that option in README.md and drop the non-required U_BOOT_CONFIG form bootloader/install script
2023-02-11 11:48:39 +01:00

15 lines
471 B
Plaintext

[ -z "${ROCKCHIP_LEGACY_BOOT}" ] && export ROCKCHIP_LEGACY_BOOT=$("${ROOT}/${SCRIPTS}/uboot_helper" "${PROJECT}" "${DEVICE}" "${UBOOT_SYSTEM}" rockchip_legacy_boot)
if [ "${ROCKCHIP_LEGACY_BOOT}" = "1" ]; then
export UBOOT_TARGET="u-boot-dtb.bin"
else
export UBOOT_TARGET=""
fi
if [ -n "${ATF_PLATFORM}" ]; then
if [ -f "$(get_install_dir atf)/usr/share/bootloader/bl31.elf" ]; then
export BL31="$(get_install_dir atf)/usr/share/bootloader/bl31.elf"
fi
fi