]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: s5p4418: fix relocation of vectors
authorStefan Bosch <stefan_b@posteo.net>
Fri, 26 Jan 2024 12:50:56 +0000 (12:50 +0000)
committerTom Rini <trini@konsulko.com>
Fri, 1 Mar 2024 23:34:08 +0000 (18:34 -0500)
commit934dec0af0f74c0ff1f53885e6e97b114f66e77b
tree6d807b9c720f2f4c76e3fd0bf61d312002be6b72
parentd819250c2af656cad7e0bf0cbf9529f3b8a5e7d2
arm: s5p4418: fix relocation of vectors

The header (NSIH) used for the s5p4418-SoC is not loaded into RAM by the
2nd-bootloader, see boot0.h. Therefore, use an adapted version of
relocate_vectors which relocates the vectors after the header (at _start)
instead of the 'dummy'-vectors at the start of the header (at
__image_copy_start).

Signed-off-by: Stefan Bosch <stefan_b@posteo.net>
Reviewed-by: Minkyu Kang <mk7.kang@samsung.com>
arch/arm/cpu/armv7/s5p4418/Makefile
arch/arm/cpu/armv7/s5p4418/relocate.S [new file with mode: 0644]