diff options
author | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-12-27 14:46:32 +0200 |
---|---|---|
committer | Kyösti Mälkki <kyosti.malkki@gmail.com> | 2013-12-29 19:45:41 +0100 |
commit | 239c3d32f0e83685940cf1e15f1fb31747016e55 (patch) | |
tree | 7ec2a9be4d61b3988beba10df4e7411609405338 /src/cpu | |
parent | 1709453bad5560b03e6d46aedc834e476074b658 (diff) | |
download | coreboot-239c3d32f0e83685940cf1e15f1fb31747016e55.tar.xz |
AMD fam10: Drop RAMINIT_SYSINFO
AMD fam10 raminit cannot be built without RAMINIT_SYSINFO, this
is not a true option but copy-paste remainder from AMD K8.
Change-Id: Id8edc112f3bacebd1732304ac9ee6e77cc6263b7
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/4581
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
Diffstat (limited to 'src/cpu')
-rw-r--r-- | src/cpu/amd/model_10xxx/init_cpus.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/cpu/amd/model_10xxx/init_cpus.c b/src/cpu/amd/model_10xxx/init_cpus.c index a2f78d3445..10c0c8a90f 100644 --- a/src/cpu/amd/model_10xxx/init_cpus.c +++ b/src/cpu/amd/model_10xxx/init_cpus.c @@ -244,11 +244,7 @@ static void STOP_CAR_AND_CPU(void) stop_this_cpu(); } -#if CONFIG_RAMINIT_SYSINFO static u32 init_cpus(u32 cpu_init_detectedx, struct sys_info *sysinfo) -#else -static u32 init_cpus(u32 cpu_init_detectedx) -#endif { u32 bsp_apicid = 0; u32 apicid; @@ -903,16 +899,14 @@ static void finalize_node_setup(struct sys_info *sysinfo) { u8 i; u8 nodes = get_nodes(); - -#if CONFIG_RAMINIT_SYSINFO u32 reg; + /* read Node0 F0_0x64 bit [8:10] to find out SbLink # */ reg = pci_read_config32(NODE_HT(0), 0x64); sysinfo->sblk = (reg >> 8) & 7; sysinfo->sbbusn = 0; sysinfo->nodes = nodes; sysinfo->sbdn = get_sbdn(sysinfo->sbbusn); -#endif for (i = 0; i < nodes; i++) { cpuSetAMDPCI(i); |