diff options
author | Arthur Heymans <arthur@aheymans.xyz> | 2017-04-07 09:24:02 +0200 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2017-04-10 20:53:00 +0200 |
commit | f170e71630bff4b181dbd5b209d9fb3f8ce35131 (patch) | |
tree | 6aed1e3342678cf606bd07372b443a5a88ec6d5b /src/northbridge/amd/amdk8/f.h | |
parent | 237a93c43e9d269926f34839ee88f00833701ce6 (diff) |
nb/amdk8/(pre_)f.h: Don't declare global variable in header
This is needed if one wants to use the header more than once.
Change-Id: I375d08465b6c64cd91e7563e3917764507d779ba
Signed-off-by: Arthur Heymans <arthur@aheymans.xyz>
Reviewed-on: https://review.coreboot.org/19029
Tested-by: build bot (Jenkins)
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/northbridge/amd/amdk8/f.h')
-rw-r--r-- | src/northbridge/amd/amdk8/f.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/northbridge/amd/amdk8/f.h b/src/northbridge/amd/amdk8/f.h index 359a1d6283..db79fbf8d0 100644 --- a/src/northbridge/amd/amdk8/f.h +++ b/src/northbridge/amd/amdk8/f.h @@ -520,7 +520,7 @@ struct sys_info { #ifdef __PRE_RAM__ #include <arch/early_variables.h> -struct sys_info sysinfo_car CAR_GLOBAL; +extern struct sys_info sysinfo_car; #endif #include <reset.h> |