eee419194ba751cb3ba3eafd7f5da5e647eba91a
[openwrt/openwrt.git] / target / linux / ath79 / image / nand.mk
1 define Device/glinet_gl-ar300m-nand
2 ATH_SOC := qca9531
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
10 IMAGE/sysupgrade.bin := sysupgrade-tar
11 IMAGE/factory.ubi := append-kernel | pad-to $$$$(KERNEL_SIZE) | append-ubi
12 endef
13 TARGET_DEVICES += glinet_gl-ar300m-nand