aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-orion5x
diff options
context:
space:
mode:
authorMichael Spang <mspang@csclub.uwaterloo.ca>2011-03-04 23:50:57 -0500
committerNicolas Pitre <nico@fluxnic.net>2011-03-04 23:59:57 -0500
commitf9b1184e12e5ff8129b04837dffddb5a3c390473 (patch)
tree69b039e88867def6e007c8ad0e7211272010a27f /arch/arm/mach-orion5x
parent6920aaf084ec3481eec7793019d0a8395fa85484 (diff)
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: Michael Spang <mspang@csclub.uwaterloo.ca> Signed-off-by: Nicolas Pitre <nico@fluxnic.net>
Diffstat (limited to 'arch/arm/mach-orion5x')
-rw-r--r--arch/arm/mach-orion5x/ts78xx-setup.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/arch/arm/mach-orion5x/ts78xx-setup.c b/arch/arm/mach-orion5x/ts78xx-setup.c
index f4ff53c9fb39..1cac714e982d 100644
--- a/arch/arm/mach-orion5x/ts78xx-setup.c
+++ b/arch/arm/mach-orion5x/ts78xx-setup.c
@@ -399,9 +399,11 @@ static void ts78xx_fpga_supports(void)
399 ts78xx_fpga.supports.ts_rng.present = 1; 399 ts78xx_fpga.supports.ts_rng.present = 1;
400 break; 400 break;
401 default: 401 default:
402 ts78xx_fpga.supports.ts_rtc.present = 0; 402 printk(KERN_WARNING "Unrecognized TS-78XX FPGA ID 0x%02x",
403 ts78xx_fpga.supports.ts_nand.present = 0; 403 ts78xx_fpga.id);
404 ts78xx_fpga.supports.ts_rng.present = 0; 404 ts78xx_fpga.supports.ts_rtc.present = 1;
405 ts78xx_fpga.supports.ts_nand.present = 1;
406 ts78xx_fpga.supports.ts_rng.present = 1;
405 } 407 }
406} 408}
407 409