]> git.baikalelectronics.ru Git - uboot.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)
commitae57095d320a4fe0f204e85f7d8360b4c006cfd0
treefbb71d8b46bd4fdf64498f4105baa8d40ee31c73
parent790bb9f0703ed2c6f1486af74b743cb8e6458c9e
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