]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - board/pn62/pn62.h
imported Ka-Ro specific additions to U-Boot 2009.08 for TX28
[karo-tx-uboot.git] / board / pn62 / pn62.h
index 7bda0ad9d0b8d00488c06a7771b3c7aa60de8d20..f356a40f07ca8a7f2324ddbf69ef45bd59ba750d 100755 (executable)
@@ -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
  * 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
 
 /*
 /*
  * 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);