#include <stddef.h>
#include "types.h"
#include "string.h"
#include "stdio.h"
#include "ops.h"
#include "reg.h"
#include "dcr.h"
Go to the source code of this file.
|
void | ibm4xx_sdram_fixup_memsize (void) |
|
void | ibm440spe_fixup_memsize (void) |
|
void | ibm4xx_denali_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) |
|
void | ibm440gp_fixup_clocks (unsigned int sys_clk, unsigned int ser_clk) |
|
void | ibm440ep_fixup_clocks (unsigned int sys_clk, unsigned int ser_clk, unsigned int tmr_clk) |
|
void | ibm440gx_fixup_clocks (unsigned int sys_clk, unsigned int ser_clk, unsigned int tmr_clk) |
|
void | ibm440spe_fixup_clocks (unsigned int sys_clk, unsigned int ser_clk, unsigned int tmr_clk) |
|
void | ibm405gp_fixup_clocks (unsigned int sys_clk, unsigned int ser_clk) |
|
void | ibm405ep_fixup_clocks (unsigned int sys_clk) |
|
u32 | ibm405ex_get_fwdva (unsigned long cpr_fwdv) |
|
u32 | ibm405ex_get_fbdv (unsigned long cpr_fbdv) |
|
void | ibm405ex_fixup_clocks (unsigned int sys_clk, unsigned int uart_clk) |
|
#define DBCR0_RST_SYSTEM 0x30000000 |
#define DCRN_MQ0_B0BAS 0x40 |
Definition at line 65 of file 4xx.c.
#define DCRN_MQ0_B1BAS 0x41 |
Definition at line 66 of file 4xx.c.
#define DCRN_MQ0_B2BAS 0x42 |
Definition at line 67 of file 4xx.c.
#define DCRN_MQ0_B3BAS 0x43 |
Definition at line 68 of file 4xx.c.
#define DDR_APIN_SHIFT 24 |
#define DDR_BANK8_SHIFT 0 |
#define DDR_COL_SZ_SHIFT 8 |
#define DDR_CS_MAP_SHIFT 8 |
#define DDR_DDR2_MODE 0x1 |
#define DDR_DDR2_MODE_SHIFT 0 |
#define DDR_GET_VAL |
( |
|
val, |
|
|
|
mask, |
|
|
|
shift |
|
) |
| (((val) >> (shift)) & (mask)) |
#define DDR_MAX_COL_REG 0xf |
#define DDR_MAX_COL_REG_SHIFT 16 |
#define DDR_MAX_CS_REG 0x3 |
#define DDR_MAX_CS_REG_SHIFT 24 |
#define DDR_MAX_ROW_REG 0xf |
#define DDR_MAX_ROW_REG_SHIFT 8 |
#define DDR_REDUC_SHIFT 16 |
#define DDR_START_SHIFT 0 |
#define EMAC_RESET 0x20000000 |
#define SPRN_DBCR0_40X 0x3F2 |
#define SPRN_DBCR0_44X 0x134 |
void ibm405ep_fixup_clocks |
( |
unsigned int |
sys_clk | ) |
|
void ibm405ex_fixup_clocks |
( |
unsigned int |
sys_clk, |
|
|
unsigned int |
uart_clk |
|
) |
| |
u32 ibm405ex_get_fbdv |
( |
unsigned long |
cpr_fbdv | ) |
|
u32 ibm405ex_get_fwdva |
( |
unsigned long |
cpr_fwdv | ) |
|
void ibm405gp_fixup_clocks |
( |
unsigned int |
sys_clk, |
|
|
unsigned int |
ser_clk |
|
) |
| |
void ibm440ep_fixup_clocks |
( |
unsigned int |
sys_clk, |
|
|
unsigned int |
ser_clk, |
|
|
unsigned int |
tmr_clk |
|
) |
| |
void ibm440gp_fixup_clocks |
( |
unsigned int |
sys_clk, |
|
|
unsigned int |
ser_clk |
|
) |
| |
void ibm440gx_fixup_clocks |
( |
unsigned int |
sys_clk, |
|
|
unsigned int |
ser_clk, |
|
|
unsigned int |
tmr_clk |
|
) |
| |
void ibm440spe_fixup_clocks |
( |
unsigned int |
sys_clk, |
|
|
unsigned int |
ser_clk, |
|
|
unsigned int |
tmr_clk |
|
) |
| |
void ibm4xx_denali_fixup_memsize |
( |
void |
| ) |
|
void ibm4xx_quiesce_eth |
( |
u32 * |
emac0, |
|
|
u32 * |
emac1 |
|
) |
| |
void ibm4xx_sdram_fixup_memsize |
( |
void |
| ) |
|
Definition at line 48 of file 4xx.c.