aboutsummaryrefslogtreecommitdiff
path: root/hw/phys-map.c
diff options
context:
space:
mode:
authorMichael Neuling <mikey@neuling.org>2017-11-14 22:23:05 +1100
committerStewart Smith <stewart@linux.vnet.ibm.com>2017-11-15 01:03:53 -0600
commit74d9a50ac2a79d39b07bbe7d7e0bbb72f7f5b026 (patch)
tree1ab9ed4cb0fb89fd815dcef6f918e2dcc8f45721 /hw/phys-map.c
parent75371796ac595a4ce2f1b6bd254f5f3ad7416a96 (diff)
downloadskiboot-74d9a50ac2a79d39b07bbe7d7e0bbb72f7f5b026.zip
skiboot-74d9a50ac2a79d39b07bbe7d7e0bbb72f7f5b026.tar.gz
skiboot-74d9a50ac2a79d39b07bbe7d7e0bbb72f7f5b026.tar.bz2
phys-map: Rename GPU_MEM to GPU_MEM_4T_DOWN
This map is soon to be replaced, but we are going to keep it around for a little while so that we support older hostboot firmware. Rename it for now. Signed-off-by: Michael Neuling <mikey@neuling.org> Reviewed-by: Balbir Singh <bsingharora@gmail.com> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
Diffstat (limited to 'hw/phys-map.c')
-rw-r--r--hw/phys-map.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/hw/phys-map.c b/hw/phys-map.c
index 8cccbf0..02bc33b 100644
--- a/hw/phys-map.c
+++ b/hw/phys-map.c
@@ -37,15 +37,15 @@ static const struct phys_map_info *phys_map;
static const struct phys_map_entry phys_map_table_nimbus[] = {
- /* System memory u pto 4TB minus GPU memory */
+ /* System memory upto 4TB minus GPU memory */
{ SYSTEM_MEM, 0, 0x0000000000000000ull, 0x0000034000000000ull },
/* GPU memory from 4TB - 128GB*GPU */
- { GPU_MEM, 5, 0x0000034000000000ull, 0x0000002000000000ull },
- { GPU_MEM, 4, 0x0000036000000000ull, 0x0000002000000000ull },
- { GPU_MEM, 3, 0x0000038000000000ull, 0x0000002000000000ull },
- { GPU_MEM, 2, 0x000003a000000000ull, 0x0000002000000000ull },
- { GPU_MEM, 1, 0x000003c000000000ull, 0x0000002000000000ull },
- { GPU_MEM, 0, 0x000003e000000000ull, 0x0000002000000000ull },
+ { GPU_MEM_4T_DOWN, 5, 0x0000034000000000ull, 0x0000002000000000ull },
+ { GPU_MEM_4T_DOWN, 4, 0x0000036000000000ull, 0x0000002000000000ull },
+ { GPU_MEM_4T_DOWN, 3, 0x0000038000000000ull, 0x0000002000000000ull },
+ { GPU_MEM_4T_DOWN, 2, 0x000003a000000000ull, 0x0000002000000000ull },
+ { GPU_MEM_4T_DOWN, 1, 0x000003c000000000ull, 0x0000002000000000ull },
+ { GPU_MEM_4T_DOWN, 0, 0x000003e000000000ull, 0x0000002000000000ull },
/* 0 TB offset @ MMIO 0x0006000000000000ull */
{ PHB4_64BIT_MMIO, 0, 0x0006000000000000ull, 0x0000004000000000ull },