Angel Pons | 182dbde | 2020-04-02 23:49:05 +0200 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-only */ |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 2 | |
| 3 | #ifndef _SB800_LPC_H_ |
| 4 | #define _SB800_LPC_H_ |
| 5 | |
Dave Frodin | ac1b875 | 2014-06-05 14:30:22 -0600 | [diff] [blame] | 6 | #define SPIROM_BASE_ADDRESS_REGISTER 0xA0 |
| 7 | #define SPI_ROM_ENABLE 0x02 |
| 8 | #define SPI_BASE_ADDRESS 0xFEC10000 |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 9 | |
Elyes HAOUAS | 1a4abb7 | 2018-05-19 16:49:20 +0200 | [diff] [blame] | 10 | void lpc_read_resources(struct device *dev); |
| 11 | void lpc_set_resources(struct device *dev); |
| 12 | void lpc_enable_childrens_resources(struct device *dev); |
Frank Vibrans | 63e62b0 | 2011-02-14 18:38:14 +0000 | [diff] [blame] | 13 | |
| 14 | #endif |