at91sam9260ek: fix broken defconfig
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.
--- arch/arm/configs/at91sam9260ek_defconfig | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
arch/arm/configs/at91sam9260ek_defconfig +1 -0
@@ -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
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)
--- arch/arm/mach-at91/at91sam9260_devices.c | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
arch/arm/mach-at91/at91sam9260_devices.c +0 -1
@@ -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
Re: [PATCH 2/2] at91sam9260: remove remaining 'at91_clock_associate' function
Quoted 9 lines · Hubert Feurstein
This fixes the following compile warning when
MCI_ATMELis 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)Signed-off-by Hubert Feurstein <[email protected]>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
Quoted 5 lines · Hubert Feurstein
The defconfig was broken in commit
cbf46b2 "at91: Support for at91rm9200: core chip & board support"
because
ARCH_AT91RM9200was added beforeARCH_AT91SAM9260inKconfig.
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
Signed-off-by Hubert Feurstein <[email protected]>Cc Jean-Christophe PLAGNIOL-VILLARD <[email protected]>
Best Regards,
J.
_______________________________________________
barebox mailing list
[email protected]
http://lists.infradead.org/mailman/listinfo/barebox