ARM: at91: Move CONFIG_AT91FAMILY option to Kconfig

Move the CONFIG_AT91FAMILY option from include/mach/<soc>.h header
file to Kconfig.

Signed-off-by: Wenyou Yang <wenyou.yang@microchip.com>
master
Wenyou Yang 7 years ago committed by Tom Rini
parent ce4054bf82
commit 6553581a81
  1. 3
      arch/arm/mach-at91/Kconfig
  2. 1
      arch/arm/mach-at91/include/mach/at91rm9200.h
  3. 5
      arch/arm/mach-at91/include/mach/at91sam9260.h
  4. 5
      arch/arm/mach-at91/include/mach/at91sam9261.h
  5. 5
      arch/arm/mach-at91/include/mach/at91sam9263.h
  6. 5
      arch/arm/mach-at91/include/mach/at91sam9g45.h
  7. 5
      arch/arm/mach-at91/include/mach/at91sam9rl.h
  8. 2
      arch/arm/mach-at91/include/mach/at91sam9x5.h
  9. 5
      arch/arm/mach-at91/include/mach/sama5d2.h
  10. 5
      arch/arm/mach-at91/include/mach/sama5d3.h
  11. 5
      arch/arm/mach-at91/include/mach/sama5d4.h

@ -1,5 +1,8 @@
if ARCH_AT91
config AT91FAMILY
def_bool y
choice
prompt "Atmel AT91 board select"
optional

@ -6,7 +6,6 @@
#ifndef __AT91RM9200_H__
#define __AT91RM9200_H__
#define CONFIG_AT91FAMILY /* it's a member of AT91 family */
#define CONFIG_ARCH_CPU_INIT /* we need arch_cpu_init() for hw timers */
#define CONFIG_AT91_GPIO /* and require always gpio features */

@ -19,11 +19,6 @@
#define AT91SAM9260_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* Advanced Interrupt Controller (FIQ) */

@ -19,11 +19,6 @@
#define AT91SAM9261_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* Advanced Interrupt Controller (FIQ) */

@ -15,11 +15,6 @@
#define AT91SAM9263_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* Advanced Interrupt Controller (FIQ) */

@ -13,11 +13,6 @@
#define AT91SAM9G45_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* Advanced Interrupt Controller (FIQ) */

@ -15,11 +15,6 @@
#define AT91SAM9RL_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* Advanced Interrupt Controller (FIQ) */

@ -12,8 +12,6 @@
#ifndef __AT91SAM9X5_H__
#define __AT91SAM9X5_H__
#define CONFIG_AT91FAMILY /* it's a member of AT91 family */
/*
* Peripheral identifiers/interrupts.
*/

@ -11,11 +11,6 @@
#define __SAMA5D2_H
/*
* definitions to be used in other places
*/
#define CONFIG_AT91FAMILY /* It's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* FIQ Interrupt ID */

@ -14,11 +14,6 @@
#define SAMA5D3_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* Advanced Interrupt Controller (FIQ) */

@ -11,11 +11,6 @@
#define __SAMA5D4_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* It's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
#define ATMEL_ID_FIQ 0 /* FIQ Interrupt */

Loading…
Cancel
Save