]> git.ipfire.org Git - people/ms/u-boot.git/blame - include/mpc85xx.h
NAND: Fix integer overflow in ONFI detection of chips >= 4GiB
[people/ms/u-boot.git] / include / mpc85xx.h
CommitLineData
42d1f039 1/*
61a21e98 2 * Copyright 2004, 2007 Freescale Semiconductor.
42d1f039 3 * Copyright(c) 2003 Motorola Inc.
42d1f039
WD
4 */
5
6#ifndef __MPC85xx_H__
7#define __MPC85xx_H__
8
61a21e98
AF
9/* define for common ppc_asm.tmpl */
10#define EXC_OFF_SYS_RESET 0x100 /* System reset */
11#define _START_OFFSET 0
42d1f039
WD
12
13#if defined(CONFIG_E500)
14#include <e500.h>
15#endif
16
0ac6f8b7
WD
17/*
18 * SCCR - System Clock Control Register, 9-8
42d1f039 19 */
0ac6f8b7
WD
20#define SCCR_CLPD 0x00000004 /* CPM Low Power Disable */
21#define SCCR_DFBRG_MSK 0x00000003 /* Division by BRGCLK Mask */
42d1f039
WD
22#define SCCR_DFBRG_SHIFT 0
23
0ac6f8b7
WD
24#define SCCR_DFBRG00 0x00000000 /* BRGCLK division by 4 */
25#define SCCR_DFBRG01 0x00000001 /* BRGCLK div by 16 (normal) */
26#define SCCR_DFBRG10 0x00000002 /* BRGCLK division by 64 */
27#define SCCR_DFBRG11 0x00000003 /* BRGCLK division by 256 */
42d1f039
WD
28
29#endif /* __MPC85xx_H__ */