From bb0018744404a842fc7f9ea8f7951cdcbb21428c Mon Sep 17 00:00:00 2001 From: Alexander Clouter Date: Wed, 4 Mar 2009 21:30:51 +0000 Subject: [PATCH] --- yaml --- r: 137388 b: refs/heads/master c: 195f4a170eaeb8ef37c73e02adef2579168e9287 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/arm/mach-orion5x/ts78xx-fpga.h | 3 ++- trunk/arch/arm/mach-orion5x/ts78xx-setup.c | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 916555f59114..83ad11f53208 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 693599438909de47fbfa4246bf67d6c535f719b5 +refs/heads/master: 195f4a170eaeb8ef37c73e02adef2579168e9287 diff --git a/trunk/arch/arm/mach-orion5x/ts78xx-fpga.h b/trunk/arch/arm/mach-orion5x/ts78xx-fpga.h index e2c503c7807e..0a314ddef658 100644 --- a/trunk/arch/arm/mach-orion5x/ts78xx-fpga.h +++ b/trunk/arch/arm/mach-orion5x/ts78xx-fpga.h @@ -6,7 +6,8 @@ */ enum fpga_ids { /* Technologic Systems */ - TS7800_REV_B = FPGAID(0x00b480, 0x03), + TS7800_REV_B2 = FPGAID(0x00b480, 0x02), + TS7800_REV_B3 = FPGAID(0x00b480, 0x03), }; struct fpga_device { diff --git a/trunk/arch/arm/mach-orion5x/ts78xx-setup.c b/trunk/arch/arm/mach-orion5x/ts78xx-setup.c index a6eec4e49424..f5191ddea085 100644 --- a/trunk/arch/arm/mach-orion5x/ts78xx-setup.c +++ b/trunk/arch/arm/mach-orion5x/ts78xx-setup.c @@ -282,7 +282,8 @@ static void ts78xx_fpga_supports(void) { /* TODO: put this 'table' into ts78xx-fpga.h */ switch (ts78xx_fpga.id) { - case TS7800_REV_B: + case TS7800_REV_B2: + case TS7800_REV_B3: ts78xx_fpga.supports.ts_rtc.present = 1; ts78xx_fpga.supports.ts_nand.present = 1; break;