Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cuboot-acadia.c File Reference
#include "ops.h"
#include "io.h"
#include "dcr.h"
#include "stdio.h"
#include "4xx.h"
#include "44x.h"
#include "cuboot.h"
#include "ppcboot.h"

Go to the source code of this file.

Macros

#define TARGET_4xx
 
#define CPR_PERD0_SPIDV_MASK   0x000F0000 /* SPI Clock Divider */
 
#define PLLC_SRC_MASK   0x20000000 /* PLL feedback source */
 
#define PLLD_FBDV_MASK   0x1F000000 /* PLL feedback divider value */
 
#define PLLD_FWDVA_MASK   0x000F0000 /* PLL forward divider A value */
 
#define PLLD_FWDVB_MASK   0x00000700 /* PLL forward divider B value */
 
#define PRIMAD_CPUDV_MASK   0x0F000000 /* CPU Clock Divisor Mask */
 
#define PRIMAD_PLBDV_MASK   0x000F0000 /* PLB Clock Divisor Mask */
 
#define PRIMAD_OPBDV_MASK   0x00000F00 /* OPB Clock Divisor Mask */
 
#define PRIMAD_EBCDV_MASK   0x0000000F /* EBC Clock Divisor Mask */
 
#define PERD0_PWMDV_MASK   0xFF000000 /* PWM Divider Mask */
 
#define PERD0_SPIDV_MASK   0x000F0000 /* SPI Divider Mask */
 
#define PERD0_U0DV_MASK   0x0000FF00 /* UART 0 Divider Mask */
 
#define PERD0_U1DV_MASK   0x000000FF /* UART 1 Divider Mask */
 

Functions

void platform_init (unsigned long r3, unsigned long r4, unsigned long r5, unsigned long r6, unsigned long r7)
 

Macro Definition Documentation

#define CPR_PERD0_SPIDV_MASK   0x000F0000 /* SPI Clock Divider */

Definition at line 26 of file cuboot-acadia.c.

#define PERD0_PWMDV_MASK   0xFF000000 /* PWM Divider Mask */

Definition at line 39 of file cuboot-acadia.c.

#define PERD0_SPIDV_MASK   0x000F0000 /* SPI Divider Mask */

Definition at line 40 of file cuboot-acadia.c.

#define PERD0_U0DV_MASK   0x0000FF00 /* UART 0 Divider Mask */

Definition at line 41 of file cuboot-acadia.c.

#define PERD0_U1DV_MASK   0x000000FF /* UART 1 Divider Mask */

Definition at line 42 of file cuboot-acadia.c.

#define PLLC_SRC_MASK   0x20000000 /* PLL feedback source */

Definition at line 28 of file cuboot-acadia.c.

#define PLLD_FBDV_MASK   0x1F000000 /* PLL feedback divider value */

Definition at line 30 of file cuboot-acadia.c.

#define PLLD_FWDVA_MASK   0x000F0000 /* PLL forward divider A value */

Definition at line 31 of file cuboot-acadia.c.

#define PLLD_FWDVB_MASK   0x00000700 /* PLL forward divider B value */

Definition at line 32 of file cuboot-acadia.c.

#define PRIMAD_CPUDV_MASK   0x0F000000 /* CPU Clock Divisor Mask */

Definition at line 34 of file cuboot-acadia.c.

#define PRIMAD_EBCDV_MASK   0x0000000F /* EBC Clock Divisor Mask */

Definition at line 37 of file cuboot-acadia.c.

#define PRIMAD_OPBDV_MASK   0x00000F00 /* OPB Clock Divisor Mask */

Definition at line 36 of file cuboot-acadia.c.

#define PRIMAD_PLBDV_MASK   0x000F0000 /* PLB Clock Divisor Mask */

Definition at line 35 of file cuboot-acadia.c.

#define TARGET_4xx

Definition at line 21 of file cuboot-acadia.c.

Function Documentation

void platform_init ( unsigned long  r3,
unsigned long  r4,
unsigned long  r5,
unsigned long  r6,
unsigned long  r7 
)

Definition at line 166 of file cuboot-acadia.c.