[PATCH 2/8] at91: add support for sama5d2 icp board

Adrian Schmutzler mail at adrianschmutzler.de
Sun Aug 22 04:46:17 PDT 2021


Hi,

> diff --git a/target/linux/at91/image/sama5.mk
> b/target/linux/at91/image/sama5.mk
> index f8e05aae9343..ae3494332139 100644
> --- a/target/linux/at91/image/sama5.mk
> +++ b/target/linux/at91/image/sama5.mk
> @@ -54,6 +54,17 @@ define Build/at91-sdcard
>    rm -f $@.img $@.boot $@-uboot.env $@-uboot-env.txt)  endef
> 
> +define Device/microchip_sama5d2-icp
> +  $(Device/evaluation-dtb)
> +  DEVICE_VENDOR := Microchip
> +  DEVICE_MODEL := SAMA5D2 ICP
> +  DEVICE_DTS := at91-sama5d2_icp
> +  SUPPORTED_DEVICES := microchip,sama5d2-icp

SUPPORTED_DEVICES can be dropped here, the value matches the global default calculated from the device node name according to:

https://github.com/openwrt/openwrt/blob/master/include/image.mk#L407

This possibly also applies to the other devices submitted, I won't resend for them if that's the case.

Best

Adrian

> +  KERNEL_SIZE := 6144k
> +  $(Device/evaluation-sdimage)
> +endef
> +TARGET_DEVICES += microchip_sama5d2-icp
> +
>  define Device/microchip_sama5d2-xplained
>    $(Device/evaluation-dtb)
>    DEVICE_VENDOR := Microchip
> --
> 2.23.0
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openpgp-digital-signature.asc
Type: application/pgp-signature
Size: 834 bytes
Desc: not available
URL: <http://lists.openwrt.org/pipermail/openwrt-devel/attachments/20210822/6798a2aa/attachment.sig>


More information about the openwrt-devel mailing list