blob: 3dff1d65b3265fcb71214bbcfde087a3e0697add [file] [log] [blame]
Niklaus Giger69b06342008-01-17 12:53:56 +01001/*
2 *(C) Copyright 2005-2007 Netstal Maschinen AG
3 * Niklaus Giger (Niklaus.Giger@netstal.com)
4 *
5 * This source code is free software; you can redistribute it
6 * and/or modify it in source code form under the terms of the GNU
7 * General Public License as published by the Free Software
8 * Foundation; either version 2 of the License, or (at your option)
9 * any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
19 */
20
21extern void hcu_led_set(u32 value);
22extern u32 get_serial_number(void);
23extern u32 hcu_get_slot(void);
24extern int board_with_pci(void);
25extern void nm_show_print(int generation, int index, int hw_capabilities);
26extern void set_params_for_sw_install(int install_requested, char *board_name );
27extern void common_misc_init_r(void);
28
29enum {
Niklaus Giger74973122008-02-05 11:31:28 +010030 /* HW_GENERATION_HCU1/2 is no longer supported */
Niklaus Giger69b06342008-01-17 12:53:56 +010031 HW_GENERATION_HCU3 = 0x10,
32 HW_GENERATION_HCU4 = 0x20,
33 HW_GENERATION_HCU5 = 0x30,
34 HW_GENERATION_MCU = 0x08,
35 HW_GENERATION_MCU20 = 0x0a,
36 HW_GENERATION_MCU25 = 0x09,
37};
Niklaus Giger74973122008-02-05 11:31:28 +010038
39#ifdef CONFIG_405GP
40#if defined(DEBUG)
41void show_sdram_registers(void);
42#endif
43long int init_ppc405_sdram(unsigned int dram_size);
44#endif