mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 10:48:51 +00:00
1425a87b14
Replace CONFIG_MPC8610 with ARCH_MPC8610 in Kconfig and clean up existing macros. Signed-off-by: York Sun <york.sun@nxp.com>
26 lines
548 B
C
26 lines
548 B
C
/*
|
|
* Copyright 2011 Freescale Semiconductor, Inc.
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef _ASM_MPC86xx_CONFIG_H_
|
|
#define _ASM_MPC86xx_CONFIG_H_
|
|
|
|
#define CONFIG_SYS_FSL_DDR_86XX
|
|
|
|
/* SoC specific defines for Freescale MPC86xx processors */
|
|
|
|
#if defined(CONFIG_ARCH_MPC8610)
|
|
#define CONFIG_MAX_CPUS 1
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
|
|
#elif defined(CONFIG_MPC8641)
|
|
#define CONFIG_MAX_CPUS 2
|
|
#define CONFIG_SYS_FSL_NUM_LAWS 10
|
|
|
|
#else
|
|
#error Processor type not defined for this platform
|
|
#endif
|
|
|
|
#endif /* _ASM_MPC85xx_CONFIG_H_ */
|