X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=include%2Fconfigs%2Fedminiv2.h;h=a75f06aa5950d7c940a933b92d4c3511476332cd;hb=2a9a2339a4ea04636ed0968e76eeaf784e987f52;hp=57dd1651f36e71c40ce5c679c89e9e3fe5cf96a7;hpb=fe8d63c8c75acc87d398b2e181b9135d2ecfc05a;p=u-boot diff --git a/include/configs/edminiv2.h b/include/configs/edminiv2.h index 57dd1651f3..a75f06aa59 100644 --- a/include/configs/edminiv2.h +++ b/include/configs/edminiv2.h @@ -132,6 +132,7 @@ */ #include #define CONFIG_CMD_IDE +#define CONFIG_CMD_I2C /* * Network @@ -181,6 +182,16 @@ /* end of IDE defines */ #endif /* CMD_IDE */ +/* + * I2C related stuff + */ +#ifdef CONFIG_CMD_I2C +#define CONFIG_I2C_MVTWSI +#define CONFIG_I2C_MVTWSI_BASE ORION5X_TWSI_BASE +#define CONFIG_SYS_I2C_SLAVE 0x0 +#define CONFIG_SYS_I2C_SPEED 100000 +#endif + /* * Environment variables configurations */ @@ -194,7 +205,6 @@ */ #define CONFIG_SYS_MALLOC_LEN (1024 * 128) /* 128kB for malloc() */ /* size in bytes reserved for initial data */ -#define CONFIG_SYS_GBL_DATA_SIZE 128 /* * Other required minimal configurations @@ -212,4 +222,9 @@ #define CONFIG_SYS_RESET_ADDRESS 0xffff0000 #define CONFIG_SYS_MAXARGS 16 +/* additions for new relocation code, must be added to all boards */ +#define CONFIG_SYS_SDRAM_BASE 0 +#define CONFIG_SYS_INIT_SP_ADDR \ + (CONFIG_SYS_SDRAM_BASE + 0x1000 - GENERATED_GBL_DATA_SIZE) + #endif /* _CONFIG_EDMINIV2_H */