From 695f6dab7eba79a3b1fb34a501cacd671df4fbb8 Mon Sep 17 00:00:00 2001
From: Waldemar Brodkorb <wbx@openadk.org>
Date: Thu, 22 Apr 2010 20:24:06 +0200
Subject: make rb532 bootable from nand again

---
 target/Config.in                 |  3 +++
 target/linux/config/Config.in.fs | 24 ++++++++++++++++++++++++
 target/rb532/kernel.config       |  4 +---
 3 files changed, 28 insertions(+), 3 deletions(-)

diff --git a/target/Config.in b/target/Config.in
index 1bb0106bf..488c8230d 100644
--- a/target/Config.in
+++ b/target/Config.in
@@ -860,6 +860,9 @@ config ADK_TARGET_ROOTFS_SQUASHFS
 
 config ADK_TARGET_ROOTFS_YAFFS
 	bool "YAFFS2 rootfilesystem (NAND)"
+	select ADK_KERNEL_MISC_FILESYSTEMS
+	select ADK_KERNEL_YAFFS_FS
+	select ADK_KERNEL_YAFFS_YAFFS2
 	depends on \
 		ADK_LINUX_MIPS_RB532 || \
 		ADK_LINUX_MIPS_RB433 || \
diff --git a/target/linux/config/Config.in.fs b/target/linux/config/Config.in.fs
index 6e85b0b08..b981c530f 100644
--- a/target/linux/config/Config.in.fs
+++ b/target/linux/config/Config.in.fs
@@ -1,5 +1,29 @@
 menu "Filesystems support"
 
+config ADK_KERNEL_YAFFS_FS
+	tristate
+	default n
+
+config ADK_KERNEL_YAFFS_YAFFS1
+	boolean
+	default n
+
+config ADK_KERNEL_YAFFS_YAFFS2
+	boolean
+	default n
+
+config ADK_KERNEL_YAFFS_AUTO_YAFFS2
+	boolean
+	default n
+
+config ADK_KERNEL_YAFFS_CHECKPOINT_RESERVED_BLOCKS
+	int
+	default 0
+
+config ADK_KERNEL_YAFFS_SHORT_NAMES_IN_RAM
+	boolean
+	default n
+
 config ADK_KERNEL_MISC_FILESYSTEMS
 	boolean
 	default n
diff --git a/target/rb532/kernel.config b/target/rb532/kernel.config
index 9fe534ad4..904207e07 100644
--- a/target/rb532/kernel.config
+++ b/target/rb532/kernel.config
@@ -1,7 +1,7 @@
 #
 # Automatically generated make config: don't edit
 # Linux kernel version: 2.6.33
-# Mon Mar  1 19:47:56 2010
+# Thu Apr 22 20:08:10 2010
 #
 CONFIG_MIPS=y
 
@@ -332,8 +332,6 @@ CONFIG_UNIX=y
 CONFIG_INET=y
 # CONFIG_IP_MULTICAST is not set
 # CONFIG_IP_ADVANCED_ROUTER is not set
-# CONFIG_ASK_IP_FIB_HASH is not set
-# CONFIG_IP_FIB_TRIE is not set
 CONFIG_IP_FIB_HASH=y
 # CONFIG_IP_PNP is not set
 # CONFIG_NET_IPIP is not set
-- 
cgit v1.2.3