#define WDOG_WRSR ((CYG_WORD16 *)(WDOG_BASE_ADDR + 0x4))
#define CRM_RCSR ((CYG_WORD32 *)(CCM_BASE_ADDR + 0x28))
-static unsigned long random;
-extern unsigned int hal_timer_count(void);
-/* provide at least _some_ sort of randomness */
-static void random_init(void)
-{
- do {
- srand(random + hal_timer_count());
- random = rand();
- } while ((hal_timer_count() < 5) || (hal_timer_count() & 0x47110815));
-}
-RedBoot_init(random_init, RedBoot_INIT_FIRST);
-
static void display_board_type(void)
{
diag_printf("\nBoard Type: Ka-Ro TX25\n");