Skip to content

Commit 4386e1f

Browse files
author
Nicolas Ferre
committed
ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option
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>
1 parent b75d47b commit 4386e1f

2 files changed

Lines changed: 0 additions & 10 deletions

File tree

‎arch/arm/mach-at91/Makefile.boot‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
# PARAMS_PHYS must be within 4MB of ZRELADDR
44
# INITRD_PHYS must be in RAM
55

6-
ifeq ($(CONFIG_ARCH_AT91SAM9G45),y)
7-
zreladdr-y += 0x70008000
8-
params_phys-y := 0x70000100
9-
initrd_phys-y := 0x70410000
10-
else
116
zreladdr-y += 0x20008000
127
params_phys-y := 0x20000100
138
initrd_phys-y := 0x20410000
14-
endif

‎arch/arm/mach-at91/board.h‎

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,7 @@ extern void __init at91_add_device_usbh_ehci(struct at91_usbh_data *data);
5656
extern void __init at91_add_device_nand(struct atmel_nand_data *data);
5757

5858
/* I2C*/
59-
#if defined(CONFIG_ARCH_AT91SAM9G45)
60-
extern void __init at91_add_device_i2c(short i2c_id, struct i2c_board_info *devices, int nr_devices);
61-
#else
6259
extern void __init at91_add_device_i2c(struct i2c_board_info *devices, int nr_devices);
63-
#endif
6460

6561
/* SPI */
6662
extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_devices);

0 commit comments

Comments
 (0)