omap24xx: convert to use the new jffs2_nand
authorJonas Gorski <jogo@openwrt.org>
Wed, 5 Jun 2013 20:58:55 +0000 (20:58 +0000)
committerJonas Gorski <jogo@openwrt.org>
Wed, 5 Jun 2013 20:58:55 +0000 (20:58 +0000)
Signed-off-by: Jonas Gorski <jogo@openwrt.org>
SVN-Revision: 36862

target/linux/omap24xx/Makefile
target/linux/omap24xx/image/Makefile

index 7a7e4d8bf365ec15f66ffd9596767bfac7c85fb9..5998b4db7e06a52dda962951b82410eac5453666 100644 (file)
@@ -10,7 +10,7 @@ ARCH:=arm
 BOARD:=omap24xx
 BOARDNAME:=TI OMAP24xx
 MAINTAINER:=Michael Buesch <m@bues.ch>
-FEATURES:=targz squashfs jffs2 usb usbgadget display gpio audio broken
+FEATURES:=targz squashfs jffs2_nand usb usbgadget display gpio audio broken
 
 LINUX_VERSION:=3.3.8
 
index 682109a2496f79ae4f36986c6499d79d9826bcd1..24e9b767443754ee14f6b4defd4e6e577d46bb91 100644 (file)
@@ -7,9 +7,7 @@
 include $(TOPDIR)/rules.mk
 include $(INCLUDE_DIR)/image.mk
 
-JFFS2_BLOCKSIZE=128k
-JFFS2OPTS += --little-endian --pagesize=0x800 --no-cleanmarkers --pad
-
+NAND_BLOCKSIZE=2048:128k
 
 define Image/BuildKernel
        $(CP) $(LINUX_DIR)/arch/arm/boot/zImage $(BIN_DIR)/$(IMG_PREFIX)-zImage