aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--arch/arm/mach-orion5x/ts78xx-fpga.h10
-rw-r--r--arch/arm/mach-orion5x/ts78xx-setup.c7
2 files changed, 13 insertions, 4 deletions
diff --git a/arch/arm/mach-orion5x/ts78xx-fpga.h b/arch/arm/mach-orion5x/ts78xx-fpga.h
index 0a314ddef658..0f9cdf458952 100644
--- a/arch/arm/mach-orion5x/ts78xx-fpga.h
+++ b/arch/arm/mach-orion5x/ts78xx-fpga.h
@@ -6,8 +6,14 @@
6 */ 6 */
7enum fpga_ids { 7enum fpga_ids {
8 /* Technologic Systems */ 8 /* Technologic Systems */
9 TS7800_REV_B2 = FPGAID(0x00b480, 0x02), 9 TS7800_REV_1 = FPGAID(0x00b480, 0x01),
10 TS7800_REV_B3 = FPGAID(0x00b480, 0x03), 10 TS7800_REV_2 = FPGAID(0x00b480, 0x02),
11 TS7800_REV_3 = FPGAID(0x00b480, 0x03),
12 TS7800_REV_4 = FPGAID(0x00b480, 0x04),
13 TS7800_REV_5 = FPGAID(0x00b480, 0x05),
14
15 /* Unaffordable & Expensive */
16 UAE_DUMMY = FPGAID(0xffffff, 0x01),
11}; 17};
12 18
13struct fpga_device { 19struct fpga_device {
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c
index f5191ddea085..9a6b397f972d 100644
--- a/arch/arm/mach-orion5x/ts78xx-setup.c
+++ b/arch/arm/mach-orion5x/ts78xx-setup.c
@@ -282,8 +282,11 @@ static void ts78xx_fpga_supports(void)
282{ 282{
283 /* TODO: put this 'table' into ts78xx-fpga.h */ 283 /* TODO: put this 'table' into ts78xx-fpga.h */
284 switch (ts78xx_fpga.id) { 284 switch (ts78xx_fpga.id) {
285 case TS7800_REV_B2: 285 case TS7800_REV_1:
286 case TS7800_REV_B3: 286 case TS7800_REV_2:
287 case TS7800_REV_3:
288 case TS7800_REV_4:
289 case TS7800_REV_5:
287 ts78xx_fpga.supports.ts_rtc.present = 1; 290 ts78xx_fpga.supports.ts_rtc.present = 1;
288 ts78xx_fpga.supports.ts_nand.present = 1; 291 ts78xx_fpga.supports.ts_nand.present = 1;
289 break; 292 break;