diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-03-28 11:50:10 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2017-04-27 10:18:28 +0200 |
commit | fb2f667da2091ce2194274f95c2d5db024d46e63 (patch) | |
tree | 5c9c72faf4d1279a5c6b64ca2ae8a1a879ac84aa /src/southbridge | |
parent | c0f7a1b7d12062595f01442989e4eac2869e5b7a (diff) |
nb/amd/amdk8: Link raminit_f.c
For this debug.c needs to be linked too.
Change-Id: I9cd1ffff2c39021693fe1d5d3f90ec5f70891f57
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/19030
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/southbridge')
-rw-r--r-- | src/southbridge/via/k8t890/early_car.c | 4 | ||||
-rw-r--r-- | src/southbridge/via/k8t890/k8t890.h | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/southbridge/via/k8t890/early_car.c b/src/southbridge/via/k8t890/early_car.c index 22a6a47ab4..dca75f40b2 100644 --- a/src/southbridge/via/k8t890/early_car.c +++ b/src/southbridge/via/k8t890/early_car.c @@ -134,7 +134,7 @@ u8 k8t890_early_setup_ht(void) return 1; } -static inline int s3_save_nvram_early(u32 dword, int size, int nvram_pos) +int s3_save_nvram_early(u32 dword, int size, int nvram_pos) { printk(BIOS_DEBUG, "Writing %x of size %d to nvram pos: %d\n", dword, size, nvram_pos); @@ -155,7 +155,7 @@ static inline int s3_save_nvram_early(u32 dword, int size, int nvram_pos) return nvram_pos; } -static inline int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos) +int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos) { switch (size) { case 1: diff --git a/src/southbridge/via/k8t890/k8t890.h b/src/southbridge/via/k8t890/k8t890.h index 548dd9e80a..8bc76ba927 100644 --- a/src/southbridge/via/k8t890/k8t890.h +++ b/src/southbridge/via/k8t890/k8t890.h @@ -37,6 +37,8 @@ #ifdef __PRE_RAM__ u8 k8t890_early_setup_ht(void); +int s3_save_nvram_early(u32 dword, int size, int nvram_pos); +int s3_load_nvram_early(int size, u32 *old_dword, int nvram_pos); #define k8x8xx_early_setup_ht() k8t890_early_setup_ht() #else #include <device/device.h> |