mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
5614e71b49
Freescale DDR driver has been used for mpc83xx, mpc85xx, mpc86xx SoCs. The similar DDR controllers will be used for ARM-based SoCs. Signed-off-by: York Sun <yorksun@freescale.com>
26 lines
543 B
C
26 lines
543 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_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_ */
|