u-boot/arch/arm/mach-rockchip
Alper Nebi Yasak b42297ba81 rockchip: Set default LNX_KRNL_IMG_TEXT_OFFSET_BASE to SYS_TEXT_BASE
U-Boot can be chainloaded from vendor firmware on ARM64 chromebooks from
a GPT partition (roughly the same as in doc/chromium/chainload.rst), but
an appropriate image header must be built-in to the U-Boot binary by
enabling LINUX_KERNEL_IMAGE_HEADER.

This header has a field for an image load offset from 2MiB alignment
which must also be customized through LNX_KRNL_IMG_TEXT_OFFSET_BASE.
Set it equal to SYS_TEXT_BASE by default for Rockchip boards, which
happens to make this offset zero and works fine on chromebook_kevin
both for chainloading and bare-metal use.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
2022-03-18 18:12:03 +08:00
..
px30 engicam: px30: Add Engicam PX30.Core C.TOUCH 2.0 10.1" OF 2021-12-24 14:56:58 +08:00
rk322x serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3036 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3128 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk3188 treewide: fdt: Move fdt_get_config_... to ofnode_conf_read... 2021-09-25 09:46:15 -06:00
rk3288 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3308 serial: Rename SERIAL_SUPPORT to SERIAL 2021-09-04 12:26:01 -04:00
rk3328 common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
rk3368 WS cleanup: remove SPACE(s) followed by TAB 2021-09-30 09:08:16 -04:00
rk3399 rockchip: rk3399: Add support for chromebook_kevin 2022-03-18 18:12:03 +08:00
rk3568 rockchip: rk3568: add arch_cpu_init() 2021-12-24 11:10:24 +08:00
rv1108 dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
board.c ARM: fix LTO for rockchip and samsung 2021-05-24 14:21:30 -04:00
boot_mode.c rockchip: boot_mode: fix fastboot command 2021-12-24 15:17:51 +08:00
bootrom.c common: Drop net.h from common header 2020-05-18 17:33:31 -04:00
cpu-info.c rockchip: Separate the reset cause from display cpuinfo 2020-07-22 20:55:13 +08:00
Kconfig rockchip: Set default LNX_KRNL_IMG_TEXT_OFFSET_BASE to SYS_TEXT_BASE 2022-03-18 18:12:03 +08:00
make_fit_atf.py rockchip: make_fit_atf: ignore empty PT_LOAD segment 2020-09-16 16:41:30 +08:00
Makefile rockchip: Add rk3568 architecture core 2021-06-18 14:36:24 +08:00
misc.c dm: Rename DM_GET_DRIVER() to DM_DRIVER_GET() 2021-01-05 12:26:35 -07:00
px30-board-tpl.c Remove #include <version.h> from files which do not need it 2021-09-17 12:10:44 -04:00
rk3036-board-spl.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
sdram.c lib: optee: remove the duplicate CONFIG_OPTEE 2021-10-05 08:44:48 -04:00
spl-boot-order.c common: Drop asm/global_data.h from common header 2021-02-02 15:33:42 -05:00
spl.c rockchip: rk3399: Add support for chromebook_kevin 2022-03-18 18:12:03 +08:00
tpl.c Remove including timestamp.h in version.h 2021-09-17 12:10:44 -04:00
u-boot-tpl-v8.lds rockchip: add u-boot-tpl-v8.lds 2019-05-08 17:34:12 +08:00
u-boot-tpl.lds rockchip: rk322x: add tpl support 2019-05-08 17:34:12 +08:00