2 * eco5pk.c - board file for 8D Technology's AM3517 based eco5pk board
6 * Copyright (C) 2011-2012 8D Technologies inc.
7 * Copyright (C) 2009 Texas Instruments Incorporated
9 * This program is free software; you can redistribute it and/or modify
10 * it under the terms of the GNU General Public License as published by
11 * the Free Software Foundation; either version 2 of the License, or
12 * (at your option) any later version.
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #include <asm/arch/mem.h>
27 #include <asm/arch/mux.h>
28 #include <asm/arch/sys_proto.h>
29 #include <asm/arch/emac_defs.h>
33 #include <asm/mach-types.h>
36 DECLARE_GLOBAL_DATA_PTR;
40 * Description: Early hardware init.
44 gpmc_init(); /* in SRAM or SDRAM, finish GPMC */
45 gd->bd->bi_boot_params = (OMAP34XX_SDRC_CS0 + 0x100);
47 gpio_request(30, "RESOUT");
48 gpio_direction_output(30, 1);
53 * Routine: set_muxconf_regs
54 * Description: Setting up the configuration Mux registers specific to the
55 * hardware. Many pins need to be moved from protect to primary
58 void set_muxconf_regs(void)