}
}
-static unsigned long random;
-/* provide at least _some_ sort of randomness */
-#define MAX_LOOPS 100
-extern int hal_timer_count(void);
-
-static void random_init(void)
-{
- unsigned long timer;
-
- int loops = MAX_LOOPS;
-
- do {
- timer = hal_timer_count();
- srand(random + timer);
- random = rand();
- } while ((timer < 5) || ((timer & (random >> (random & 0x1f))) && --loops > 0));
-}
-RedBoot_init(random_init, RedBoot_INIT_FIRST);
-
static void display_board_type(void)
{
diag_printf("\nBoard Type: Ka-Ro TX51-80x%d\n",