[U-Boot] [PATCH] TI: DaVinci: Adding GIO addresses to header file

From: Sandeep Paulraj s-paulraj@ti.com
This patch adds GIO definitions to the hardware.h header file
Signed-off-by: Sandeep Paulraj s-paulraj@ti.com --- include/asm-arm/arch-davinci/hardware.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-)
diff --git a/include/asm-arm/arch-davinci/hardware.h b/include/asm-arm/arch-davinci/hardware.h index 313b3f3..3d31d24 100644 --- a/include/asm-arm/arch-davinci/hardware.h +++ b/include/asm-arm/arch-davinci/hardware.h @@ -181,6 +181,29 @@ void davinci_errata_workarounds(void);
#define PSC_SILVER_BULLET (0x01c41a20)
+/* GIO registers */ +#define GIO_BINTEN 0x01C67008 +#define GIO_DIR01 0x01C67010 +#define GIO_OUT_DATA01 0x01C67014 +#define GIO_SET_DATA01 0x01C67018 +#define GIO_CLR_DATA01 0x01C6701C +#define GIO_SET_RIS_TRIG01 0x01C67024 + +#define GIO_DIR23 0x01C67038 +#define GIO_OUT_DATA23 0x01C6703c +#define GIO_SET_DATA23 0x01C67040 +#define GIO_CLR_DATA23 0x01C67044 + +#define GIO_DIR45 0x01C67060 +#define GIO_OUT_DATA45 0x01C67064 +#define GIO_SET_DATA45 0x01C67068 +#define GIO_CLR_DATA45 0x01C6706C + +#define GIO_DIR06 0x01C67088 +#define GIO_OUT_DATA06 0x01C6708C +#define GIO_SET_DATA06 0x01C67090 +#define GIO_CLR_DATA06 0x01C67094 + /* Miscellania... */ #define VBPR (0x20000020)

From: Sandeep Paulraj s-paulraj@ti.com
This patch adds GIO definitions to the hardware.h header file
Signed-off-by: Sandeep Paulraj s-paulraj@ti.com
include/asm-arm/arch-davinci/hardware.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-)
Pushed to u-boot-ti

Dear "Paulraj, Sandeep",
In message 0554BEF07D437848AF01B9C9B5F0BC5D92854987@dlee01.ent.ti.com you wrote:
From: Sandeep Paulraj s-paulraj@ti.com
This patch adds GIO definitions to the hardware.h header file
Signed-off-by: Sandeep Paulraj s-paulraj@ti.com
include/asm-arm/arch-davinci/hardware.h | 23 +++++++++++++++++++++++ 1 files changed, 23 insertions(+), 0 deletions(-)
Pushed to u-boot-ti
Sorry, I just NAKed that patch.
Best regards,
Wolfgang Denk

Dear s-paulraj@ti.com,
In message 1252783655-13545-1-git-send-email-s-paulraj@ti.com you wrote:
From: Sandeep Paulraj s-paulraj@ti.com
This patch adds GIO definitions to the hardware.h header file
Signed-off-by: Sandeep Paulraj s-paulraj@ti.com
NAK. Please do not add such address lists. Please use C structures to describe the hardware mapping.
Best regards,
Wolfgang Denk
participants (3)
-
Paulraj, Sandeep
-
s-paulraj@ti.com
-
Wolfgang Denk