summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCerrone Diamant2026-04-20 14:07:14 +0000
committerHauke Mehrtens2026-04-29 23:44:20 +0000
commitc2cf3abde94dfafa22e527aa924e2b4ae54768eb (patch)
tree15838e4aacda5b4531ad6d15b2a31db25c9d7493
parentd2722eadf2dd2ed385020eba141a7499bc35815d (diff)
downloadopenwrt-c2cf3abde94dfafa22e527aa924e2b4ae54768eb.tar.gz
uboot-at91: fix wrong BUILD_DEVICES for sama5d4_xplained_nandflash
The sama5d4_xplained_nandflash target incorrectly references microchip_sama5d3-xplained as its BUILD_DEVICES value. This appears to be a copy-paste error, as all other SAMA5D4 Xplained targets (e.g. mmc and spiflash) correctly use microchip_sama5d4-xplained. The target name itself also clearly refers to the SAMA5D4 platform. In addition, the SAMA5D3 Xplained and SAMA5D4 Xplained boards use different NAND flash hardware and configurations, so pointing the nandflash target to a SAMA5D3 device is incorrect and may lead to invalid builds or runtime issues. Fix the inconsistency by updating BUILD_DEVICES to microchip_sama5d4-xplained, aligning the nandflash target with the rest of the SAMA5D4 definitions and ensuring the correct device mapping. Signed-off-by: Cerrone Diamant <cerrone@tutamail.com> Link: https://github.com/openwrt/openwrt/pull/23022 Signed-off-by: Robert Marko <robimarko@gmail.com> (cherry picked from commit 39f528e440a5c6e58faf2166579a157e8c9bcc86)
-rw-r--r--package/boot/uboot-at91/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/boot/uboot-at91/Makefile b/package/boot/uboot-at91/Makefile
index 67c9d8f365..7f05993c77 100644
--- a/package/boot/uboot-at91/Makefile
+++ b/package/boot/uboot-at91/Makefile
@@ -104,7 +104,7 @@ endef
define U-Boot/sama5d4_xplained_nandflash
NAME:=SAMA5D4 Xplained board (NandFlash)
BUILD_SUBTARGET:=sama5
- BUILD_DEVICES:=microchip_sama5d3-xplained
+ BUILD_DEVICES:=microchip_sama5d4-xplained
endef
define U-Boot/sama5d27_som1_ek_mmc