mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-23 05:08:24 +00:00
ARM: stm32: Use __section(".data") with dot in the section name on DHSOM
The correct specifier of the section is ".data" and not "data", use the former to place the variables in ".data" section. Fixes:731fd50e27
("ARM: stm32: Implement board coding on AV96") Fixes:92ca0f7446
("ARM: dts: stm32: Synchronize DDR setttings on DH SoMs") Signed-off-by: Marek Vasut <marex@denx.de> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Reviewed-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
This commit is contained in:
parent
9af2ec18b4
commit
0e136ec7fa
1 changed files with 3 additions and 3 deletions
|
@ -184,9 +184,9 @@ int checkboard(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_BOARD_EARLY_INIT_F
|
#ifdef CONFIG_BOARD_EARLY_INIT_F
|
||||||
static u8 brdcode __section("data");
|
static u8 brdcode __section(".data");
|
||||||
static u8 ddr3code __section("data");
|
static u8 ddr3code __section(".data");
|
||||||
static u8 somcode __section("data");
|
static u8 somcode __section(".data");
|
||||||
static u32 opp_voltage_mv __section(".data");
|
static u32 opp_voltage_mv __section(".data");
|
||||||
|
|
||||||
static void board_get_coding_straps(void)
|
static void board_get_coding_straps(void)
|
||||||
|
|
Loading…
Add table
Reference in a new issue