[Skiboot] [PATCH 1/3] phys map: Add missing NPU user regs region

Michael Neuling mikey at neuling.org
Fri May 12 15:49:37 AEST 2017


We don't use this region currrently but we should add for
completeness.

Signed-off-by: Michael Neuling <mikey at neuling.org>
---
 hw/phys-map.c      | 1 +
 include/phys-map.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/hw/phys-map.c b/hw/phys-map.c
index 768f464f46..a95ea33e18 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 a0124322a6..50ff0c4224 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,
-- 
2.11.0



More information about the Skiboot mailing list