Skip to content

Commit

Permalink
ARM: at91: remove unused CONFIG_ARCH_AT91SAM9G45 option
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Nicolas Ferre committed Nov 13, 2014
1 parent b75d47b commit 4386e1f
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
6 changes: 0 additions & 6 deletions arch/arm/mach-at91/Makefile.boot
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 0 additions & 4 deletions arch/arm/mach-at91/board.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 4386e1f

Please sign in to comment.