Skip to contentSkip to conversation

at91sam9260ek: fix broken defconfig

PATCH In review Hubert Feurstein 2 participants 4 messages Sep 14, 2011 – Sep 15, 2011

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/2 at91sam9260ek: fix broken defconfig

The defconfig was broken in commit

cbf46b2 "at91: Support for at91rm9200: core chip & board support"

because ARCH_AT91RM9200 was added before ARCH_AT91SAM9260 in Kconfig.

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
 arch/arm/configs/at91sam9260ek_defconfig |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/at91sam9260ek_defconfig +1 -0
index 6038aec..2d04206 100644
@@ -1,3 +1,4 @@
+CONFIG_ARCH_AT91SAM9260=y
 CONFIG_ARM_OPTIMZED_STRING_FUNCTIONS=y
 CONFIG_LONGHELP=y
 CONFIG_GLOB=y
Signature · 7 lines
1.7.4.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#1 lore raw

PATCH 2/2 at91sam9260: remove remaining 'at91_clock_associate' function

This fixes the following compile warning when MCI_ATMEL is selected:
arch/arm/mach-at91/at91sam9260_devices.c: In function 'at91_add_device_mci':
arch/arm/mach-at91/at91sam9260_devices.c:251:2: warning: implicit declaration of function 'at91_clock_associate'

Introduced in commit:
"at91: swtich to clkdev" (ae19fe26cc230bc38238c2d66b8f464761286316)

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
---
 arch/arm/mach-at91/at91sam9260_devices.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-at91/at91sam9260_devices.c +0 -1
index 4540f4b..44d3f1e 100644
@@ -248,7 +248,6 @@ void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data)
 
 	dev = add_generic_device("atmel_mci", 0, NULL, AT91SAM9260_BASE_MCI, SZ_16K,
 			   IORESOURCE_MEM, data);
-	at91_clock_associate("mci_clk", dev, "mci_clk");
 }
 #else
 void at91_add_device_mci(short mmc_id, struct atmel_mci_platform_data *data) {}
Signature · 7 lines
1.7.4.1


_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox
#3 lore raw
In reply to Hubert Feurstein
Quoted 5 lines · Hubert Feurstein

The defconfig was broken in commit

cbf46b2 "at91: Support for at91rm9200: core chip & board support"

because ARCH_AT91RM9200 was added before ARCH_AT91SAM9260 in Kconfig.

in fact it's due to savedefconfig that remove the entry when we switch to the new format not to the add of the rm9200 support

so please update the commit

Quoted 3 lines
Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox

#2 lore raw

Re: [PATCH 2/2] at91sam9260: remove remaining 'at91_clock_associate' function

In reply to Hubert Feurstein
Quoted 9 lines · Hubert Feurstein

This fixes the following compile warning when MCI_ATMEL is selected:
arch/arm/mach-at91/at91sam9260_devices.c: In function 'at91_add_device_mci':
arch/arm/mach-at91/at91sam9260_devices.c:251:2: warning: implicit declaration of function 'at91_clock_associate'

Introduced in commit:
"at91: swtich to clkdev" (ae19fe26cc230bc38238c2d66b8f464761286316)

Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>

please join it with 92g45 fix

Best Regards,
J.

_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox