]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
armv8: secure firmware: fix incorrect unit address in node name
authorAndre Przywara <andre.przywara@arm.com>
Mon, 4 Dec 2017 02:05:13 +0000 (02:05 +0000)
committerSimon Glass <sjg@chromium.org>
Tue, 16 Jan 2018 01:29:21 +0000 (18:29 -0700)
The DT spec demands a unit-address in a node name to match the "reg"
property in that node. Newer dtc versions will throw warnings if this is
not the case.
Remove the unit address from the config node name when U-Boot deals with
secure firmware FIT images.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/cpu/armv8/sec_firmware.c

index 927eae4f741d8d806926567a97f859eeb995330d..b56ea785c506bed17f7677a5aa625f9a63edd410 100644 (file)
@@ -30,7 +30,7 @@ phys_addr_t sec_firmware_addr;
 #define SEC_FIRMWARE_FIT_IMAGE         "firmware"
 #endif
 #ifndef SEC_FIRMEWARE_FIT_CNF_NAME
-#define SEC_FIRMEWARE_FIT_CNF_NAME     "config@1"
+#define SEC_FIRMEWARE_FIT_CNF_NAME     "config-1"
 #endif
 #ifndef SEC_FIRMWARE_TARGET_EL
 #define SEC_FIRMWARE_TARGET_EL         2