xref: /linux/arch/powerpc/boot/4xx.h (revision c532de5a67a70f8533d495f8f2aaa9a0491c3ad0)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 /*
3  * PowerPC 4xx related functions
4  *
5  * Copyright 2007 IBM Corporation.
6  * Josh Boyer <jwboyer@linux.vnet.ibm.com>
7  */
8 #ifndef _POWERPC_BOOT_4XX_H_
9 #define _POWERPC_BOOT_4XX_H_
10 
11 void ibm4xx_sdram_fixup_memsize(void);
12 void ibm440spe_fixup_memsize(void);
13 void ibm4xx_denali_fixup_memsize(void);
14 void ibm44x_dbcr_reset(void);
15 void ibm4xx_quiesce_eth(u32 *emac0, u32 *emac1);
16 void ibm4xx_fixup_ebc_ranges(const char *ebc);
17 
18 void ibm440gp_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk);
19 void ibm440ep_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
20 			   unsigned int tmr_clk);
21 void ibm440gx_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
22 			   unsigned int tmr_clk);
23 void ibm440spe_fixup_clocks(unsigned int sys_clk, unsigned int ser_clk,
24 			    unsigned int tmr_clk);
25 
26 #endif /* _POWERPC_BOOT_4XX_H_ */
27