coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
lpc.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 
3 #ifndef AMD_PICASSO_LPC_H
4 #define AMD_PICASSO_LPC_H
5 
6 #define SPI_BASE_ADDRESS_REGISTER 0xa0
7 #define SPI_BASE_ALIGNMENT BIT(8)
8 #define SPI_BASE_RESERVED (BIT(5) | BIT(6) | BIT(7))
9 #define PSP_SPI_MMIO_SEL BIT(4)
10 #define ROUTE_TPM_2_SPI BIT(3)
11 #define SPI_ABORT_ENABLE BIT(2)
12 #define SPI_ROM_ENABLE BIT(1)
13 #define SPI_ROM_ALT_ENABLE BIT(0)
14 #define SPI_PRESERVE_BITS (BIT(0) | BIT(1) | BIT(2) | BIT(3) | BIT(4))
15 
16 #endif /* AMD_PICASSO_LPC_H */