mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 07:28:51 +09:00
![York Sun](/assets/img/avatar_default.png)
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>
27 lines
543 B
C
27 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_ */
|