coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
sd.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef _QUARK_SD_H_
4 #define _QUARK_SD_H_
5 
6 #define SD_PFA (0x14 << 11) /* B0:D20:F0 - SDIO controller */
7 #define SD_CFG_BASE (PCI_CFG | SD_PFA) /* SD cntrl base in PCI config space */
8 #define SD_CFG_CMD (SD_CFG_BASE+0x04) /* Command reg in PCI config space */
9 #define SD_CFG_ADDR (SD_CFG_BASE+0x10) /* Base address in PCI config space */
10 #define SD_BASE_ADDR (0xA0018000) /* SD controller's base address */
11 #define SD_HOST_CTRL (SD_BASE_ADDR+0x28) /* HOST_CTRL register */
12 
13 #endif /* _QUARK_SD_H_ */