]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
MPC8349ITX: several config issues fixed
authorValeriy Glushkov <gvv@lstec.com>
Wed, 4 Feb 2009 16:27:49 +0000 (18:27 +0200)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 6 Mar 2009 00:13:45 +0000 (18:13 -0600)
The previous version rebooted forever with DDR bigger than 256MB.
Access the DS1339 RTC chip is on I2C1 bus.
Allow DHCP.

Signed-off-by: Valeriy Glushkov <gvv@lstec.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
include/configs/MPC8349ITX.h

index 5e1ddaedd63126105e89ef4623e8a1e3cbf494fb..38a7386d09eaf490e4692c0bb46185a0959556aa 100644 (file)
@@ -99,6 +99,7 @@
 #define CONFIG_SYS_I2C_OFFSET          0x3000
 #define CONFIG_SYS_I2C2_OFFSET         0x3100
 #define CONFIG_SYS_SPD_BUS_NUM         1       /* The I2C bus for SPD */
+#define CONFIG_SYS_RTC_BUS_NUM         1       /* The I2C bus for RTC */
 
 #define CONFIG_SYS_I2C_8574_ADDR1      0x20    /* I2C1, PCF8574 */
 #define CONFIG_SYS_I2C_8574_ADDR2      0x21    /* I2C1, PCF8574 */
 #define CONFIG_SYS_DDR_SDRAM_CLK_CNTL  (DDR_SDRAM_CLK_CNTL_SS_EN | \
                                DDR_SDRAM_CLK_CNTL_CLK_ADJUST_075)
 
+#define CONFIG_VERY_BIG_RAM
+#define CONFIG_MAX_MEM_MAPPED   ((phys_size_t)256 << 20)
+
 #ifdef CONFIG_HARD_I2C
 #define CONFIG_SPD_EEPROM              /* use SPD EEPROM for DDR setup*/
 #endif
@@ -457,6 +461,7 @@ boards, we say we have two, but don't display a message if we find only one. */
 #define CONFIG_CMD_IRQ
 #define CONFIG_CMD_NET
 #define CONFIG_CMD_PING
+#define CONFIG_CMD_DHCP
 #define CONFIG_CMD_SDRAM
 
 #if defined(CONFIG_COMPACT_FLASH) || defined(CONFIG_SATA_SIL3114)