X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfigs%2FR360MPI.h;h=82228c0126b5027a8b6ae7b3249b50827225f274;hb=dcaa71562826a2466e894c868d132509dcda8444;hp=8aba25e06ebc628db00e59d8fc3783a25549ca64;hpb=d791b1dc3e64a6a6317293245d884589bc5c6277;p=u-boot diff --git a/include/configs/R360MPI.h b/include/configs/R360MPI.h index 8aba25e06e..82228c0126 100644 --- a/include/configs/R360MPI.h +++ b/include/configs/R360MPI.h @@ -1,5 +1,5 @@ /* - * (C) Copyright 2000-2002 + * (C) Copyright 2000-2005 * Wolfgang Denk, DENX Software Engineering, wd@denx.de. * * See file CREDITS for list of people who contributed to this @@ -51,7 +51,7 @@ #undef CONFIG_8xx_CONS_NONE #define CONFIG_BAUDRATE 115200 /* console baudrate in bps */ #if 0 -#define CONFIG_BOOTDELAY -1 /* autoboot disabled */ +#define CONFIG_BOOTDELAY 0 /* immediate boot */ #else #define CONFIG_BOOTDELAY 5 /* autoboot after 5 seconds */ #endif @@ -63,8 +63,8 @@ #undef CONFIG_BOOTARGS #define CONFIG_BOOTCOMMAND \ "bootp; " \ - "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath) " \ - "ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off; " \ + "setenv bootargs root=/dev/nfs rw nfsroot=${serverip}:${rootpath} " \ + "ip=${ipaddr}:${serverip}:${gatewayip}:${netmask}:${hostname}::off; " \ "bootm" #undef CONFIG_SCC1_ENET @@ -77,14 +77,6 @@ #undef CONFIG_WATCHDOG /* watchdog disabled */ -#if 0 -#ifdef CONFIG_LCD -# undef CONFIG_STATUS_LED /* disturbs display */ -#else -# define CONFIG_STATUS_LED 1 /* Status LED enabled */ -#endif /* CONFIG_LCD */ -#endif - #define CONFIG_CAN_DRIVER /* CAN Driver support enabled */ #define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAULT | CONFIG_BOOTP_BOOTFILESIZE) @@ -121,12 +113,15 @@ #define CONFIG_COMMANDS ( CONFIG_CMD_DFL | \ CFG_CMD_BMP | \ - CFG_CMD_DHCP | \ + CFG_CMD_BSP | \ CFG_CMD_DATE | \ + CFG_CMD_DHCP | \ CFG_CMD_I2C | \ CFG_CMD_IDE | \ + CFG_CMD_JFFS2 | \ + CFG_CMD_NFS | \ CFG_CMD_PCMCIA | \ - CFG_CMD_BSP ) + CFG_CMD_SNTP ) /* this must be included AFTER the definition of CONFIG_COMMANDS (if any) */ #include @@ -134,6 +129,9 @@ /* * Miscellaneous configurable options */ +#define CFG_DEVICE_NULLDEV 1 /* we need the null device */ +#define CFG_CONSOLE_IS_IN_ENV 1 /* must set console from env */ + #define CFG_LONGHELP /* undef to save memory */ #define CFG_PROMPT "=> " /* Monitor Command Prompt */ #if (CONFIG_COMMANDS & CFG_CMD_KGDB) @@ -154,6 +152,23 @@ #define CFG_BAUDRATE_TABLE { 9600, 19200, 38400, 57600, 115200 } +/* + * JFFS2 partitions + */ +/* No command line, one static partition + * use all the space starting at offset 3MB*/ +#undef CONFIG_JFFS2_CMDLINE +#define CONFIG_JFFS2_DEV "nor0" +#define CONFIG_JFFS2_PART_SIZE 0xFFFFFFFF +#define CONFIG_JFFS2_PART_OFFSET 0x00300000 + +/* mtdparts command line support */ +/* +#define CONFIG_JFFS2_CMDLINE +#define MTDIDS_DEFAULT "nor0=r360-0" +#define MTDPARTS_DEFAULT "mtdparts=r360-0:-@3m(user)" +*/ + /* * Low Level Configuration Settings * (address mappings, register initial values, etc.) @@ -332,8 +347,7 @@ *----------------------------------------------------------------------- * */ -#define CFG_DER 0x2002000F -/*#define CFG_DER 0*/ +#define CFG_DER 0 /* * Init Memory Controller: