diff options
author | Jon Loeliger <jdl@freescale.com> | 2008-06-06 10:48:31 -0500 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2008-06-06 10:48:31 -0500 |
commit | 1a247ba7fa5fb09f56892a09a990f03ce564b3e2 (patch) | |
tree | 9dab0ef013cc6dc7883454808ecf6ba4d7a7a94e /board/pn62/pn62.h | |
parent | 2c289e320dcfb3760e99cf1d765cb067194a1202 (diff) | |
parent | 8155efbd7ae9c65564ca98affe94631d612ae088 (diff) | |
download | u-boot-imx-1a247ba7fa5fb09f56892a09a990f03ce564b3e2.zip u-boot-imx-1a247ba7fa5fb09f56892a09a990f03ce564b3e2.tar.gz u-boot-imx-1a247ba7fa5fb09f56892a09a990f03ce564b3e2.tar.bz2 |
Merge commit 'wd/master'
Diffstat (limited to 'board/pn62/pn62.h')
-rw-r--r-- | board/pn62/pn62.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/board/pn62/pn62.h b/board/pn62/pn62.h index 7bda0ad..f356a40 100644 --- a/board/pn62/pn62.h +++ b/board/pn62/pn62.h @@ -26,8 +26,8 @@ /* * Definitions for the Intel Bridge 21554 or 21555. */ -#define I2155X_VPD_ADDR 0xe6 -#define I2155X_VPD_DATA 0xe8 +#define I2155X_VPD_ADDR 0xe6 +#define I2155X_VPD_DATA 0xe8 #define I2155X_VPD_START 0x80 #define I2155X_VPD_SN_START 0x80 @@ -65,17 +65,17 @@ * Definitions for boot protocol using Scratchpad registers. */ #define BOOT_DONE 0 -#define BOOT_DONE_CLEAR 0x00dead00 -#define BOOT_DONE_ERROR 0xbad0dead -#define BOOT_DONE_U_BOOT 0x12345678 -#define BOOT_DONE_LINUX 0x87654321 -#define BOOT_CMD 1 -#define BOOT_CMD_MOVE 0x1 -#define BOOT_CMD_BOOT 0x2 +#define BOOT_DONE_CLEAR 0x00dead00 +#define BOOT_DONE_ERROR 0xbad0dead +#define BOOT_DONE_U_BOOT 0x12345678 +#define BOOT_DONE_LINUX 0x87654321 +#define BOOT_CMD 1 +#define BOOT_CMD_MOVE 0x1 +#define BOOT_CMD_BOOT 0x2 #define BOOT_DATA 2 #define BOOT_PROTO 3 -#define BOOT_PROTO_READY 0x23456789 -#define BOOT_PROTO_CLEAR 0x00000000 +#define BOOT_PROTO_READY 0x23456789 +#define BOOT_PROTO_CLEAR 0x00000000 #define BOOT_STATUS 4 /* @@ -145,15 +145,15 @@ /* * Forward declarations */ -int i2155x_init (void); +int i2155x_init (void); void i2155x_write_scrapad(int idx, u32 val); u32 i2155x_read_scrapad (int idx); void i2155x_set_bar_base (int bar, u32 addr); -int i2155x_read_vpd (int offset, int size, unsigned char *data); +int i2155x_read_vpd (int offset, int size, unsigned char *data); int am79c95x_init (void); -void set_led (unsigned int number, unsigned int function); +void set_led (unsigned int number, unsigned int function); void fatal_error (unsigned int error_code); void show_startup_phase (int phase); |