Hello, This patch just enables NAND support on TX4938(RBHMA4500). Please review it. Hiroshi DOYU ----- Index: linux/arch/mips/Kconfig =================================================================== --- linux.orig/arch/mips/Kconfig 2005-06-15 14:33:22.754953832 +0900 +++ linux/arch/mips/Kconfig 2005-06-15 14:56:23.659024504 +0900 @@ -657,6 +657,7 @@ source "arch/mips/sgi-ip27/Kconfig" source "arch/mips/sibyte/Kconfig" source "arch/mips/tx4927/Kconfig" +source "arch/mips/tx4938/Kconfig" source "arch/mips/vr41xx/Kconfig" endmenu Index: linux/arch/mips/tx4938/Kconfig =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ linux/arch/mips/tx4938/Kconfig 2005-06-15 15:29:03.284116208 +0900 @@ -0,0 +1,23 @@ +comment "Multiplex Pin Select" +choice + prompt "PIO[58:61]" + default TOSHIBA_RBTX4938_MPLEX_PIO58_61 + +config TOSHIBA_RBTX4938_MPLEX_PIO58_61 + bool "PIO" +config TOSHIBA_RBTX4938_MPLEX_NAND + bool "NAND" +config TOSHIBA_RBTX4938_MPLEX_ATA + bool "ATA" + +endchoice + +config TX4938_NAND_BOOT + depends on EXPERIMENTAL && TOSHIBA_RBTX4938_MPLEX_NAND + bool "NAND Boot Support (EXPERIMENTAL)" + help + This is only for Toshiba RBTX4938 reference board, which has NAND IPL. + Select this option if you need to use NAND boot. + + + Index: linux/arch/mips/tx4938/toshiba_rbtx4938/prom.c =================================================================== --- linux.orig/arch/mips/tx4938/toshiba_rbtx4938/prom.c 2005-06-15 14:33:22.759953072 +0900 +++ linux/arch/mips/tx4938/toshiba_rbtx4938/prom.c 2005-06-15 15:31:25.357517768 +0900 @@ -45,9 +45,9 @@ { extern int tx4938_get_mem_size(void); int msize; - +#ifndef CONFIG_TX4938_NAND_BOOT prom_init_cmdline(); - +#endif mips_machgroup = MACH_GROUP_TOSHIBA; mips_machtype = MACH_TOSHIBA_RBTX4938;