mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-17 15:38:51 +09:00
![Yangbo Lu](/assets/img/avatar_default.png)
The below patch added eSDHC periperhal clock code initially.
2d9ca2c
mmc: fsl_esdhc: Add peripheral clock support
The purpose was to fix up device tree properties "peripheral-frequency"
so that linux could get the periperhal clock by it.
However the implementation on both u-boot and linux was only
for a Freescale SDK release. The linux part implementation had never
been upstreamed. These code should not have been exist on u-boot
mainline.
Let's remove the powerpc part changes but keep the changes in
fsl_esdhc driver. The changes in fsl_esdhc driver could be utilized
to support SD UHS and eMMC HS200/HS400 speed modes for current
Layerscape ARM platforms.
Signed-off-by: Yangbo Lu <yangbo.lu@nxp.com>
48 lines
977 B
C
48 lines
977 B
C
/*
|
|
* Copyright 2003 Motorola,Inc.
|
|
* Xianghua Xiao(x.xiao@motorola.com)
|
|
*/
|
|
|
|
#ifndef __E500_H__
|
|
#define __E500_H__
|
|
|
|
#ifndef __ASSEMBLY__
|
|
|
|
typedef struct
|
|
{
|
|
unsigned long freq_processor[CONFIG_MAX_CPUS];
|
|
#ifdef CONFIG_HETROGENOUS_CLUSTERS
|
|
unsigned long freq_processor_dsp[CONFIG_MAX_DSP_CPUS];
|
|
#endif
|
|
unsigned long freq_systembus;
|
|
unsigned long freq_ddrbus;
|
|
unsigned long freq_localbus;
|
|
unsigned long freq_qe;
|
|
#ifdef CONFIG_SYS_DPAA_FMAN
|
|
unsigned long freq_fman[CONFIG_SYS_NUM_FMAN];
|
|
#endif
|
|
#ifdef CONFIG_SYS_DPAA_QBMAN
|
|
unsigned long freq_qman;
|
|
#endif
|
|
#ifdef CONFIG_SYS_DPAA_PME
|
|
unsigned long freq_pme;
|
|
#endif
|
|
#ifdef CONFIG_SYS_CPRI
|
|
unsigned long freq_cpri;
|
|
#endif
|
|
#ifdef CONFIG_SYS_MAPLE
|
|
unsigned long freq_maple;
|
|
unsigned long freq_maple_ulb;
|
|
unsigned long freq_maple_etvpe;
|
|
#endif
|
|
#ifdef CONFIG_SYS_FSL_SINGLE_SOURCE_CLK
|
|
unsigned char diff_sysclk;
|
|
#endif
|
|
} MPC85xx_SYS_INFO;
|
|
|
|
#endif /* _ASMLANGUAGE */
|
|
|
|
#define RESET_VECTOR 0xfffffffc
|
|
|
|
#endif /* __E500_H__ */
|