Skip to content

Commit

Permalink
sh: se7206: heartbeat needs 32-bit writes.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Paul Mundt committed Sep 21, 2007
1 parent dfcb760 commit 7216ddc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/sh/boards/se/7206/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand Down

0 comments on commit 7216ddc

Please sign in to comment.