layerscape: define IMAGE_SIZE and LS_SYSUPGRADE_IMAGE_SIZE
[openwrt/staging/mkresin.git] / target / linux / layerscape / image / Makefile
index f5a5ad99804f62c6de736aeab556051cc619a5d5..8a38a2504121d39712a4e67a6e492a693a652834 100644 (file)
@@ -11,6 +11,9 @@ LS_SD_ROOTFSPART_OFFSET = 64
 LS_SD_IMAGE_SIZE = $(shell echo $$((($(LS_SD_ROOTFSPART_OFFSET) + \
        $(CONFIG_TARGET_ROOTFS_PARTSIZE)) * 1024 * 1024)))
 
+# The limitation of flash sysupgrade.bin is 16MB kernel + 32MB rootfs
+LS_SYSUPGRADE_IMAGE_SIZE = 48m
+
 define Build/ls-clean
        rm -f $@
 endef