1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
11 * Dummy implementation that can be overwritten by a board
14 __weak int board_ahci_enable(void)
19 static int mvebu_ahci_probe(struct udevice *dev)
22 * Board specific SATA / AHCI enable code, e.g. enable the
23 * AHCI power or deassert reset
27 ahci_init(devfdt_get_addr_ptr(dev));
32 static const struct udevice_id mvebu_ahci_ids[] = {
33 { .compatible = "marvell,armada-3700-ahci" },
34 { .compatible = "marvell,armada-8k-ahci" },
38 U_BOOT_DRIVER(ahci_mvebu_drv) = {
41 .of_match = mvebu_ahci_ids,
42 .probe = mvebu_ahci_probe,