Stefan Agner found his board comes with 0x00b480/0x02 but the main
board also has Rev B printed on it like my 0x00b480/0x03. Some light
enum renaming was needed but it was to be expected.
Signed-off-by: Alexander Clouter <alex@digriz.org.uk>
Signed-off-by: Nicolas Pitre <nico@marvell.com>
*/
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 {
{
/* 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;