diff mbox

[U-Boot] arm: spear: Move to generic board support

Message ID 1422948441-25928-1-git-send-email-sr@denx.de
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Stefan Roese Feb. 3, 2015, 7:27 a.m. UTC
Without this change the board support for these SPEAr boards would
be dropped soon. Generic board support seems to work just fine.

Signed-off-by: Stefan Roese <sr@denx.de>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Vipin Kumar <vk.vipin@gmail.com>
---
Unfortunately I missed the merge window by one day. I totally forget to
check here. But I'm currently busy with updating U-Boot on at least
the x600 board. Including updated SPL support (which is quite outdated).
So I really would like to not have these SPEAr board dropped from
mainline for now.

Thanks,
Stefan

 include/configs/spear-common.h | 2 ++
 include/configs/x600.h         | 1 +
 2 files changed, 3 insertions(+)

Comments

Viresh Kumar Feb. 4, 2015, 5:03 a.m. UTC | #1
On 3 February 2015 at 12:57, Stefan Roese <sr@denx.de> wrote:
> Without this change the board support for these SPEAr boards would
> be dropped soon. Generic board support seems to work just fine.
>
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Vipin Kumar <vk.vipin@gmail.com>
> ---
> Unfortunately I missed the merge window by one day. I totally forget to
> check here. But I'm currently busy with updating U-Boot on at least
> the x600 board. Including updated SPL support (which is quite outdated).
> So I really would like to not have these SPEAr board dropped from
> mainline for now.
>
> Thanks,
> Stefan
>
>  include/configs/spear-common.h | 2 ++
>  include/configs/x600.h         | 1 +
>  2 files changed, 3 insertions(+)
>
> diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
> index a11f4ed..16281f5 100644
> --- a/include/configs/spear-common.h
> +++ b/include/configs/spear-common.h
> @@ -11,6 +11,8 @@
>   * Common configurations used for both spear3xx as well as spear6xx
>   */
>
> +#define CONFIG_SYS_GENERIC_BOARD
> +
>  /* U-boot Load Address */
>  #define CONFIG_SYS_TEXT_BASE                   0x00700000
>
> diff --git a/include/configs/x600.h b/include/configs/x600.h
> index 04187c0..241bf65 100644
> --- a/include/configs/x600.h
> +++ b/include/configs/x600.h
> @@ -16,6 +16,7 @@
>   */
>  #define CONFIG_SPEAR600                                /* SPEAr600 SoC */
>  #define CONFIG_X600                            /* on X600 board */
> +#define CONFIG_SYS_GENERIC_BOARD
>
>  #include <asm/arch/hardware.h>

Looks fine to me..

Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Tom Rini March 6, 2015, 3:44 p.m. UTC | #2
On Tue, Feb 03, 2015 at 08:27:21AM +0100, Stefan Roese wrote:

> Without this change the board support for these SPEAr boards would
> be dropped soon. Generic board support seems to work just fine.
> 
> Signed-off-by: Stefan Roese <sr@denx.de>
> Cc: Viresh Kumar <viresh.kumar@linaro.org>
> Cc: Vipin Kumar <vk.vipin@gmail.com>
> Acked-by: Viresh Kumar <viresh.kumar@linaro.org>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/include/configs/spear-common.h b/include/configs/spear-common.h
index a11f4ed..16281f5 100644
--- a/include/configs/spear-common.h
+++ b/include/configs/spear-common.h
@@ -11,6 +11,8 @@ 
  * Common configurations used for both spear3xx as well as spear6xx
  */
 
+#define CONFIG_SYS_GENERIC_BOARD
+
 /* U-boot Load Address */
 #define CONFIG_SYS_TEXT_BASE			0x00700000
 
diff --git a/include/configs/x600.h b/include/configs/x600.h
index 04187c0..241bf65 100644
--- a/include/configs/x600.h
+++ b/include/configs/x600.h
@@ -16,6 +16,7 @@ 
  */
 #define CONFIG_SPEAR600				/* SPEAr600 SoC */
 #define CONFIG_X600				/* on X600 board */
+#define CONFIG_SYS_GENERIC_BOARD
 
 #include <asm/arch/hardware.h>