Skip to content
Snippets Groups Projects
Commit c6f3d50b authored by Ian Campbell's avatar Ian Campbell Committed by Tom Rini
Browse files

ahci-plat: Provide a weak scsi_init hook


This allow the platform to register the platform ahci device.

Signed-off-by: default avatarIan Campbell <ijc@hellion.org.uk>
parent ba650e9b
No related branches found
No related tags found
No related merge requests found
......@@ -33,6 +33,7 @@
#include <nand.h>
#include <onenand_uboot.h>
#include <mmc.h>
#include <scsi.h>
#include <libfdt.h>
#include <fdtdec.h>
#include <post.h>
......@@ -593,6 +594,11 @@ void board_init_r(gd_t *id, ulong dest_addr)
mmc_initialize(gd->bd);
#endif
#ifdef CONFIG_CMD_SCSI
puts("SCSI: ");
scsi_init();
#endif
#ifdef CONFIG_HAS_DATAFLASH
AT91F_DataflashInit();
dataflash_print_info();
......
......@@ -930,6 +930,11 @@ int ahci_init(u32 base)
err_out:
return rc;
}
void __weak scsi_init(void)
{
}
#endif
/*
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment