mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
Section name should be ".data", not "data"
Signed-off-by: Trent Piepho <tpiepho@freescale.com> Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
committed by
Wolfgang Denk
parent
7fa6a2f3b6
commit
5e3ab68e9a
@@ -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};
|
||||
|
||||
|
Reference in New Issue
Block a user