3 * Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5 * SPDX-License-Identifier: GPL-2.0+
12 /* ------------------------------------------------------------------------- */
14 #define _NOT_USED_ 0xFFFFFFFF
16 /* ------------------------------------------------------------------------- */
19 int board_early_init_f (void)
22 * Set port pin in escc2 to keep living, and configure user led output
24 *(unsigned char *) 0x2000033e = 0x77; /* ESCC2: PCR bit3=pwr on, bit7=led out */
25 *(unsigned char *) 0x2000033c = 0x88; /* ESCC2: PVR pwr on, led off */
30 *(unsigned long *) 0x50000304 = 0x02900007; /* enable mem/io/master bits */
31 *(unsigned long *) 0x500001b4 = 0x00000000; /* disable pci interrupt output enable */
32 *(unsigned long *) 0x50000354 = 0x00c05800; /* disable emun interrupt output enable */
33 *(unsigned long *) 0x50000344 = 0x00000000; /* disable pme interrupt output enable */
34 *(unsigned long *) 0x50000310 = 0x00000000; /* pcibar0 */
35 *(unsigned long *) 0x50000314 = 0x00000000; /* pcibar1 */
36 *(unsigned long *) 0x50000318 = 0x00000000; /* pcibar2 */
43 * Check Board Identity:
49 int i
= getenv_f("serial#", str
, sizeof (str
));
53 if (!i
|| strncmp (str
, "ADCIOP", 6)) {
54 puts ("### No HW ID - assuming ADCIOP\n");
65 /* ------------------------------------------------------------------------- */
67 phys_size_t
initdram (int board_type
)
69 return (16 * 1024 * 1024);
72 /* ------------------------------------------------------------------------- */
76 /* TODO: XXX XXX XXX */
77 printf ("test: 16 MB - ok\n");
82 /* ------------------------------------------------------------------------- */
84 int board_eth_init(bd_t
*bis
)
86 return pci_eth_init(bis
);