diff options
author | Michael Neuling <mikey@neuling.org> | 2016-05-02 15:26:15 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.vnet.ibm.com> | 2016-05-10 15:36:14 +1000 |
commit | d06349968edece9cab90d39abbd788e727aae75e (patch) | |
tree | 2b43860e156308989fbbb7acc99eb72aa6a94caa /hw | |
parent | baaa518f79224d81c7193ea36b2b042910cc08ba (diff) | |
download | skiboot-d06349968edece9cab90d39abbd788e727aae75e.zip skiboot-d06349968edece9cab90d39abbd788e727aae75e.tar.gz skiboot-d06349968edece9cab90d39abbd788e727aae75e.tar.bz2 |
Make trigger_attn() enable attn also
This changes trigger_attn() to also enable attn via HID0, so callers
don't have to do it themselves.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/fsp/fsp-attn.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/hw/fsp/fsp-attn.c b/hw/fsp/fsp-attn.c index 7b56192..ff702ab 100644 --- a/hw/fsp/fsp-attn.c +++ b/hw/fsp/fsp-attn.c @@ -118,8 +118,6 @@ static void update_sp_attn_area(const char *msg) void __attribute__((noreturn)) ibm_fsp_terminate(const char *msg) { - unsigned long hid0; - /* Update SP attention area */ update_sp_attn_area(msg); @@ -133,9 +131,6 @@ void __attribute__((noreturn)) ibm_fsp_terminate(const char *msg) * reboot loop. */ - hid0 = mfspr(SPR_HID0); - hid0 |= SPR_HID0_ENABLE_ATTN; - set_hid0(hid0); trigger_attn(); for (;;) ; } |