2 * ml2.c: U-Boot platform support for Xilinx ML2 board
4 * Copyright 2002 Mind NV
10 * Derived from : Other platform support files in this tree
12 * This software may be used and distributed according to the terms of
13 * the GNU General Public License (GPL) version 2, incorporated herein by
14 * reference. Drivers based on or derived from this code fall under the GPL
15 * and must retain the authorship, copyright and this license notice. This
16 * file is not a complete program and may only be used when the entire
17 * program is licensed under the GPL.
22 #include <asm/processor.h>
25 int board_early_init_f (void)
35 int l = getenv_f("serial#", buf, sizeof(buf));
37 if (l < 0 || strncmp(buf, "ML2", 9)) {
38 printf ("### No HW ID - assuming ML2");
40 for (i = 0; i < l; i++) {
52 phys_size_t initdram (int board_type)
54 return 32 * 1024 * 1024;
59 printf ("test: xxx MB - ok\n");