> The boot0 hook on ARM does not insert its payload before the vector > table. This is both a mismatch with thec comment above it and > contradict usage of the boot0 hook on ARM64. > > To fix this (and unify the semantics for ARM and ARM64), we change the > boot0-hook semantics on ARM to match those on ARM64: > (1) if a boot0-hook is present it is inserted at the start of > the image > (2) if a boot0-hook is present, emitting the ARM vector table > (and the _start) symbol are suppressed in vectors.S and > the boot0-hook has full control over where and when it > wants to emit these > > Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com> > --- > > Changes in v5: None > Changes in v4: None > Changes in v3: None > Changes in v2: None > > arch/arm/include/asm/arch-rockchip/boot0.h | 1 - > arch/arm/lib/vectors.S | 54 > +++++++++++++++++++----------- > 2 files changed, 35 insertions(+), 20 deletions(-) >
Applied to u-boot-rockchip/next, thanks! _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de https://lists.denx.de/listinfo/u-boot