]> git.dujemihanovic.xyz Git - u-boot.git/commit
riscv: spl: andes: Move the DTB in front of kernel
authorRandolph <randolph@andestech.com>
Thu, 12 Oct 2023 06:35:09 +0000 (14:35 +0800)
committerLeo Yu-Chi Liang <ycliang@andestech.com>
Thu, 19 Oct 2023 09:29:33 +0000 (17:29 +0800)
commit03a4504659bf8b0a1945a79696ae9a2b7ca4938a
treeee86dda6d9560476fed42001ba0d917bfe1d7456
parentfe192679ef269585606b7c95fa587579b908ef0d
riscv: spl: andes: Move the DTB in front of kernel

Originally, u-boot SPL will place the DTB directly after the kernel,
but the size of the kernel does not include the BSS section, This
means that u-boot SPL places the DTB in the kernel BSS section causing
the DTB to be cleared by the kernel BSS initialisation.

Moving the DTB in front of the kernel can avoid this error.

Signed-off-by: Randolph <randolph@andestech.com>
Reviewed-by: Leo Yu-Chi Liang <ycliang@andestech.com>
board/AndesTech/ae350/ae350.c