ath79: add initial nand support for gl-ar300m
[openwrt/openwrt.git] / target / linux / ath79 / image / nand.mk
1 define Device/glinet_ar300m_nand
2 ATH_SOC := qca9533
3 DEVICE_TITLE := GL-AR300M (NAND)
4 DEVICE_PACKAGES := kmod-usb-core kmod-usb2 kmod-usb-storage kmod-usb-ledtrig-usbport
5 KERNEL_SIZE := 2048k
6 BLOCKSIZE := 128k
7 PAGESIZE := 2048
8 VID_HDR_OFFSET := 512
9 IMAGES := factory.ubi sysupgrade.tar
10 IMAGE/sysupgrade.tar := sysupgrade-tar
11 IMAGE/factory.ubi := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
12 endef
13 TARGET_DEVICES += glinet_ar300m_nand