forked from Minki/linux
e90f3b74d8
Make the fixup_memsize function common for all of 4xx as several chips share the same SDRAM controller. Also add functions to reset 40x chips and quiesce the ethernet. Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
21 lines
595 B
C
21 lines
595 B
C
/*
|
|
* PowerPC 4xx related functions
|
|
*
|
|
* Copyright 2007 IBM Corporation.
|
|
* Josh Boyer <jwboyer@linux.vnet.ibm.com>
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public
|
|
* License version 2. This program is licensed "as is" without any
|
|
* warranty of any kind, whether express or implied.
|
|
*/
|
|
#ifndef _POWERPC_BOOT_4XX_H_
|
|
#define _POWERPC_BOOT_4XX_H_
|
|
|
|
void ibm4xx_fixup_memsize(void);
|
|
void ibm44x_dbcr_reset(void);
|
|
void ibm40x_dbcr_reset(void);
|
|
void ibm4xx_quiesce_eth(u32 *emac0, u32 *emac1);
|
|
void ibm4xx_fixup_ebc_ranges(const char *ebc);
|
|
|
|
#endif /* _POWERPC_BOOT_4XX_H_ */
|