aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Popple <alistair@popple.id.au>2016-06-01 14:23:57 +1000
committerStewart Smith <stewart@linux.vnet.ibm.com>2016-06-07 12:56:19 +1000
commit6f8827a436bce2d6256690f153406286f1769f67 (patch)
treebc0496037f815ed22987001edc419a5a8f2750b1
parent448eea9037e8ddfd28b409f6db2330cf17013031 (diff)
downloadskiboot-6f8827a436bce2d6256690f153406286f1769f67.zip
skiboot-6f8827a436bce2d6256690f153406286f1769f67.tar.gz
skiboot-6f8827a436bce2d6256690f153406286f1769f67.tar.bz2
garrison.c: Update GPU location codes to match workbook
The Garrison workbook numbers GPUs starting from GPU1 instead of GPU0. Update the skiboot location codes to match. Signed-off-by: Alistair Popple <alistair@popple.id.au> Signed-off-by: Stewart Smith <stewart@linux.vnet.ibm.com>
-rw-r--r--platforms/astbmc/garrison.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/platforms/astbmc/garrison.c b/platforms/astbmc/garrison.c
index 2370baf..3ff84a3 100644
--- a/platforms/astbmc/garrison.c
+++ b/platforms/astbmc/garrison.c
@@ -47,7 +47,7 @@ static const struct slot_table_entry garrison_phb0_2_slot[] = {
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,0),
- .name = "GPU0",
+ .name = "GPU1",
},
{ .etype = st_end },
};
@@ -56,7 +56,7 @@ static const struct slot_table_entry garrison_phb0_3_slot[] = {
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,0),
- .name = "GPU1",
+ .name = "GPU2",
},
{ .etype = st_end },
};
@@ -65,22 +65,22 @@ static const struct slot_table_entry garrison_npu0_slots[] = {
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,0),
- .name = "GPU1",
+ .name = "GPU2",
},
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,1),
- .name = "GPU1",
+ .name = "GPU2",
},
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(1,0),
- .name = "GPU0",
+ .name = "GPU1",
},
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(1,1),
- .name = "GPU0",
+ .name = "GPU1",
},
{ .etype = st_end },
};
@@ -136,7 +136,7 @@ static const struct slot_table_entry garrison_phb1_2_slot[] = {
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,0),
- .name = "GPU2",
+ .name = "GPU3",
},
{ .etype = st_end },
};
@@ -145,7 +145,7 @@ static const struct slot_table_entry garrison_phb1_3_slot[] = {
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,0),
- .name = "GPU3",
+ .name = "GPU4",
},
{ .etype = st_end },
};
@@ -154,22 +154,22 @@ static const struct slot_table_entry garrison_npu1_slots[] = {
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,0),
- .name = "GPU3",
+ .name = "GPU4",
},
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(0,1),
- .name = "GPU3",
+ .name = "GPU4",
},
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(1,0),
- .name = "GPU2",
+ .name = "GPU3",
},
{
.etype = st_pluggable_slot,
.location = ST_LOC_DEVFN(1,1),
- .name = "GPU2",
+ .name = "GPU3",
},
{ .etype = st_end },
};