m68k: mcf52x2: move CPU type to Kconfig and refactor config.mk
This commit intends to stop grepping CPU type in arch/m68k/cpu/mcf52x2/config.mk. Move the CPU type config options from include/configs/*.h to arch/m68k/Kconfig and refactor the CPU flags select in arch/m68k/cpu/mcf52x2/config.mk. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Cc: Alison Wang <alison.wang@freescale.com> Cc: Angelo Dureghello <angelo@sysam.it>
This commit is contained in:
committed by
Tom Rini
parent
3a4f6b60db
commit
d4a9b17df5
@@ -14,9 +14,6 @@
|
||||
* High Level Configuration Options
|
||||
* (easy to change)
|
||||
*/
|
||||
#define CONFIG_MCF520x /* define processor family */
|
||||
#define CONFIG_M5208 /* define processor type */
|
||||
|
||||
#define CONFIG_MCFUART
|
||||
#define CONFIG_SYS_UART_PORT (0)
|
||||
#define CONFIG_BAUDRATE 115200
|
||||
|
||||
@@ -18,9 +18,6 @@
|
||||
* High Level Configuration Options
|
||||
* (easy to change)
|
||||
*/
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5249 /* define processor type */
|
||||
|
||||
#define CONFIG_MCFTMR
|
||||
|
||||
#define CONFIG_MCFUART
|
||||
|
||||
@@ -7,8 +7,6 @@
|
||||
#ifndef _M5253DEMO_H
|
||||
#define _M5253DEMO_H
|
||||
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5253 /* define processor type */
|
||||
#define CONFIG_M5253DEMO /* define board type */
|
||||
|
||||
#define CONFIG_MCFTMR
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
#ifndef _M5253EVBE_H
|
||||
#define _M5253EVBE_H
|
||||
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5253 /* define processor type */
|
||||
#define CONFIG_M5253EVBE /* define board type */
|
||||
|
||||
#define CONFIG_MCFTMR
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
* High Level Configuration Options
|
||||
* (easy to change)
|
||||
*/
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5272 /* define processor type */
|
||||
|
||||
#define CONFIG_MCFTMR
|
||||
|
||||
#define CONFIG_MCFUART
|
||||
|
||||
@@ -21,8 +21,6 @@
|
||||
* High Level Configuration Options
|
||||
* (easy to change)
|
||||
*/
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5275 /* define processor type */
|
||||
#define CONFIG_M5275EVB /* define board type */
|
||||
|
||||
#define CONFIG_MCFTMR
|
||||
|
||||
@@ -17,9 +17,6 @@
|
||||
* High Level Configuration Options
|
||||
* (easy to change)
|
||||
*/
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5282 /* define processor type */
|
||||
|
||||
#define CONFIG_MCFTMR
|
||||
|
||||
#define CONFIG_MCFUART
|
||||
|
||||
@@ -24,16 +24,6 @@
|
||||
#ifndef _CONFIG_COBRA5272_H
|
||||
#define _CONFIG_COBRA5272_H
|
||||
|
||||
/* ---
|
||||
* Define processor
|
||||
* possible values for Sentec board: only Coldfire M5272 processor supported
|
||||
* (please do not change)
|
||||
* ---
|
||||
*/
|
||||
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5272 /* define processor type */
|
||||
|
||||
/* ---
|
||||
* Defines processor clock - important for correct timings concerning serial
|
||||
* interface etc.
|
||||
|
||||
@@ -15,9 +15,6 @@
|
||||
* High Level Configuration Options (easy to change) *
|
||||
*----------------------------------------------------------------------*/
|
||||
|
||||
#define CONFIG_MCF52x2 /* define processor family */
|
||||
#define CONFIG_M5282 /* define processor type */
|
||||
|
||||
#define CONFIG_MISC_INIT_R
|
||||
|
||||
#define CONFIG_MCFUART
|
||||
|
||||
Reference in New Issue
Block a user