5 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
8 * James Dougherty, jfd@cs.stanford.edu
10 * SPDX-License-Identifier: GPL-2.0+
16 #include <asm/processor.h>
17 #include <timestamp.h>
26 ulong busfreq = get_bus_freq (0);
29 puts ("Board: MOUSSE MPC8240/KAHLUA - CHRP (MAP B)\n");
30 printf ("Built: %s at %s\n", U_BOOT_DATE, U_BOOT_TIME);
31 printf ("MPLD: Revision %d\n", SYS_REVID_GET ());
32 printf ("Local Bus: %s MHz\n", strmhz (buf, busfreq));
39 printf ("checkflash\n");
44 phys_size_t initdram (int board_type)
46 return CONFIG_SYS_RAM_SIZE;
52 int year, month, day, hour, minute, second;
54 m48_tod_get (&year, &month, &day, &hour, &minute, &second);
56 printf (" Current date/time: %d/%d/%d %d:%d:%d \n",
57 month, day, year, hour, minute, second);
62 * EPIC, PCI, and I/O devices.
63 * Initialize Mousse Platform, probe for PCI devices,
64 * Query configuration parameters if not set.
66 int misc_init_f (void)
68 m48_tod_init (); /* Init SGS M48T59Y TOD/NVRAM */
69 printf ("RTC: M48T589 TOD/NVRAM (%d) bytes\n", TOD_NVRAM_SIZE);
74 int board_eth_init(bd_t *bis)
76 return pci_eth_init(bis);