aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/kirkwood/image
diff options
context:
space:
mode:
authorJonas Gorski <jogo@openwrt.org>2013-06-05 20:58:53 +0000
committerJonas Gorski <jogo@openwrt.org>2013-06-05 20:58:53 +0000
commite7b504ce8e13d58a80472aa699c099bccb883cd3 (patch)
treefd577cd830c0422d138dda3138c16b30f6c7de65 /target/linux/kirkwood/image
parent9f7ef8d5f0199f12abfd4b1c50d0bfe8484471d7 (diff)
downloadupstream-e7b504ce8e13d58a80472aa699c099bccb883cd3.tar.gz
upstream-e7b504ce8e13d58a80472aa699c099bccb883cd3.tar.bz2
upstream-e7b504ce8e13d58a80472aa699c099bccb883cd3.zip
kirkwood: convert to use the new jffs2_nand
Signed-off-by: Jonas Gorski <jogo@openwrt.org> SVN-Revision: 36861
Diffstat (limited to 'target/linux/kirkwood/image')
-rw-r--r--target/linux/kirkwood/image/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/kirkwood/image/Makefile b/target/linux/kirkwood/image/Makefile
index c93be67512..99bf864260 100644
--- a/target/linux/kirkwood/image/Makefile
+++ b/target/linux/kirkwood/image/Makefile
@@ -7,7 +7,7 @@
include $(TOPDIR)/rules.mk
include $(INCLUDE_DIR)/image.mk
-JFFS2OPTS += --little-endian --pagesize=0x800 --no-cleanmarkers --pad
+NAND_BLOCKSIZE := 2048:128k
define Image/Prepare
cp $(LINUX_DIR)/arch/arm/boot/uImage $(KDIR)/uImage
@@ -25,7 +25,7 @@ define Image/Build
)
endef
-define Image/Build/jffs2-128k
+define Image/Build/jffs2-nand-2048-128k
dd if=$(KDIR)/root.$(1) of=$(BIN_DIR)/$(IMG_PREFIX)-$(PROFILE)-$(1).img \
bs=2048 conv=sync
endef