aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r--arch/arm/mach-orion5x/ts78xx-fpga.h3
-rw-r--r--arch/arm/mach-orion5x/ts78xx-setup.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-orion5x/ts78xx-fpga.h b/arch/arm/mach-orion5x/ts78xx-fpga.h
index e2c503c..0a314dd 100644
--- a/arch/arm/mach-orion5x/ts78xx-fpga.h
+++ b/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/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c
index a6eec4e..f5191dd 100644
--- a/arch/arm/mach-orion5x/ts78xx-setup.c
+++ b/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;