[U-Boot] [PATCH v3] MPC8349ITX: several config issues fixed
Kim Phillips
kim.phillips at freescale.com
Tue Feb 17 02:28:32 CET 2009
On Wed, 4 Feb 2009 18:27:49 +0200
Valeriy Glushkov <gvv at lstec.com> wrote:
> 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 at lstec.com>
> ---
> include/configs/MPC8349ITX.h | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/MPC8349ITX.h b/include/configs/MPC8349ITX.h
> index 14cbc45..f1b5566 100644
> --- a/include/configs/MPC8349ITX.h
> +++ b/include/configs/MPC8349ITX.h
> @@ -98,6 +98,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 */
> @@ -158,6 +159,9 @@
> #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)
> +
Hi Valeriy,
Are you not getting these warnings?:
Configuring for MPC8349ITX board...
In file included from /home/kim/git/u-boot/include/config.h:5,
from include/common.h:35:
/home/kim/git/u-boot/include/configs/MPC8349ITX.h:173:1: warning: "CONFIG_MAX_MEM_MAPPED" redefined
In file included from /home/kim/git/u-boot/include/config.h:4,
from include/common.h:35:
/home/kim/git/u-boot/include/asm/config.h:28:1: warning: this is the location of the previous definition
please fix.
Kim
More information about the U-Boot
mailing list