diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-07-03 06:08:13 +0300 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2019-07-04 04:13:51 +0000 |
commit | 8560db611608cbe0e344c1a301cf23e4c1fb36c8 (patch) | |
tree | da1f8ae15359b271abac515bba69ec982539dee4 /src/mainboard/asus | |
parent | 6044be7f9e0c985a4e6e3fc8d28ce2270c67cbba (diff) |
amdfam10: Declare empty activate_spd_rom() stub
Change-Id: I1d0940a08f7ae5901b812618a6859c4297274591
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/33994
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Diffstat (limited to 'src/mainboard/asus')
-rw-r--r-- | src/mainboard/asus/kcma-d8/romstage.c | 1 | ||||
-rw-r--r-- | src/mainboard/asus/kfsn4-dre/romstage.c | 4 | ||||
-rw-r--r-- | src/mainboard/asus/kgpe-d16/romstage.c | 4 | ||||
-rw-r--r-- | src/mainboard/asus/m4a78-em/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/m4a785-m/romstage.c | 2 | ||||
-rw-r--r-- | src/mainboard/asus/m5a88-v/romstage.c | 4 |
6 files changed, 4 insertions, 13 deletions
diff --git a/src/mainboard/asus/kcma-d8/romstage.c b/src/mainboard/asus/kcma-d8/romstage.c index 6c40627823..4bcfeddf53 100644 --- a/src/mainboard/asus/kcma-d8/romstage.c +++ b/src/mainboard/asus/kcma-d8/romstage.c @@ -50,7 +50,6 @@ #define SERIAL_0_DEV PNP_DEV(0x2e, W83667HG_A_SP1) #define SERIAL_1_DEV PNP_DEV(0x2e, W83667HG_A_SP2) -void activate_spd_rom(const struct mem_controller *ctrl); int spd_read_byte(unsigned int device, unsigned int address); extern struct sys_info sysinfo_car; diff --git a/src/mainboard/asus/kfsn4-dre/romstage.c b/src/mainboard/asus/kfsn4-dre/romstage.c index dbf704b288..817e6db22a 100644 --- a/src/mainboard/asus/kfsn4-dre/romstage.c +++ b/src/mainboard/asus/kfsn4-dre/romstage.c @@ -53,7 +53,6 @@ #define GPIO3_DEV PNP_DEV(0x2e, W83627THG_GPIO3) -void activate_spd_rom(const struct mem_controller *ctrl); int spd_read_byte(unsigned int device, unsigned int address); extern struct sys_info sysinfo_car; @@ -170,7 +169,8 @@ static const uint8_t spd_addr[] = { RC01, DIMM0, DIMM2, DIMM4, DIMM6, DIMM1, DIMM3, DIMM5, DIMM7, }; -void activate_spd_rom(const struct mem_controller *ctrl) { +void activate_spd_rom(const struct mem_controller *ctrl) +{ printk(BIOS_DEBUG, "activate_spd_rom() for node %02x\n", ctrl->node_id); if (ctrl->node_id == 0) { printk(BIOS_DEBUG, "enable_spd_node0()\n"); diff --git a/src/mainboard/asus/kgpe-d16/romstage.c b/src/mainboard/asus/kgpe-d16/romstage.c index d017b0616a..85ad0b6f64 100644 --- a/src/mainboard/asus/kgpe-d16/romstage.c +++ b/src/mainboard/asus/kgpe-d16/romstage.c @@ -51,7 +51,6 @@ #define SERIAL_0_DEV PNP_DEV(0x2e, W83667HG_A_SP1) #define SERIAL_1_DEV PNP_DEV(0x2e, W83667HG_A_SP2) -void activate_spd_rom(const struct mem_controller *ctrl); int spd_read_byte(unsigned int device, unsigned int address); extern struct sys_info sysinfo_car; @@ -179,7 +178,8 @@ static const uint8_t spd_addr_fam10[] = { RC01, DIMM0, DIMM1, 0, 0, DIMM2, DIMM3, 0, 0, }; -void activate_spd_rom(const struct mem_controller *ctrl) { +void activate_spd_rom(const struct mem_controller *ctrl) +{ struct sys_info *sysinfo = &sysinfo_car; printk(BIOS_DEBUG, "activate_spd_rom() for node %02x\n", ctrl->node_id); if (ctrl->node_id == 0) { diff --git a/src/mainboard/asus/m4a78-em/romstage.c b/src/mainboard/asus/m4a78-em/romstage.c index c99179e48e..072b758bef 100644 --- a/src/mainboard/asus/m4a78-em/romstage.c +++ b/src/mainboard/asus/m4a78-em/romstage.c @@ -46,11 +46,9 @@ #define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1) #define GPIO_DEV PNP_DEV(0x2e, IT8712F_GPIO) -void activate_spd_rom(const struct mem_controller *ctrl); int spd_read_byte(unsigned int device, unsigned int address); extern struct sys_info sysinfo_car; -void activate_spd_rom(const struct mem_controller *ctrl) { } int spd_read_byte(u32 device, u32 address) { diff --git a/src/mainboard/asus/m4a785-m/romstage.c b/src/mainboard/asus/m4a785-m/romstage.c index 1d5921440d..c03115dc0b 100644 --- a/src/mainboard/asus/m4a785-m/romstage.c +++ b/src/mainboard/asus/m4a785-m/romstage.c @@ -46,11 +46,9 @@ #define SERIAL_DEV PNP_DEV(0x2e, IT8712F_SP1) #define GPIO_DEV PNP_DEV(0x2e, IT8712F_GPIO) -void activate_spd_rom(const struct mem_controller *ctrl); int spd_read_byte(unsigned int device, unsigned int address); extern struct sys_info sysinfo_car; -void activate_spd_rom(const struct mem_controller *ctrl) { } int spd_read_byte(u32 device, u32 address) { diff --git a/src/mainboard/asus/m5a88-v/romstage.c b/src/mainboard/asus/m5a88-v/romstage.c index 9216ecb910..ad05371367 100644 --- a/src/mainboard/asus/m5a88-v/romstage.c +++ b/src/mainboard/asus/m5a88-v/romstage.c @@ -46,13 +46,9 @@ #define SERIAL_DEV PNP_DEV(0x4e, IT8721F_SP1) -void activate_spd_rom(const struct mem_controller *ctrl); int spd_read_byte(unsigned int device, unsigned int address); extern struct sys_info sysinfo_car; -void activate_spd_rom(const struct mem_controller *ctrl) -{ -} int spd_read_byte(u32 device, u32 address) { |