Skip to content
Snippets Groups Projects
Commit 6553581a authored by Wenyou Yang's avatar Wenyou Yang Committed by Tom Rini
Browse files

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: default avatarWenyou Yang <wenyou.yang@microchip.com>
parent ce4054bf
No related branches found
No related tags found
No related merge requests found
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 */
......
......@@ -18,11 +18,6 @@
#ifndef AT91SAM9260_H
#define AT91SAM9260_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -18,11 +18,6 @@
#ifndef AT91SAM9261_H
#define AT91SAM9261_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -14,11 +14,6 @@
#ifndef AT91SAM9263_H
#define AT91SAM9263_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -12,11 +12,6 @@
#ifndef AT91SAM9G45_H
#define AT91SAM9G45_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -14,11 +14,6 @@
#ifndef AT91SAM9RL_H
#define AT91SAM9RL_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -12,8 +12,6 @@
#ifndef __AT91SAM9X5_H__
#define __AT91SAM9X5_H__
#define CONFIG_AT91FAMILY /* it's a member of AT91 family */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -10,11 +10,6 @@
#ifndef __SAMA5D2_H
#define __SAMA5D2_H
/*
* definitions to be used in other places
*/
#define CONFIG_AT91FAMILY /* It's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -13,11 +13,6 @@
#ifndef SAMA5D3_H
#define SAMA5D3_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* it's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
......@@ -10,11 +10,6 @@
#ifndef __SAMA5D4_H
#define __SAMA5D4_H
/*
* defines to be used in other places
*/
#define CONFIG_AT91FAMILY /* It's a member of AT91 */
/*
* Peripheral identifiers/interrupts.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment