Permalink
Browse files

[include] set V2 board as 16M RAM

Signed-off-by: Christopher Hall <hsw@openmoko.com>
  • Loading branch information...
1 parent 9659604 commit ac6f4c240746b64c4fe70d65233b4d00b3718feb @hxw hxw committed Jan 14, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 samo-lib/include/boards/samo_a1.h
@@ -21,7 +21,7 @@
// A4 -> 1011 0011 32M Prototype
// A5 -> 1100 0100 32M Prototype
// V1 -> 1101 0101 32M Production
-// V2 -> 1110 0110 32M Production
+// V2 -> 1110 0110 16M Production
// V3 -> 1111 0111 32M Production
// V4 -> 0000 1000 16M Production
// V5 -> 0001 1001
@@ -307,7 +307,7 @@ static inline void init_ram(void)
0;
// SDRAM configuration register
- if (board_revision() >= 8) {
+ if (board_revision() >= 8 || board_revision() == 6) {
REG_SDRAMC_CTL = SDRAM_CONFIGURATION_16M;
} else {
REG_SDRAMC_CTL = SDRAM_CONFIGURATION_32M;

0 comments on commit ac6f4c2

Please sign in to comment.