Delete the KERNEL_LOADADDR assignment from the airoha_an7583-evb device definition.
The kernel load address is now centrally managed in image Makefile with, just using default load address:
loadaddr-$(CONFIG_TARGET_airoha_an7583) := 0x80200000
This ensures the load address configuration is maintained in a single location.
Removing the duplicate assignment prevents confusion and potential misconfiguration.
Signed-off-by: YaleiZang <yalei.zang@airoha.com>
Link: https://github.com/openwrt/openwrt/pull/24000
Signed-off-by: Robert Marko <robimarko@gmail.com>
25 lines
857 B
Makefile
25 lines
857 B
Makefile
define Device/FitImageLzma
|
|
KERNEL_SUFFIX := -uImage.itb
|
|
KERNEL = kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(DEVICE_DTS).dtb
|
|
KERNEL_NAME := Image
|
|
endef
|
|
|
|
define Device/airoha_an7583-evb
|
|
$(call Device/FitImageLzma)
|
|
DEVICE_VENDOR := Airoha
|
|
DEVICE_MODEL := AN7583 Evaluation Board (SNAND)
|
|
DEVICE_PACKAGES := kmod-phy-aeonsemi-as21xxx kmod-leds-pwm kmod-pwm-airoha kmod-input-gpio-keys-polled
|
|
DEVICE_DTS := an7583-evb
|
|
DEVICE_DTS_CONFIG := config@1
|
|
IMAGE/sysupgrade.bin := append-kernel | pad-to 128k | append-rootfs | pad-rootfs | append-metadata
|
|
endef
|
|
TARGET_DEVICES += airoha_an7583-evb
|
|
|
|
define Device/airoha_an7583-evb-emmc
|
|
DEVICE_VENDOR := Airoha
|
|
DEVICE_MODEL := AN7583 Evaluation Board (EMMC)
|
|
DEVICE_DTS := an7583-evb-emmc
|
|
DEVICE_PACKAGES := kmod-phy-airoha-en8811h kmod-i2c-an7581
|
|
endef
|
|
TARGET_DEVICES += airoha_an7583-evb-emmc
|