[U-Boot] [PATCH] Section name should be ".data" not "data"

Signed-off-by: Trent Piepho tpiepho@freescale.com --- drivers/i2c/fsl_i2c.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 281a88b..3b5c06b 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -38,11 +38,10 @@ DECLARE_GLOBAL_DATA_PTR; * runs from ROM, and we can't switch buses because we can't modify * the global variables. */ -#ifdef CONFIG_SYS_SPD_BUS_NUM -static unsigned int i2c_bus_num __attribute__ ((section ("data"))) = CONFIG_SYS_SPD_BUS_NUM; -#else -static unsigned int i2c_bus_num __attribute__ ((section ("data"))) = 0; +#ifndef CONFIG_SYS_SPD_BUS_NUM +#define CONFIG_SYS_SPD_BUS_NUM 0 #endif +static unsigned int i2c_bus_num __attribute__ ((section (".data"))) = CONFIG_SYS_SPD_BUS_NUM;
static unsigned int i2c_bus_speed[2] = {CONFIG_SYS_I2C_SPEED, CONFIG_SYS_I2C_SPEED};

Hi all
When I install the eldk in the os redhat9 which installed in vmware, I created a user "aaa" and the dir "/home/aaa/eldk", and run the command "$ ./install -d /home/aaa/eldk ppc_6xx"
It shows that done.
But when I entered the dir "/home/aaa/eldk/bin", only rmp were found, I can NOT find the xx-gcc etc tools
Who can tell me why it happen?
thanks _________________________________________________________________ MSN 中文网,最新时尚生活资讯,白领聚集门户。 http://cn.msn.com

Dear Trent Piepho,
In message 1226539788-20929-1-git-send-email-tpiepho@freescale.com you wrote:
Signed-off-by: Trent Piepho tpiepho@freescale.com
drivers/i2c/fsl_i2c.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
Ummm... cpu/mpc8260/i2c.c, cpu/ppc4xx/i2c.c, and drivers/i2c/soft_i2c.c had the very same problem.
I fixed these, too, and merged this into your commit. Hope this is OK with you.
Best regards,
Wolfgang Denk
participants (3)
-
AA
-
Trent Piepho
-
Wolfgang Denk