From: wdenk Date: Tue, 1 Jan 2002 23:47:31 +0000 (+0000) Subject: Fix / workaround on systems with rev. C.2 chips: X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=600f319dd980c9e36d5ba4c8acffaab79482ae9f;p=users%2Frw%2Fppcboot.git Fix / workaround on systems with rev. C.2 chips: "reboot" (especially from BusyBox) would often hang in DRAM initialization. --- diff --git a/board/tqm8260/tqm8260.c b/board/tqm8260/tqm8260.c index 556403f..4a2f287 100644 --- a/board/tqm8260/tqm8260.c +++ b/board/tqm8260/tqm8260.c @@ -381,5 +381,7 @@ long int initdram(int board_type) #endif /* CFG_INIT_LOCAL_SDRAM */ #endif /* CFG_RAMBOOT */ + icache_enable(); + return (psize); } diff --git a/include/config_TQM8260.h b/include/config_TQM8260.h index 84cba73..267ef2e 100644 --- a/include/config_TQM8260.h +++ b/include/config_TQM8260.h @@ -306,7 +306,7 @@ */ #define CFG_HID0_INIT (HID0_ICE|HID0_DCE|HID0_ICFI|HID0_DCI|\ HID0_IFEM|HID0_ABE) -#define CFG_HID0_FINAL (HID0_ICE|HID0_IFEM|HID0_ABE) +#define CFG_HID0_FINAL (HID0_IFEM|HID0_ABE) #define CFG_HID2 0 /*-----------------------------------------------------------------------