diff options
author | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-08-20 08:28:30 -0400 |
---|---|---|
committer | Josh Boyer <jwboyer@linux.vnet.ibm.com> | 2007-08-20 08:28:30 -0400 |
commit | e90f3b74d884d0f2826e06dbab4f615ca346eaa4 (patch) | |
tree | 19b10d012a78ec644c7ce65be5df1c9d80f96ddc /arch/powerpc/boot/4xx.h | |
parent | 869680c16fb028ac4ad9a449283e0514789c654a (diff) |
[POWERPC] 4xx bootwrapper reworks
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>
Diffstat (limited to 'arch/powerpc/boot/4xx.h')
-rw-r--r-- | arch/powerpc/boot/4xx.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/powerpc/boot/4xx.h b/arch/powerpc/boot/4xx.h new file mode 100644 index 000000000000..65008427e03f --- /dev/null +++ b/arch/powerpc/boot/4xx.h | |||
@@ -0,0 +1,20 @@ | |||
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 | |||
14 | void ibm4xx_fixup_memsize(void); | ||
15 | void ibm44x_dbcr_reset(void); | ||
16 | void ibm40x_dbcr_reset(void); | ||
17 | void ibm4xx_quiesce_eth(u32 *emac0, u32 *emac1); | ||
18 | void ibm4xx_fixup_ebc_ranges(const char *ebc); | ||
19 | |||
20 | #endif /* _POWERPC_BOOT_4XX_H_ */ | ||