diff options
| author | Tom Rini <[email protected]> | 2022-05-25 16:13:48 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2022-06-06 12:09:12 -0400 |
| commit | 3135ba642f9a02a3a45d978d2425c1488d6efbbd (patch) | |
| tree | 030ba208e05961265920c462ccae8514fb69db23 /include | |
| parent | 1cb7d7781242b1fddf791f73d32221796f643bf5 (diff) | |
arm: pxa: Remove CONFIG_CPU_PXA25X
There are no platforms that set this, remove the code.
Signed-off-by: Tom Rini <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/dm/platform_data/serial_pxa.h | 15 | ||||
| -rw-r--r-- | include/lcd.h | 3 |
2 files changed, 1 insertions, 17 deletions
diff --git a/include/dm/platform_data/serial_pxa.h b/include/dm/platform_data/serial_pxa.h index 0d7dc4c462d..e1a02aed28e 100644 --- a/include/dm/platform_data/serial_pxa.h +++ b/include/dm/platform_data/serial_pxa.h @@ -16,13 +16,6 @@ #define BTUART_INDEX 0 #define FFUART_INDEX 1 #define STUART_INDEX 2 -#elif CONFIG_CPU_PXA25X -#define UART_CLK_BASE BIT(4) /* HWUART */ -#define UART_CLK_REG CKEN -#define HWUART_INDEX 0 -#define STUART_INDEX 1 -#define FFUART_INDEX 2 -#define BTUART_INDEX 3 #else /* PXA27x */ #define UART_CLK_BASE CKEN5_STUART #define UART_CLK_REG CKEN @@ -32,14 +25,6 @@ #endif /* - * Only PXA250 has HWUART, to avoid poluting the code with more macros, - * artificially introduce this. - */ -#ifndef CONFIG_CPU_PXA25X -#define HWUART_INDEX 0xff -#endif - -/* * struct pxa_serial_plat - information about a PXA port * * @base: Uart port base register address diff --git a/include/lcd.h b/include/lcd.h index 51a79317bba..7570e7ac609 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -40,8 +40,7 @@ ulong lcd_setmem(ulong addr); */ void lcd_set_flush_dcache(int flush); -#if defined(CONFIG_CPU_PXA25X) || defined(CONFIG_CPU_PXA27X) || \ - defined CONFIG_CPU_MONAHANS +#if defined(CONFIG_CPU_PXA27X) || defined CONFIG_CPU_MONAHANS #include <pxa_lcd.h> #elif defined(CONFIG_ATMEL_LCD) || defined(CONFIG_ATMEL_HLCD) #include <atmel_lcd.h> |
