[U-Boot,2/3] arm: socfpga: clean up socfpga_common.h

Message ID 20190109195625.12968-3-simon.k.r.goldschmidt@gmail.com
State New
Delegated to: Marek Vasut
Headers show
Series
  • arm: socfpga: clean up socfpga_common.h
Related show

Commit Message

Simon Goldschmidt Jan. 9, 2019, 7:56 p.m.
Remove outdated defines (not used any more, outdated due to DM
conversion) from socfpga_common.h.

Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
---

 include/configs/socfpga_common.h | 13 -------------
 1 file changed, 13 deletions(-)

Comments

Marek Vasut Jan. 9, 2019, 7:58 p.m. | #1
On 1/9/19 8:56 PM, Simon Goldschmidt wrote:
> Remove outdated defines (not used any more, outdated due to DM
> conversion) from socfpga_common.h.
> 
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>

Acked-by: Marek Vasut <marex@denx.de>

> ---
> 
>  include/configs/socfpga_common.h | 13 -------------
>  1 file changed, 13 deletions(-)
> 
> diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
> index 087ed6e96d..e9b368d93a 100644
> --- a/include/configs/socfpga_common.h
> +++ b/include/configs/socfpga_common.h
> @@ -58,10 +58,6 @@
>  #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
>  						/* Boot argument buffer size */
>  
> -#ifndef CONFIG_SYS_HOSTNAME
> -#define CONFIG_SYS_HOSTNAME	CONFIG_SYS_BOARD
> -#endif
> -
>  /*
>   * Cache
>   */
> @@ -150,15 +146,6 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
>  #define CONFIG_CQSPI_REF_CLK		cm_get_qspi_controller_clk_hz()
>  #endif
>  
> -/*
> - * Designware SPI support
> - */
> -
> -/*
> - * Serial Driver
> - */
> -#define CONFIG_SYS_NS16550_SERIAL
> -
>  /*
>   * USB
>   */
>
Stefan Roese Jan. 10, 2019, 6:24 a.m. | #2
On 09.01.19 20:56, Simon Goldschmidt wrote:
> Remove outdated defines (not used any more, outdated due to DM
> conversion) from socfpga_common.h.
> 
> Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

Patch

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 087ed6e96d..e9b368d93a 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -58,10 +58,6 @@ 
 #define CONFIG_SYS_BARGSIZE	CONFIG_SYS_CBSIZE
 						/* Boot argument buffer size */
 
-#ifndef CONFIG_SYS_HOSTNAME
-#define CONFIG_SYS_HOSTNAME	CONFIG_SYS_BOARD
-#endif
-
 /*
  * Cache
  */
@@ -150,15 +146,6 @@  unsigned int cm_get_qspi_controller_clk_hz(void);
 #define CONFIG_CQSPI_REF_CLK		cm_get_qspi_controller_clk_hz()
 #endif
 
-/*
- * Designware SPI support
- */
-
-/*
- * Serial Driver
- */
-#define CONFIG_SYS_NS16550_SERIAL
-
 /*
  * USB
  */