Josh Boyer | e90f3b7 | 2007-08-20 07:28:30 -0500 | [diff] [blame] | 1 | /* |
| 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 Herrenschmidt | d23f509 | 2007-12-21 15:39:31 +1100 | [diff] [blame] | 14 | void ibm4xx_sdram_fixup_memsize(void); |
| 15 | void ibm440spe_fixup_memsize(void); |
Valentine Barshak | 606d08b | 2007-08-29 17:38:30 +0400 | [diff] [blame] | 16 | void ibm4xx_denali_fixup_memsize(void); |
Josh Boyer | e90f3b7 | 2007-08-20 07:28:30 -0500 | [diff] [blame] | 17 | void ibm44x_dbcr_reset(void); |
| 18 | void ibm40x_dbcr_reset(void); |
| 19 | void ibm4xx_quiesce_eth(u32 *emac0, u32 *emac1); |
| 20 | void ibm4xx_fixup_ebc_ranges(const char *ebc); |
Benjamin Herrenschmidt | 190de00 | 2007-12-21 15:39:33 +1100 | [diff] [blame] | 21 | |
| 22 | void ibm405gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk); |
Matthias Fuchs | 2af59f7 | 2007-12-07 09:23:05 +1100 | [diff] [blame] | 23 | void ibm405ep_fixup_clocks(unsigned int sys_clk); |
Benjamin Herrenschmidt | 190de00 | 2007-12-21 15:39:33 +1100 | [diff] [blame] | 24 | void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk); |
| 25 | void ibm440ep_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk, |
| 26 | unsigned int tmr_clk); |
| 27 | void ibm440gx_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk, |
| 28 | unsigned int tmr_clk); |
| 29 | void ibm440spe_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk, |
| 30 | unsigned int tmr_clk); |
Josh Boyer | e90f3b7 | 2007-08-20 07:28:30 -0500 | [diff] [blame] | 31 | |
| 32 | #endif /* _POWERPC_BOOT_4XX_H_ */ |