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/raminit.c | |
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/raminit.c')
-rw-r--r-- | src/northbridge/amd/amdk8/raminit.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/raminit.c b/src/northbridge/amd/amdk8/raminit.c index 9f333fdaa9..48e2bb93bd 100644 --- a/src/northbridge/amd/amdk8/raminit.c +++ b/src/northbridge/amd/amdk8/raminit.c @@ -17,6 +17,9 @@ #include "option_table.h" #endif +#include <arch/early_variables.h> +struct sys_info sysinfo_car CAR_GLOBAL; + void setup_resource_map(const unsigned int *register_values, int max) { int i; |