Move cpus_ready_for_init() to AMD K8
The function is a noop for all but amd/serengeti_cheetah. Change-Id: I09e2e710aa964c2f31e35fcea4f14856cc1e1dca Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: http://review.coreboot.org/1184 Tested-by: build bot (Jenkins) Reviewed-by: Alexandru Gagniuc <mr.nuke.me@gmail.com>
This commit is contained in:
parent
9ca1c0af64
commit
7bdf85bfdb
14 changed files with 9 additions and 23 deletions
|
|
@ -33,6 +33,10 @@ config K8_HT_FREQ_1G_SUPPORT
|
|||
bool
|
||||
default n
|
||||
|
||||
config WAIT_BEFORE_CPUS_INIT
|
||||
bool
|
||||
default n
|
||||
|
||||
config MEM_TRAIN_SEQ
|
||||
int
|
||||
default 0
|
||||
|
|
|
|||
|
|
@ -14,4 +14,6 @@ void setup_resource_map_offset(const unsigned int *register_values, int max, uns
|
|||
void fill_mem_ctrl(int controllers, struct mem_controller *ctrl_a, const uint16_t *spd_addr);
|
||||
#endif
|
||||
|
||||
void cpus_ready_for_init(void);
|
||||
|
||||
#endif /* AMDK8_H */
|
||||
|
|
|
|||
|
|
@ -1369,6 +1369,9 @@ static u32 cpu_bus_scan(device_t dev, u32 max)
|
|||
|
||||
static void cpu_bus_init(device_t dev)
|
||||
{
|
||||
#if CONFIG_WAIT_BEFORE_CPUS_INIT
|
||||
cpus_ready_for_init();
|
||||
#endif
|
||||
initialize_cpus(dev->link_list);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue