]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: board: Save the chosen DT name in the SPL header
authorSamuel Holland <samuel@sholland.org>
Sat, 24 Oct 2020 15:21:53 +0000 (10:21 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 17 Nov 2020 00:42:20 +0000 (00:42 +0000)
commit41530cf6819cc1f454fb87934a7f4523548bfc91
treefbb71d8b46bd4fdf64498f4105baa8d40ee31c73
parent8a8b73b6d714c740c1e2387c3474cc65cafd47aa
sunxi: board: Save the chosen DT name in the SPL header

This overwrites the name loaded from the SPL image. It will be different
if there was previously no name provided, or if a more accurate name was
determined by the board variant selection logic. This means that the DT
name in the SPL header now always matches the DT appended to U-Boot.

Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
[Andre: move function under CONFIG_SPL_LOAD_FIT guard]
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/board.c