Commit c6f3d50b9bbe33541b3cd47a4f35efc4f4ae0fa7
Committed by
Tom Rini
1 parent
ba650e9b52
Exists in
v2017.01-smarct4x
and in
48 other branches
ahci-plat: Provide a weak scsi_init hook
This allow the platform to register the platform ahci device. Signed-off-by: Ian Campbell <ijc@hellion.org.uk>
Showing 2 changed files with 11 additions and 0 deletions Side-by-side Diff
arch/arm/lib/board.c
... | ... | @@ -33,6 +33,7 @@ |
33 | 33 | #include <nand.h> |
34 | 34 | #include <onenand_uboot.h> |
35 | 35 | #include <mmc.h> |
36 | +#include <scsi.h> | |
36 | 37 | #include <libfdt.h> |
37 | 38 | #include <fdtdec.h> |
38 | 39 | #include <post.h> |
... | ... | @@ -591,6 +592,11 @@ |
591 | 592 | #ifdef CONFIG_GENERIC_MMC |
592 | 593 | puts("MMC: "); |
593 | 594 | mmc_initialize(gd->bd); |
595 | +#endif | |
596 | + | |
597 | +#ifdef CONFIG_CMD_SCSI | |
598 | + puts("SCSI: "); | |
599 | + scsi_init(); | |
594 | 600 | #endif |
595 | 601 | |
596 | 602 | #ifdef CONFIG_HAS_DATAFLASH |