2 * Copyright (C) 2016 Stefan Roese <sr@denx.de>
4 * SPDX-License-Identifier: GPL-2.0+
11 DECLARE_GLOBAL_DATA_PTR
;
14 * Dummy implementation that can be overwritten by a board
17 __weak
int board_ahci_enable(void)
22 static int mvebu_ahci_probe(struct udevice
*dev
)
25 * Board specific SATA / AHCI enable code, e.g. enable the
26 * AHCI power or deassert reset
30 ahci_init(dev_get_addr_ptr(dev
));
35 static const struct udevice_id mvebu_ahci_ids
[] = {
36 { .compatible
= "marvell,armada-3700-ahci" },
40 U_BOOT_DRIVER(ahci_mvebu_drv
) = {
43 .of_match
= mvebu_ahci_ids
,
44 .probe
= mvebu_ahci_probe
,