Skip to content
Snippets Groups Projects
Commit 1ded0242 authored by Lee Nipper's avatar Lee Nipper Committed by Kim Phillips
Browse files

mpc83xx: Add support for 8360 silicon revision 2.1


This change adds 8360 silicon revision 2.1 support to u-boot.

Signed-off-by: default avatarLee Nipper <lee.nipper@freescale.com>
Signed-off-by: default avatarKim Phillips <kim.phillips@freescale.com>
parent b0d2962f
No related branches found
No related tags found
No related merge requests found
...@@ -103,7 +103,9 @@ int board_early_init_f(void) ...@@ -103,7 +103,9 @@ int board_early_init_f(void)
/* Disable G1TXCLK, G2TXCLK h/w buffers (rev.2 h/w bug workaround) */ /* Disable G1TXCLK, G2TXCLK h/w buffers (rev.2 h/w bug workaround) */
if (immr->sysconf.spridr == SPR_8360_REV20 || if (immr->sysconf.spridr == SPR_8360_REV20 ||
immr->sysconf.spridr == SPR_8360E_REV20) immr->sysconf.spridr == SPR_8360E_REV20 ||
immr->sysconf.spridr == SPR_8360_REV21 ||
immr->sysconf.spridr == SPR_8360E_REV21)
bcsr[0xe] = 0x30; bcsr[0xe] = 0x30;
return 0; return 0;
......
...@@ -113,12 +113,14 @@ int checkcpu(void) ...@@ -113,12 +113,14 @@ int checkcpu(void)
case SPR_8360E_REV11: case SPR_8360E_REV11:
case SPR_8360E_REV12: case SPR_8360E_REV12:
case SPR_8360E_REV20: case SPR_8360E_REV20:
case SPR_8360E_REV21:
puts("MPC8360E, "); puts("MPC8360E, ");
break; break;
case SPR_8360_REV10: case SPR_8360_REV10:
case SPR_8360_REV11: case SPR_8360_REV11:
case SPR_8360_REV12: case SPR_8360_REV12:
case SPR_8360_REV20: case SPR_8360_REV20:
case SPR_8360_REV21:
puts("MPC8360, "); puts("MPC8360, ");
break; break;
case SPR_8323E_REV10: case SPR_8323E_REV10:
...@@ -150,7 +152,8 @@ int checkcpu(void) ...@@ -150,7 +152,8 @@ int checkcpu(void)
puts("MPC8313E, "); puts("MPC8313E, ");
break; break;
default: default:
puts("Rev: Unknown revision number.\nWarning: Unsupported cpu revision!\n"); printf("Rev: Unknown revision number:%08x\n"
"Warning: Unsupported cpu revision!\n",spridr);
return 0; return 0;
} }
......
...@@ -86,6 +86,8 @@ ...@@ -86,6 +86,8 @@
#define SPR_8360_REV12 0x80490012 #define SPR_8360_REV12 0x80490012
#define SPR_8360E_REV20 0x80480020 #define SPR_8360E_REV20 0x80480020
#define SPR_8360_REV20 0x80490020 #define SPR_8360_REV20 0x80490020
#define SPR_8360E_REV21 0x80480021
#define SPR_8360_REV21 0x80490021
#define SPR_8323E_REV10 0x80620010 #define SPR_8323E_REV10 0x80620010
#define SPR_8323_REV10 0x80630010 #define SPR_8323_REV10 0x80630010
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment