diff options
author | Nicholas Piggin <npiggin@gmail.com> | 2019-05-13 15:21:36 +1000 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-05-15 15:43:19 +1000 |
commit | 7382324e9c410f15250bf109bb7d5449c2a74b82 (patch) | |
tree | 870ffcc8a14119530eaae2b94b39d766980fa8ec /hw | |
parent | 5beda3c6fe5b72aac95b4c13746ae598dfd64c01 (diff) | |
download | skiboot-7382324e9c410f15250bf109bb7d5449c2a74b82.zip skiboot-7382324e9c410f15250bf109bb7d5449c2a74b82.tar.gz skiboot-7382324e9c410f15250bf109bb7d5449c2a74b82.tar.bz2 |
xscom: move more register definitions into processor-specific includes
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'hw')
-rw-r--r-- | hw/occ.c | 1 | ||||
-rw-r--r-- | hw/slw.c | 2 | ||||
-rw-r--r-- | hw/xscom.c | 5 |
3 files changed, 8 insertions, 0 deletions
@@ -16,6 +16,7 @@ #include <skiboot.h> #include <xscom.h> +#include <xscom-p8-regs.h> #include <io.h> #include <cpu.h> #include <chip.h> @@ -19,6 +19,8 @@ */ #include <skiboot.h> #include <xscom.h> +#include <xscom-p8-regs.h> +#include <xscom-p9-regs.h> #include <io.h> #include <cpu.h> #include <chip.h> @@ -164,6 +164,11 @@ static int xscom_clear_error(uint32_t gcid, uint32_t pcb_addr) if (proc_gen != proc_gen_p9) return 0; +/* xscom clear address range/mask */ +#define XSCOM_CLEAR_RANGE_START 0x20010A00 +#define XSCOM_CLEAR_RANGE_END 0x20010ABF +#define XSCOM_CLEAR_RANGE_MASK 0x200FFBFF + /* * Due to a hardware issue where core responding to scom was delayed * due to thread reconfiguration, leaves the scom logic in a state |