Skip to content

Commit

Permalink
[ARM] orion5x: update of FPGA ID's for the TS-78xx
Browse files Browse the repository at this point in the history
Received official word finally from Technological Systems on which
FPGA ID's they have released unto the world.  Also an additional of
a dummy entry matching the FPGA ID of the Verilog template on our
wiki.

Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
  • Loading branch information
Alexander Clouter authored and Nicolas Pitre committed Mar 23, 2009
1 parent 586dcf2 commit 0c1355e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
10 changes: 8 additions & 2 deletions 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 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 0c1355e

Please sign in to comment.