summaryrefslogtreecommitdiff
path: root/board-VII.c
diff options
context:
space:
mode:
authorSegher Boessenkool <segher@kernel.crashing.org>2009-02-08 22:56:56 +0100
committerSegher Boessenkool <segher@kernel.crashing.org>2009-02-08 22:56:56 +0100
commitffb1498d956a045b2b69e73da2bb645c85b8aa7e (patch)
tree3ee687dc090de78700a3d0b1db9444b8d49a3d20 /board-VII.c
parent81edc7c89037f664cd9c060a06ebb055bf7ec866 (diff)
Move idle_pc to board struct; run switch_bank() for VII only
Diffstat (limited to 'board-VII.c')
-rw-r--r--board-VII.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/board-VII.c b/board-VII.c
index d479e33..6988419 100644
--- a/board-VII.c
+++ b/board-VII.c
@@ -5,6 +5,12 @@
#include "types.h"
#include "board.h"
+static void board_VII_init(void)
+{
+ switch_bank(0);
+}
+
struct board board_VII = {
- .use_centered_coors = 1
+ .use_centered_coors = 1,
+ .init = board_VII_init
};