summaryrefslogtreecommitdiff
path: root/board/esd/cpciiser4/cpciiser4.c
diff options
context:
space:
mode:
Diffstat (limited to 'board/esd/cpciiser4/cpciiser4.c')
-rw-r--r--board/esd/cpciiser4/cpciiser4.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/board/esd/cpciiser4/cpciiser4.c b/board/esd/cpciiser4/cpciiser4.c
index e90f4ea..3d1f1fa 100644
--- a/board/esd/cpciiser4/cpciiser4.c
+++ b/board/esd/cpciiser4/cpciiser4.c
@@ -29,6 +29,7 @@
/*cmd_boot.c*/
extern int do_reset (cmd_tbl_t *cmdtp, int flag, int argc, char *argv[]);
+extern void lxt971_no_sleep(void);
/* ------------------------------------------------------------------------- */
@@ -157,13 +158,12 @@ int checkboard (void)
puts ("Board: ");
- if (!i || strncmp (str, "CPCIISER4", 9)) {
- puts ("### No HW ID - assuming CPCIISER4\n");
- return (0);
+ if (i == -1) {
+ puts ("### No HW ID - assuming AR405");
+ } else {
+ puts(str);
}
- puts (str);
-
puts ("\nFPGA: ");
/* display infos on fpgaimage */
@@ -176,6 +176,11 @@ int checkboard (void)
putc ('\n');
+ /*
+ * Disable sleep mode in LXT971
+ */
+ lxt971_no_sleep();
+
return 0;
}