* ARM: at91: CONFIG_ARCH_AT91SAM9G45
@ 2014-11-10 11:05 Paul Bolle
2014-11-13 9:33 ` [PATCH] ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option Nicolas Ferre
0 siblings, 1 reply; 3+ messages in thread
From: Paul Bolle @ 2014-11-10 11:05 UTC (permalink / raw)
To: Nicolas Ferre
Cc: Valentin Rothberg, Andrew Victor,
Jean-Christophe Plagniol-Villard, Russell King, linux-arm-kernel,
linux-kernel
Your commit 4bf7753b8ab7 ("ARM: at91: remove at91sam9g45/9m10 legacy
board support") landed in today's linux-next (ie, next-20141110). It
removed the Kconfig symbol ARCH_AT91SAM9G45.
There are still two checks for CONFIG_ARCH_AT91SAM9G45 in next-20141110
(one in arch/arm/mach-at91/Makefile.boot and one in
arch/arm/mach-at91/board.h). Are one or more patches to remove these
checks queued somewhere?
Paul Bolle
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH] ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option
2014-11-10 11:05 ARM: at91: CONFIG_ARCH_AT91SAM9G45 Paul Bolle
@ 2014-11-13 9:33 ` Nicolas Ferre
2014-11-13 9:37 ` Boris Brezillon
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Ferre @ 2014-11-13 9:33 UTC (permalink / raw)
To: linux-arm-kernel
Cc: linux-kernel, Boris BREZILLON, Alexandre Belloni,
Jean-Christophe PLAGNIOL-VILLARD, pebolle, Nicolas Ferre
The CONFIG_ARCH_AT91SAM9G45 config option was removed by ("ARM: at91: remove
at91sam9g45/9m10 legacy board support") so cleanup the use of it.
Reported-by: Paul Bolle <pebolle@tiscali.nl>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
---
arch/arm/mach-at91/Makefile.boot | 6 ------
arch/arm/mach-at91/board.h | 4 ----
2 files changed, 10 deletions(-)
diff --git a/arch/arm/mach-at91/Makefile.boot b/arch/arm/mach-at91/Makefile.boot
index 5309f9b6aabc..29ed0fa374ca 100644
--- a/arch/arm/mach-at91/Makefile.boot
+++ b/arch/arm/mach-at91/Makefile.boot
@@ -3,12 +3,6 @@
# PARAMS_PHYS must be within 4MB of ZRELADDR
# INITRD_PHYS must be in RAM
-ifeq ($(CONFIG_ARCH_AT91SAM9G45),y)
- zreladdr-y += 0x70008000
-params_phys-y := 0x70000100
-initrd_phys-y := 0x70410000
-else
zreladdr-y += 0x20008000
params_phys-y := 0x20000100
initrd_phys-y := 0x20410000
-endif
diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h
index 836e9a537e0c..d268ec3781dd 100644
--- a/arch/arm/mach-at91/board.h
+++ b/arch/arm/mach-at91/board.h
@@ -56,11 +56,7 @@ extern void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data);
extern void __init at91_add_device_nand(struct atmel_nand_data *data);
/* I2C*/
-#if defined(CONFIG_ARCH_AT91SAM9G45)
-extern void __init at91_add_device_i2c(short i2c_id, struct i2c_board_info *devices, int nr_devices);
-#else
extern void __init at91_add_device_i2c(struct i2c_board_info *devices, int nr_devices);
-#endif
/* SPI */
extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices);
--
1.8.2.2
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option
2014-11-13 9:33 ` [PATCH] ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option Nicolas Ferre
@ 2014-11-13 9:37 ` Boris Brezillon
0 siblings, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2014-11-13 9:37 UTC (permalink / raw)
To: Nicolas Ferre
Cc: linux-arm-kernel, linux-kernel, Alexandre Belloni,
Jean-Christophe PLAGNIOL-VILLARD, pebolle
On Thu, 13 Nov 2014 10:33:10 +0100
Nicolas Ferre <nicolas.ferre@atmel.com> wrote:
> The CONFIG_ARCH_AT91SAM9G45 config option was removed by ("ARM: at91: remove
> at91sam9g45/9m10 legacy board support") so cleanup the use of it.
>
> Reported-by: Paul Bolle <pebolle@tiscali.nl>
> Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Acked-by: Boris Brezillon <boris.brezillon@free-electrons.com>
> ---
> arch/arm/mach-at91/Makefile.boot | 6 ------
> arch/arm/mach-at91/board.h | 4 ----
> 2 files changed, 10 deletions(-)
>
> diff --git a/arch/arm/mach-at91/Makefile.boot b/arch/arm/mach-at91/Makefile.boot
> index 5309f9b6aabc..29ed0fa374ca 100644
> --- a/arch/arm/mach-at91/Makefile.boot
> +++ b/arch/arm/mach-at91/Makefile.boot
> @@ -3,12 +3,6 @@
> # PARAMS_PHYS must be within 4MB of ZRELADDR
> # INITRD_PHYS must be in RAM
>
> -ifeq ($(CONFIG_ARCH_AT91SAM9G45),y)
> - zreladdr-y += 0x70008000
> -params_phys-y := 0x70000100
> -initrd_phys-y := 0x70410000
> -else
> zreladdr-y += 0x20008000
> params_phys-y := 0x20000100
> initrd_phys-y := 0x20410000
> -endif
> diff --git a/arch/arm/mach-at91/board.h b/arch/arm/mach-at91/board.h
> index 836e9a537e0c..d268ec3781dd 100644
> --- a/arch/arm/mach-at91/board.h
> +++ b/arch/arm/mach-at91/board.h
> @@ -56,11 +56,7 @@ extern void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data);
> extern void __init at91_add_device_nand(struct atmel_nand_data *data);
>
> /* I2C*/
> -#if defined(CONFIG_ARCH_AT91SAM9G45)
> -extern void __init at91_add_device_i2c(short i2c_id, struct i2c_board_info *devices, int nr_devices);
> -#else
> extern void __init at91_add_device_i2c(struct i2c_board_info *devices, int nr_devices);
> -#endif
>
> /* SPI */
> extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices);
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-11-13 9:37 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-10 11:05 ARM: at91: CONFIG_ARCH_AT91SAM9G45 Paul Bolle
2014-11-13 9:33 ` [PATCH] ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option Nicolas Ferre
2014-11-13 9:37 ` Boris Brezillon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).