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/northbridge/amd | |
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/northbridge/amd')
-rw-r--r-- | src/northbridge/amd/amdfam10/raminit.h | 2 | ||||
-rw-r--r-- | src/northbridge/amd/amdfam10/raminit_amdmct.c | 5 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdfam10/raminit.h b/src/northbridge/amd/amdfam10/raminit.h index 029fa0e32a..9d1d91d536 100644 --- a/src/northbridge/amd/amdfam10/raminit.h +++ b/src/northbridge/amd/amdfam10/raminit.h @@ -24,6 +24,8 @@ struct sys_info; struct DCTStatStruc; struct MCTStatStruc; +void activate_spd_rom(const struct mem_controller *ctrl); + int mctRead_SPD(u32 smaddr, u32 reg); void mctSMBhub_Init(u32 node); void mctGet_DIMMAddr(struct DCTStatStruc *pDCTstat, u32 node); diff --git a/src/northbridge/amd/amdfam10/raminit_amdmct.c b/src/northbridge/amd/amdfam10/raminit_amdmct.c index 4f31a5e848..1f2b51d8bf 100644 --- a/src/northbridge/amd/amdfam10/raminit_amdmct.c +++ b/src/northbridge/amd/amdfam10/raminit_amdmct.c @@ -32,9 +32,12 @@ struct sys_info sysinfo_car CAR_GLOBAL; struct mem_controller; -extern void activate_spd_rom(const struct mem_controller *ctrl); extern int spd_read_byte(unsigned int device, unsigned int address); +void __weak activate_spd_rom(const struct mem_controller *ctrl) +{ +} + void fam15h_switch_dct(uint32_t dev, uint8_t dct) { uint32_t dword; |