Re: [U-Boot] [PATCH v1 03/10] serial: pxa: clean-up platform data include file

2020-06-30 Thread Tom Rini
On Mon, May 20, 2019 at 02:44:55AM +0200, Marcel Ziswiler wrote:

> Clean-up platform data include file by using BIT macro and converting
> indentation with spaces to tabs.
> 
> Signed-off-by: Marcel Ziswiler 

Applied to u-boot/next, thanks!

-- 
Tom


signature.asc
Description: PGP signature


Re: [U-Boot] [PATCH v1 03/10] serial: pxa: clean-up platform data include file

2019-05-19 Thread Marek Vasut
On 5/20/19 2:44 AM, Marcel Ziswiler wrote:
> Clean-up platform data include file by using BIT macro and converting
> indentation with spaces to tabs.
> 
> Signed-off-by: Marcel Ziswiler 
> 
> ---
> 
>  include/dm/platform_data/serial_pxa.h | 8 
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/include/dm/platform_data/serial_pxa.h 
> b/include/dm/platform_data/serial_pxa.h
> index 408c00885d..b78bdb6409 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_BASEBIT(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

So while we're messing around with this, can we also s/[uU]art/UART/ and
s/cpu/CPU/ and s/gpio/GPIO/ ?

>   */
>  struct pxa_serial_platdata {
>   struct pxa_uart_regs *base;
> 


-- 
Best regards,
Marek Vasut
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot


[U-Boot] [PATCH v1 03/10] serial: pxa: clean-up platform data include file

2019-05-19 Thread Marcel Ziswiler
Clean-up platform data include file by using BIT macro and converting
indentation with spaces to tabs.

Signed-off-by: Marcel Ziswiler 

---

 include/dm/platform_data/serial_pxa.h | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/dm/platform_data/serial_pxa.h 
b/include/dm/platform_data/serial_pxa.h
index 408c00885d..b78bdb6409 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;
-- 
2.21.0

___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot