Browse Source

SPEAr : Supporting new mach ids for spear310 and spear320

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>
Vipin Kumar 15 năm trước cách đây
mục cha
commit
9d69e33d8d
2 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 1 1
      board/spear/spear310/spear310.c
  2. 1 1
      board/spear/spear320/spear320.c

+ 1 - 1
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);
 }
 
 /*

+ 1 - 1
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);
 }
 
 /*