[U-Boot] [PATCH 2/2] SPEAr : Supporting new mach ids for spear310 and spear320

Vipin KUMAR
2010-03-02T05:16:52Z

From: Vipin Kumar <vipin.kumar@st.com>

Supporting new machine ids for SoCs spear310 and spear320

include/asm-arm/mach-types.h has to be updated before applying
this patch for build to work

Signed-off-by: Vipin Kumar <vipin.kumar@st.com>
---
board/spear/spear310/spear310.c | 2 +-
board/spear/spear320/spear320.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/board/spear/spear310/spear310.c b/board/spear/spear310/spear310.c
index 756aa56..03dfe16 100755
--- a/board/spear/spear310/spear310.c
+++ b/board/spear/spear310/spear310.c
@@ -32,7 +32,7 @@

int board_init(void)
{
- return spear_board_init(MACH_TYPE_SPEAR300);
+ return spear_board_init(MACH_TYPE_SPEAR310);
}

/*
diff --git a/board/spear/spear320/spear320.c b/board/spear/spear320/spear320.c
index 756aa56..2ba2dbb 100755
--- a/board/spear/spear320/spear320.c
+++ b/board/spear/spear320/spear320.c
@@ -32,7 +32,7 @@

int board_init(void)
{
- return spear_board_init(MACH_TYPE_SPEAR300);
+ return spear_board_init(MACH_TYPE_SPEAR320);
}

/*
--
1.6.0.2