diff mbox

[U-Boot,v2,6/9,omap3,overo] Add Board Revision for Wireless chip

Message ID 1400706295-31871-7-git-send-email-ashcharles@gmail.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Ash Charles May 21, 2014, 9:04 p.m. UTC
Gumstix Overo COMs with board revision 0x4 use a different Wifi and
Bluetooth module: Wi2Wi's W2CBW0015.  No other code changes are required
in u-boot---just handling of this particular board revision.

Signed-off-by: Ash Charles <ashcharles@gmail.com>
---
 board/overo/overo.c | 1 +
 board/overo/overo.h | 1 +
 2 files changed, 2 insertions(+)

Comments

Tom Rini May 23, 2014, 11:51 p.m. UTC | #1
On Wed, May 21, 2014 at 02:04:52PM -0700, Ash Charles wrote:

> Gumstix Overo COMs with board revision 0x4 use a different Wifi and
> Bluetooth module: Wi2Wi's W2CBW0015.  No other code changes are required
> in u-boot---just handling of this particular board revision.
> 
> Signed-off-by: Ash Charles <ashcharles@gmail.com>

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

Patch

diff --git a/board/overo/overo.c b/board/overo/overo.c
index 1192d02..9a5f4c4 100644
--- a/board/overo/overo.c
+++ b/board/overo/overo.c
@@ -141,6 +141,7 @@  void get_board_mem_timings(struct board_sdrc_timings *timings)
 		timings->rfr_ctrl = SDP_3430_SDRC_RFR_CTRL_165MHz;
 		break;
 	case REVISION_1: /* Micron 256MB/512MB, 1/2 banks of 256MB */
+	case REVISION_4:
 		timings->mcfg = MICRON_V_MCFG_200(256 << 20);
 		timings->ctrla = MICRON_V_ACTIMA_200;
 		timings->ctrlb = MICRON_V_ACTIMB_200;
diff --git a/board/overo/overo.h b/board/overo/overo.h
index 64604de..25c9f16 100644
--- a/board/overo/overo.h
+++ b/board/overo/overo.h
@@ -22,6 +22,7 @@  const omap3_sysinfo sysinfo = {
 #define REVISION_1	0x1
 #define REVISION_2	0x2
 #define REVISION_3	0x3
+#define REVISION_4	0x4
 
 /*
  * IEN  - Input Enable