Skip to contentSkip to conversation

i2c, avr32: fix compiler warning "input is not relaxable"

PATCH In review Heiko Schocher 4 participants 4 messages Nov 17, 2015 – Nov 23, 2015 I2C

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 i2c, avr32: fix compiler warning "input is not relaxable"

compiling U-Boot for avr32 boards shows since
commit 3d1957f0ea01 "dm: i2c: Add support for multiplexed I2C buses" this warning:

Building current source for 4 boards (4 threads, 8 jobs per thread)

     avr32:  +   atstk1002
+(atstk1002) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   grasshopper
+(grasshopper) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   atngw100
+(atngw100) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   atngw100mkii
+(atngw100mkii) drivers/i2c/built-in.o: warning: input is not relaxable
    0    4    0 /4      0:00:16  : atngw100mkii

Fix it.

---

 drivers/i2c/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/Makefile +1 -1
index 32198bd..811ad9b 100644
@@ -40,4 +40,4 @@ obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o
 obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o
 obj-$(CONFIG_SYS_I2C_ZYNQ) += zynq_i2c.o
 
-obj-y += muxes/
+obj-$(CONFIG_I2C_MUX) += muxes/
Signature · 1 line
2.1.0
#1 lore raw

PATCH 1/1 i2c, avr32: fix compiler warning "input is not relaxable"

Thanks Heiko!

Quoted 44 lines

-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Dienstag, 17. November 2015 12:23
To: U-Boot Mailing List <[email protected]>
Cc: Heiko Schocher <[email protected]>; Andreas Bie?mann <[email protected]>; Meier, Roger <[email protected]>; Simon Glass <[email protected]>
Subject: [PATCH] i2c, avr32: fix compiler warning "input is not relaxable"

compiling U-Boot for avr32 boards shows since
commit 3d1957f0ea01 "dm: i2c: Add support for multiplexed I2C buses" this warning:

Building current source for 4 boards (4 threads, 8 jobs per thread)

     avr32:  +   atstk1002
(quoted diff) +4 -0
+(atstk1002) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   grasshopper
+(grasshopper) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   atngw100
+(atngw100) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   atngw100mkii
+(atngw100mkii) drivers/i2c/built-in.o: warning: input is not relaxable
    0    4    0 /4      0:00:16  : atngw100mkii

Fix it.

---

 drivers/i2c/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/Makefile +1 -2
index 32198bd..811ad9b 100644
@@ -40,4 +40,4 @@ obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o
 obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o
 obj-$(CONFIG_SYS_I2C_ZYNQ) += zynq_i2c.o
 
-obj-y += muxes/
+obj-$(CONFIG_I2C_MUX) += muxes/
--
Quoted 1 line

2.1.0

#2 lore raw

PATCH 1/1 i2c, avr32: fix compiler warning "input is not relaxable"

Quoted 43 lines · Roger

Thanks Heiko!

Quoted 41 lines

-----Original Message-----
From: Heiko Schocher [mailto:hs at denx.de]
Sent: Dienstag, 17. November 2015 12:23
To: U-Boot Mailing List <[email protected]>
Cc: Heiko Schocher <[email protected]>; Andreas Bie?mann <[email protected]>; Meier, Roger <[email protected]>; Simon Glass <[email protected]>
Subject: [PATCH] i2c, avr32: fix compiler warning "input is not relaxable"

compiling U-Boot for avr32 boards shows since
commit 3d1957f0ea01 "dm: i2c: Add support for multiplexed I2C buses" this warning:

Building current source for 4 boards (4 threads, 8 jobs per thread)

     avr32:  +   atstk1002
(quoted diff) +4 -0
+(atstk1002) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   grasshopper
+(grasshopper) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   atngw100
+(atngw100) drivers/i2c/built-in.o: warning: input is not relaxable
     avr32:  +   atngw100mkii
+(atngw100mkii) drivers/i2c/built-in.o: warning: input is not relaxable
    0    4    0 /4      0:00:16  : atngw100mkii

Fix it.

---

 drivers/i2c/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/i2c/Makefile +0 -0
index 32198bd..811ad9b 100644
@@ -40,4 +40,4 @@ obj-$(CONFIG_SYS_I2C_UNIPHIER) += i2c-uniphier.o
 obj-$(CONFIG_SYS_I2C_UNIPHIER_F) += i2c-uniphier-f.o
 obj-$(CONFIG_SYS_I2C_ZYNQ) += zynq_i2c.o
 
Quoted 7 lines
Quoted 4 lines
drivers/i2c/Makefile +1 -2
-obj-y += muxes/
+obj-$(CONFIG_I2C_MUX) += muxes/
--

2.1.0

#3 lore raw
In reply to Heiko Schocher

Dear Heiko Schocher,

Quoted 17 lines · Heiko Schocher

compiling U-Boot for avr32 boards shows since
commit 3d1957f0ea01 "dm: i2c: Add support for multiplexed I2C buses" this warning:

Building current source for 4 boards (4 threads, 8 jobs per thread)

    avr32:  +   atstk1002
(quoted diff) +4 -0
+(atstk1002) drivers/i2c/built-in.o: warning: input is not relaxable
    avr32:  +   grasshopper
+(grasshopper) drivers/i2c/built-in.o: warning: input is not relaxable
    avr32:  +   atngw100
+(atngw100) drivers/i2c/built-in.o: warning: input is not relaxable
    avr32:  +   atngw100mkii
+(atngw100mkii) drivers/i2c/built-in.o: warning: input is not relaxable
   0    4    0 /4      0:00:16  : atngw100mkii

Fix it.

Quoted 8 lines

---

drivers/i2c/Makefile | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)

applied to u-boot-avr32/master, thanks!

Best regards,
Andreas Bie?mann