Section name should be ".data" not "data"
PATCH 1/1 Section name should be ".data" not "data"
--- drivers/i2c/fsl_i2c.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
drivers/i2c/fsl_i2c.c +3 -4
@@ -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 };
Signature · 1 line
1.5.4.1
[U-Boot] what's wrong when I install ELDK?
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
PATCH 1/1 Section name should be ".data" not "data"
In reply to Trent PiephoDear Trent Piepho,
Quoted 4 lines · In message <[email protected]> you wrote:
Signed-off-by Trent Piepho <[email protected]>--- drivers/i2c/fsl_i2c.c | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-)
Ummm... cpu/mpc8260/i2c.c, cpu/ppc4xx/i2c.c, anddrivers/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
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de "How to make a million dollars: First, get a million dollars." - Steve Martin