diff options
author | wdenk <wdenk> | 2004-09-29 22:43:59 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2004-09-29 22:43:59 +0000 |
commit | a06752e36be7fc74b4a928026b63b1bf1764497e (patch) | |
tree | b71ddbcee4e4cc03e8ea98738b605a1c3879a703 /include | |
parent | da93ed8147a000505ac7b7ed4e2fb50532596a3c (diff) | |
download | u-boot-imx-a06752e36be7fc74b4a928026b63b1bf1764497e.zip u-boot-imx-a06752e36be7fc74b4a928026b63b1bf1764497e.tar.gz u-boot-imx-a06752e36be7fc74b4a928026b63b1bf1764497e.tar.bz2 |
* Patch by Sean Chang, 9 Aug 2004:
- Added I2C support for ML300.
- Added support for ML300 to read out its environment information
stored on the EEPROM.
- Added support to use board specific parameters as part of
U-Boot's environment information.
- Updated MLD files to support configuration for new features
above.
* Patches by Travis Sawyer, 5 Aug 2004:
- Remove incorrect bridge settings for eth group 6
- Add call to setup bridge in ppc_440x_eth_initialize
- Fix ppc_440x_eth_init to reset the phy only if its the
first time through, otherwise, just check the phy for the
autonegotiated speed/duplex. This allows the use of netconsole
- only print the speed/duplex the first time the phy is reset.
Diffstat (limited to 'include')
-rw-r--r-- | include/configs/ml300.h | 18 |
1 files changed, 15 insertions, 3 deletions
diff --git a/include/configs/ml300.h b/include/configs/ml300.h index d93925e..bcd5c17 100644 --- a/include/configs/ml300.h +++ b/include/configs/ml300.h @@ -38,7 +38,7 @@ * You should have received a copy of the GNU General Public License along * with this program; if not, write to the Free Software Foundation, Inc., * 675 Mass Ave, Cambridge, MA 02139, USA. - * + * */ #ifndef __CONFIG_H @@ -56,9 +56,21 @@ #define CONFIG_4xx 1 /* ...member of PPC4xx family */ #define CONFIG_XILINX_ML300 1 /* ...on a Xilinx ML300 board */ -#define CFG_ENV_IS_NOWHERE 1 /* environment is in RAM */ +#define CFG_ENV_IS_IN_EEPROM 1 /* environment is in EEPROM */ + +/* following are used only if env is in EEPROM */ +#ifdef CFG_ENV_IS_IN_EEPROM +#define CFG_I2C_EEPROM_ADDR XPAR_PERSISTENT_0_IIC_0_EEPROMADDR +#define CFG_I2C_EEPROM_ADDR_LEN 1 +#define CFG_ENV_OFFSET XPAR_PERSISTENT_0_IIC_0_BASEADDR +#define CONFIG_MISC_INIT_R 1 /* used to call out convert_env() */ +#define CONFIG_ENV_OVERWRITE 1 /* allow users to update ethaddr and serial# */ +#endif + +#include "../board/xilinx/ml300/xparameters.h" + #define CFG_NO_FLASH 1 /* no flash */ -#define CFG_ENV_SIZE 0x2000 +#define CFG_ENV_SIZE XPAR_PERSISTENT_0_IIC_0_HIGHADDR - XPAR_PERSISTENT_0_IIC_0_BASEADDR + 1 #define CONFIG_BAUDRATE 9600 #define CONFIG_BOOTDELAY 3 /* autoboot after 3 seconds */ |