diff options
author | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-06 14:00:51 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2015-05-07 17:54:30 +1000 |
commit | 00f469a5f9231c50d478407ae7d42fcbad942fc0 (patch) | |
tree | 6e00631bb4671f4f22fd19252b5dd58a9453ee4c /include | |
parent | ba83e54ff2bb5c268da3897d7bfaca840535d25f (diff) | |
download | skiboot-00f469a5f9231c50d478407ae7d42fcbad942fc0.zip skiboot-00f469a5f9231c50d478407ae7d42fcbad942fc0.tar.gz skiboot-00f469a5f9231c50d478407ae7d42fcbad942fc0.tar.bz2 |
Asynchronously preload CAPP microcode
Instead of synchronously waiting for CAPP microcode during PCI probe,
start preload of CAPP microcode early in boot so that it's present
when we need it during PCI probing.
On some platforms (astbmc), flash access is serialized, and prior to
this patch, the async preload of BOOTKERNEL would have to finish before
loading CAPP ucode would start, needlessly slowing boot.
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/skiboot.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/skiboot.h b/include/skiboot.h index d021b33..20fe79a 100644 --- a/include/skiboot.h +++ b/include/skiboot.h @@ -190,6 +190,7 @@ extern void init_replicated_sprs(void); extern void probe_p5ioc2(void); extern void probe_p7ioc(void); extern void probe_phb3(void); +extern int phb3_preload_capp_ucode(void); extern void uart_init(bool enable_interrupt); extern void homer_init(void); extern void occ_pstates_init(void); |