spi: remove spi4 related macros and codes

This commit is contained in:
Armando 2020-07-31 13:06:14 +08:00
parent f0d53bd097
commit aa93347972
2 changed files with 0 additions and 14 deletions

View File

@ -242,7 +242,6 @@ void esp_perip_clk_init(void)
DPORT_LEDC_CLK_EN |
DPORT_TIMERGROUP1_CLK_EN |
DPORT_SPI3_CLK_EN |
DPORT_SPI4_CLK_EN |
DPORT_PWM0_CLK_EN |
DPORT_TWAI_CLK_EN |
DPORT_PWM1_CLK_EN |
@ -281,7 +280,6 @@ void esp_perip_clk_init(void)
DPORT_RMT_CLK_EN |
DPORT_UHCI1_CLK_EN |
DPORT_SPI3_CLK_EN |
DPORT_SPI4_CLK_EN |
DPORT_I2C_EXT1_CLK_EN |
DPORT_I2S1_CLK_EN |
DPORT_SPI2_DMA_CLK_EN |

View File

@ -190,12 +190,6 @@ extern "C" {
#define DPORT_PERIP_CLK_EN_REG DPORT_PERIP_CLK_EN0_REG
#define DPORT_PERIP_CLK_EN0_REG (DR_REG_SYSTEM_BASE + 0x040)
/* DPORT_SPI4_CLK_EN : R/W ;bitpos:[31] ;default: 1'h1 ; */
/*description: */
#define DPORT_SPI4_CLK_EN (BIT(31))
#define DPORT_SPI4_CLK_EN_M (BIT(31))
#define DPORT_SPI4_CLK_EN_V 0x1
#define DPORT_SPI4_CLK_EN_S 31
/* DPORT_ADC2_ARB_CLK_EN : R/W ;bitpos:[30] ;default: 1'b1 ; */
/*description: */
#define DPORT_ADC2_ARB_CLK_EN (BIT(30))
@ -424,12 +418,6 @@ extern "C" {
#define DPORT_PERIP_RST_EN_REG DPORT_PERIP_RST_EN0_REG
#define DPORT_PERIP_RST_EN0_REG (DR_REG_SYSTEM_BASE + 0x048)
/* DPORT_SPI4_RST : R/W ;bitpos:[31] ;default: 1'h0 ; */
/*description: */
#define DPORT_SPI4_RST (BIT(31))
#define DPORT_SPI4_RST_M (BIT(31))
#define DPORT_SPI4_RST_V 0x1
#define DPORT_SPI4_RST_S 31
/* DPORT_ADC2_ARB_RST : R/W ;bitpos:[30] ;default: 1'b0 ; */
/*description: */
#define DPORT_ADC2_ARB_RST (BIT(30))