sh: se7206: heartbeat needs 32-bit writes.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 13 Sep 2007 04:01:15 +0000 (13:01 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 21 Sep 2007 02:57:54 +0000 (11:57 +0900)
Most boards use 8 or 16-bit access for the LED bank, se7206
needs 32. There's only 8 individual LEDs however, each with
a 'special' value in terms of logical ordering. Go FPGA, go!

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/boards/se/7206/setup.c

index 499a3e9dbfc2eb1d421e750d8d16a296b4acbd22..5b3ee089d91de3acc943cc3ef142dac056072b60 100644 (file)
@@ -39,6 +39,7 @@ static unsigned char heartbeat_bit_pos[] = { 8, 9, 10, 11, 12, 13, 14, 15 };
 static struct heartbeat_data heartbeat_data = {
        .bit_pos        = heartbeat_bit_pos,
        .nr_bits        = ARRAY_SIZE(heartbeat_bit_pos),
+       .regsize        = 32,
 };
 
 static struct resource heartbeat_resources[] = {