Skip to contentSkip to conversation

da8xxevm: fix build error

PATCH New prabhakar.csengg at gmail.com 2 participants 2 messages Nov 8, 2011 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 da8xxevm: fix build error

From: Prabhakar Lad <[email protected]>

This patch fixes following compile error for da8xx evm

da830evm.c: In function 'board_init':
da830evm.c:222: error: 'DAVINCI_SYSCFG_SUSPSRC_UART2' undeclared (first use in this function) da830evm.c:222: error: (Each undeclared identifier is reported only once da830evm.c:222: error: for each function it appears in.)
make[2]: *** [da830evm.o] Error 1

similarly for da850evm.

introduced through commit:
f9fc237f1f07d4e5ff7c9c2da39cabc8d3d7b339

---
 arch/arm/include/asm/arch-davinci/hardware.h |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/include/asm/arch-davinci/hardware.h +1 -0
index bea1499..ee8fd43 100644
@@ -468,6 +468,7 @@ struct davinci_syscfg_regs {
 #define DAVINCI_SYSCFG_SUSPSRC_SPI0		(1 << 21)
 #define DAVINCI_SYSCFG_SUSPSRC_SPI1		(1 << 22)
 #define DAVINCI_SYSCFG_SUSPSRC_UART0		(1 << 18)
+#define DAVINCI_SYSCFG_SUSPSRC_UART2		(1 << 20)
 #define DAVINCI_SYSCFG_SUSPSRC_TIMER0		(1 << 27)
 
 struct davinci_syscfg1_regs {
Signature · 1 line
1.7.0.4
#1 lore raw

PATCH 1/1 da8xxevm: fix build error

Quoted 11 lines · On Tue, Nov 8, 2011 at 6:02 AM, <[email protected]> wrote:

From: Prabhakar Lad <[email protected]>

This patch fixes following compile error for da8xx evm

da830evm.c: In function 'board_init':
da830evm.c:222: error: 'DAVINCI_SYSCFG_SUSPSRC_UART2' undeclared (first use in this function) da830evm.c:222: error: (Each undeclared identifier is reported only once da830evm.c:222: error: for each function it appears in.)
make[2]: *** [da830evm.o] Error 1

similarly for da850evm.

Uh, this is really bad... Thanks a lot!

On da850evm:

Sandeep Paulraj, can you please take this patch?

Regards, Christian

Quoted 29 lines

introduced through commit:
f9fc237f1f07d4e5ff7c9c2da39cabc8d3d7b339

---
?arch/arm/include/asm/arch-davinci/hardware.h | ? ?1 + ?1 files changed, 1 insertions(+), 0 deletions(-)

arch/arm/include/asm/arch-davinci/hardware.h +1 -1
index bea1499..ee8fd43 100644
@@ -468,6 +468,7 @@ struct davinci_syscfg_regs {
 ?#define DAVINCI_SYSCFG_SUSPSRC_SPI0 ? ? ? ? ? ?(1 << 21)
 ?#define DAVINCI_SYSCFG_SUSPSRC_SPI1 ? ? ? ? ? ?(1 << 22)
 ?#define DAVINCI_SYSCFG_SUSPSRC_UART0 ? ? ? ? ? (1 << 18)
+#define DAVINCI_SYSCFG_SUSPSRC_UART2 ? ? ? ? ? (1 << 20)
 ?#define DAVINCI_SYSCFG_SUSPSRC_TIMER0 ? ? ? ? ?(1 << 27)
 
 ?struct davinci_syscfg1_regs {
--

1.7.0.4

_______________________________________________
U-Boot mailing list
U-Boot at lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot