X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;ds=sidebyside;f=board%2Fesd%2Focrtc%2Focrtc.c;h=ac032ef0ad2125fb670c96637f1b018fd366ee85;hb=4d00eb029008d1ef56111110ea9c61eb7e38c7c9;hp=0600273eb4855044cb891bf0a6934cc54f734b7f;hpb=8bde7f776c77b343aca29b8c7b58464d915ac245;p=u-boot diff --git a/board/esd/ocrtc/ocrtc.c b/board/esd/ocrtc/ocrtc.c index 0600273eb4..ac032ef0ad 100644 --- a/board/esd/ocrtc/ocrtc.c +++ b/board/esd/ocrtc/ocrtc.c @@ -27,9 +27,11 @@ #include #include -/* ------------------------------------------------------------------------- */ -int board_pre_init (void) +extern void lxt971_no_sleep(void); + + +int board_early_init_f (void) { /* * IRQ 0-15 405GP internally generated; active high; level sensitive @@ -61,8 +63,6 @@ int board_pre_init (void) } -/* ------------------------------------------------------------------------- */ - int misc_init_f (void) { return 0; /* dummy implementation */ @@ -72,7 +72,6 @@ int misc_init_f (void) /* * Check Board Identity: */ - int checkboard (void) { unsigned char str[64]; @@ -93,10 +92,14 @@ int checkboard (void) putc ('\n'); + /* + * Disable sleep mode in LXT971 + */ + lxt971_no_sleep(); + return (0); } -/* ------------------------------------------------------------------------- */ long int initdram (int board_type) { @@ -113,7 +116,6 @@ long int initdram (int board_type) return (4 * 1024 * 1024 << ((val & 0x000e0000) >> 17)); } -/* ------------------------------------------------------------------------- */ int testdram (void) { @@ -122,5 +124,3 @@ int testdram (void) return (0); } - -/* ------------------------------------------------------------------------- */