diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-09 14:46:51 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-09 14:46:51 +0000 |
commit | d4f53738e678f99bd12068b2e2b2ecae9fc046b0 (patch) | |
tree | 0f15a41041822a88cef4fb74fa747b0021ac8960 /src/northbridge/amd/amdk8/raminit.h | |
parent | f358c0c55510e4272ace99e192b9494e64f89697 (diff) |
zero warnings days.
The tyan s2895 is down to 3 warnings, 2 of which are caused by #warning.
The 1000 ways of how the AMD code waits for the cores to be started up
are a real pain for the brain.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5396 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/amdk8/raminit.h')
-rw-r--r-- | src/northbridge/amd/amdk8/raminit.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/northbridge/amd/amdk8/raminit.h b/src/northbridge/amd/amdk8/raminit.h index f46e58defe..a5935612b8 100644 --- a/src/northbridge/amd/amdk8/raminit.h +++ b/src/northbridge/amd/amdk8/raminit.h @@ -11,4 +11,10 @@ struct mem_controller { uint16_t channel1[DIMM_SOCKETS]; }; +#if defined(__PRE_RAM__) && defined(RAMINIT_SYSINFO) && RAMINIT_SYSINFO == 1 +void sdram_initialize(int controllers, const struct mem_controller *ctrl, void *sysinfo); +#else +void sdram_initialize(int controllers, const struct mem_controller *ctrl); +#endif + #endif /* RAMINIT_H */ |