diff options
author | Andrew Donnellan <andrew.donnellan@au1.ibm.com> | 2018-11-22 17:20:14 +1100 |
---|---|---|
committer | Stewart Smith <stewart@linux.ibm.com> | 2019-02-18 22:12:37 -0600 |
commit | 682fa68e577c0ff40f52fdec45df36dd4599b9db (patch) | |
tree | 8f001163f0c61524c2580ab260c77a9ee5ff5b4b /platforms | |
parent | 963629523084aeaa780174415fb8204f7cceb198 (diff) | |
download | skiboot-682fa68e577c0ff40f52fdec45df36dd4599b9db.zip skiboot-682fa68e577c0ff40f52fdec45df36dd4599b9db.tar.gz skiboot-682fa68e577c0ff40f52fdec45df36dd4599b9db.tar.bz2 |
platforms/witherspoon: Make PCIe shared slot error message more informative
If we're missing chips for some reason, we print a warning when configuring
the PCIe shared slot.
The warning doesn't really make it clear what "shared slot" is, and if it's
printed, it'll come right after a bunch of messages about NPU setup, so
let's clarify the message to explicitly mention PCI.
Signed-off-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
[stewart: bikeshed]
Signed-off-by: Stewart Smith <stewart@linux.ibm.com>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/astbmc/witherspoon.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/platforms/astbmc/witherspoon.c b/platforms/astbmc/witherspoon.c index fe13899..d8b24b0 100644 --- a/platforms/astbmc/witherspoon.c +++ b/platforms/astbmc/witherspoon.c @@ -1,4 +1,4 @@ -/* Copyright 2017 IBM Corp. +/* Copyright 2017-2019 IBM Corp. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -184,7 +184,8 @@ static void witherspoon_shared_slot_fixup(void) chip1 = next_chip(chip0); if (!chip1 || next_chip(chip1)) { prlog(PR_WARNING, - "Unexpected number of chips, skipping shared slot detection\n"); + "PLAT: Can't find second chip, " + "skipping PCIe shared slot detection\n"); return; } |