Commit f9b1184e authored by Michael Spang's avatar Michael Spang Committed by Nicolas Pitre

ARM: Enable TS-78XX features in unknown revisions

When the manufacturer increases the revision number the platform
devices for the RTC, NAND, and RNG disappear. We should assume
new revisions have these devices instead of assuming they do not.
Signed-off-by: default avatarMichael Spang <mspang@csclub.uwaterloo.ca>
Signed-off-by: default avatarNicolas Pitre <nico@fluxnic.net>
parent 6920aaf0
...@@ -399,9 +399,11 @@ static void ts78xx_fpga_supports(void) ...@@ -399,9 +399,11 @@ static void ts78xx_fpga_supports(void)
ts78xx_fpga.supports.ts_rng.present = 1; ts78xx_fpga.supports.ts_rng.present = 1;
break; break;
default: default:
ts78xx_fpga.supports.ts_rtc.present = 0; printk(KERN_WARNING "Unrecognized TS-78XX FPGA ID 0x%02x",
ts78xx_fpga.supports.ts_nand.present = 0; ts78xx_fpga.id);
ts78xx_fpga.supports.ts_rng.present = 0; ts78xx_fpga.supports.ts_rtc.present = 1;
ts78xx_fpga.supports.ts_nand.present = 1;
ts78xx_fpga.supports.ts_rng.present = 1;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment