X-Git-Url: http://review.tizen.org/git/?p=platform%2Fkernel%2Fu-boot.git;a=blobdiff_plain;f=board%2Fpn62%2Fpn62.h;h=f356a40f07ca8a7f2324ddbf69ef45bd59ba750d;hp=7bda0ad9d0b8d00488c06a7771b3c7aa60de8d20;hb=53677ef18e25c97ac613349087c5cb33ae5a2741;hpb=727f63334676e760877d43bfb8f0e9331ac8b101 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);