aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-05-12 15:49:37 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-05-16 15:41:35 +1000
commite9f98e25bb63a1b0eb0415f26f8426e251877274 (patch)
tree712a4f7e8f8cc115762f783acec121e6ff4c3345
parent249731c071ad2d2a6703448295a07d82e99e3788 (diff)
downloadskiboot-e9f98e25bb63a1b0eb0415f26f8426e251877274.zip
skiboot-e9f98e25bb63a1b0eb0415f26f8426e251877274.tar.gz
skiboot-e9f98e25bb63a1b0eb0415f26f8426e251877274.tar.bz2
phys map: Add missing NPU user regs region
We don't use this region currrently but we should add for completeness. Signed-off-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--hw/phys-map.c1
-rw-r--r--include/phys-map.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/hw/phys-map.c b/hw/phys-map.c
index 768f464..a95ea33 100644
--- a/hw/phys-map.c
+++ b/hw/phys-map.c
@@ -96,6 +96,7 @@ static const struct phys_map_entry phys_map_table_nimbus[] = {
{ LPC_BUS , 0, 0x0006030000000000ull, 0x0000000100000000ull },
{ FSP_MMIO , 0, 0x0006030100000000ull, 0x0000000100000000ull },
{ NPU_REGS , 0, 0x0006030200000000ull, 0x0000000001000000ull },
+ { NPU_USR , 0, 0x0006030201000000ull, 0x0000000000200000ull },
{ NPU_PHY , 0, 0x0006030201200000ull, 0x0000000000200000ull },
{ NPU_PHY , 1, 0x0006030201400000ull, 0x0000000000200000ull },
{ NPU_NTL , 0, 0x0006030201620000ull, 0x0000000000020000ull },
diff --git a/include/phys-map.h b/include/phys-map.h
index a012432..50ff0c4 100644
--- a/include/phys-map.h
+++ b/include/phys-map.h
@@ -40,6 +40,7 @@ enum phys_map_type {
LPC_BUS,
FSP_MMIO,
NPU_REGS,
+ NPU_USR,
NPU_PHY,
NPU_NTL,
NPU_GENID,