1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 2 3 #ifndef _SOC_APOLLOLAKE_AHCI_H_ 4 #define _SOC_APOLLOLAKE_AHCI_H_ 5 6 #include <soc/soc_chip.h> 7 8 #define AHCI_TMP_BASE_ADDR 0x9872c000 9 10 #define AHCI_CAP 0x0 11 #define AHCI_CAP_ISS_MASK 0x00f00000 12 #define AHCI_SPEED(speed) (speed << 20) 13 14 /* Set SATA controller speed. */ 15 void ahci_set_speed(enum sata_speed_limit speed); 16 17 #endif /* _SOC_APOLLOLAKE_AHCI_H_ */ 18