blob: 7dc5d45361bccf76251c66af3226ac374cfe966c [file] [log] [blame]
Josh Boyere90f3b72007-08-20 07:28:30 -05001/*
2 * PowerPC 4xx related functions
3 *
4 * Copyright 2007 IBM Corporation.
5 * Josh Boyer <jwboyer@linux.vnet.ibm.com>
6 *
7 * This file is licensed under the terms of the GNU General Public
8 * License version 2. This program is licensed "as is" without any
9 * warranty of any kind, whether express or implied.
10 */
11#ifndef _POWERPC_BOOT_4XX_H_
12#define _POWERPC_BOOT_4XX_H_
13
Benjamin Herrenschmidtd23f5092007-12-21 15:39:31 +110014void ibm4xx_sdram_fixup_memsize(void);
15void ibm440spe_fixup_memsize(void);
Valentine Barshak606d08b2007-08-29 17:38:30 +040016void ibm4xx_denali_fixup_memsize(void);
Josh Boyere90f3b72007-08-20 07:28:30 -050017void ibm44x_dbcr_reset(void);
18void ibm40x_dbcr_reset(void);
19void ibm4xx_quiesce_eth(u32 *emac0, u32 *emac1);
20void ibm4xx_fixup_ebc_ranges(const char *ebc);
Benjamin Herrenschmidt190de002007-12-21 15:39:33 +110021
22void ibm405gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
Matthias Fuchs2af59f72007-12-07 09:23:05 +110023void ibm405ep_fixup_clocks(unsigned int sys_clk);
Tiejun Chen0484c1d2009-08-22 16:03:43 +000024void ibm405ex_fixup_clocks(unsigned int sys_clk, unsigned int uart_clk);
Benjamin Herrenschmidt190de002007-12-21 15:39:33 +110025void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
26void ibm440ep_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
27 unsigned int tmr_clk);
28void ibm440gx_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
29 unsigned int tmr_clk);
30void ibm440spe_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
31 unsigned int tmr_clk);
Josh Boyere90f3b72007-08-20 07:28:30 -050032
33#endif /* _POWERPC_BOOT_4XX_H_ */