Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 137446
b: refs/heads/master
c: 0c1355e
h: refs/heads/master
v: v3
  • Loading branch information
Alexander Clouter authored and Nicolas Pitre committed Mar 23, 2009
1 parent 425d5b3 commit 0e18037
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 586dcf279baebc18aca943cd44014e3679510d5b
refs/heads/master: 0c1355e36fdc304b102851312d80a1e69c01f5a2
10 changes: 8 additions & 2 deletions trunk/arch/arm/mach-orion5x/ts78xx-fpga.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,14 @@
*/
enum fpga_ids {
/* Technologic Systems */
TS7800_REV_B2 = FPGAID(0x00b480, 0x02),
TS7800_REV_B3 = FPGAID(0x00b480, 0x03),
TS7800_REV_1 = FPGAID(0x00b480, 0x01),
TS7800_REV_2 = FPGAID(0x00b480, 0x02),
TS7800_REV_3 = FPGAID(0x00b480, 0x03),
TS7800_REV_4 = FPGAID(0x00b480, 0x04),
TS7800_REV_5 = FPGAID(0x00b480, 0x05),

/* Unaffordable & Expensive */
UAE_DUMMY = FPGAID(0xffffff, 0x01),
};

struct fpga_device {
Expand Down
7 changes: 5 additions & 2 deletions trunk/arch/arm/mach-orion5x/ts78xx-setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -282,8 +282,11 @@ static void ts78xx_fpga_supports(void)
{
/* TODO: put this 'table' into ts78xx-fpga.h */
switch (ts78xx_fpga.id) {
case TS7800_REV_B2:
case TS7800_REV_B3:
case TS7800_REV_1:
case TS7800_REV_2:
case TS7800_REV_3:
case TS7800_REV_4:
case TS7800_REV_5:
ts78xx_fpga.supports.ts_rtc.present = 1;
ts78xx_fpga.supports.ts_nand.present = 1;
break;
Expand Down

0 comments on commit 0e18037

Please sign in to comment.