aboutsummaryrefslogtreecommitdiff
path: root/include/dm
diff options
context:
space:
mode:
authorMarcel Ziswiler <marcel@ziswiler.com>2019-05-20 02:44:55 +0200
committerTom Rini <trini@konsulko.com>2020-06-30 11:12:28 -0400
commit4d3053a347c42276d8e8fe47d71f535a6e25af76 (patch)
treefe26b9851e7b53239295697dba432e6fa7a839bd /include/dm
parentf5624b104541a6c198b78958581f7e871ef2bb77 (diff)
downloadu-boot-4d3053a347c42276d8e8fe47d71f535a6e25af76.zip
u-boot-4d3053a347c42276d8e8fe47d71f535a6e25af76.tar.gz
u-boot-4d3053a347c42276d8e8fe47d71f535a6e25af76.tar.bz2
serial: pxa: clean-up platform data include file
Clean-up platform data include file by using BIT macro and converting indentation with spaces to tabs. Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Diffstat (limited to 'include/dm')
-rw-r--r--include/dm/platform_data/serial_pxa.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/dm/platform_data/serial_pxa.h b/include/dm/platform_data/serial_pxa.h
index 408c008..b78bdb6 100644
--- a/include/dm/platform_data/serial_pxa.h
+++ b/include/dm/platform_data/serial_pxa.h
@@ -17,7 +17,7 @@
#define FFUART_INDEX 1
#define STUART_INDEX 2
#elif CONFIG_CPU_PXA25X
-#define UART_CLK_BASE (1 << 4) /* HWUART */
+#define UART_CLK_BASE BIT(4) /* HWUART */
#define UART_CLK_REG CKEN
#define HWUART_INDEX 0
#define STUART_INDEX 1
@@ -42,9 +42,9 @@
/*
* struct pxa_serial_platdata - information about a PXA port
*
- * @base: Uart port base register address
- * @port: Uart port index, for cpu with pinmux for uart / gpio
- * baudrtatre: Uart port baudrate
+ * @base: Uart port base register address
+ * @port: Uart port index, for cpu with pinmux for uart / gpio
+ * baudrtatre: Uart port baudrate
*/
struct pxa_serial_platdata {
struct pxa_uart_regs *base;