summaryrefslogtreecommitdiff
path: root/board/highbank
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-06-14 21:28:41 -0600
committerSimon Glass <sjg@chromium.org>2017-07-11 10:08:19 -0600
commit8eab1a58dd53cbf89dca54f91cf3fbb51d714644 (patch)
tree2ec0bcfab13a2374da951e8b7339d264fd19985b /board/highbank
parent4682c8a19b4eb69f7ad51df3f543375583ce878a (diff)
dm: scsi: Document and rename the scsi_scan() parameter
The 'mode' parameter is actually a flag to determine whether to display a list of devices found during the scan. Rename it to reflect this, add a function comment and adjust callers to use a boolean. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'board/highbank')
-rw-r--r--board/highbank/highbank.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/highbank/highbank.c b/board/highbank/highbank.c
index 55999ed226..1af2207867 100644
--- a/board/highbank/highbank.c
+++ b/board/highbank/highbank.c
@@ -67,7 +67,7 @@ void scsi_init(void)
cphy_disable_overrides();
if (reg & PWRDOM_STAT_SATA) {
ahci_init((void __iomem *)HB_AHCI_BASE);
- scsi_scan(1);
+ scsi_scan(true);
}
}
#endif