mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 22:30:54 +07:00
948c66df0d
When suspend is supported, both cpuidle and suspend code need to work on DDR2 registers. Instead of mapping the DDR2 registers twice, do it once outside of cpuidle driver and let cpuidle driver get the virtual base address of DDR2 registers. Signed-off-by: Sekhar Nori <nsekhar@ti.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
19 lines
450 B
C
19 lines
450 B
C
/*
|
|
* TI DaVinci cpuidle platform support
|
|
*
|
|
* 2009 (C) Texas Instruments, Inc. http://www.ti.com/
|
|
*
|
|
* This file is licensed under the terms of the GNU General Public License
|
|
* version 2. This program is licensed "as is" without any warranty of any
|
|
* kind, whether express or implied.
|
|
*/
|
|
#ifndef _MACH_DAVINCI_CPUIDLE_H
|
|
#define _MACH_DAVINCI_CPUIDLE_H
|
|
|
|
struct davinci_cpuidle_config {
|
|
u32 ddr2_pdown;
|
|
void __iomem *ddr2_ctlr_base;
|
|
};
|
|
|
|
#endif
|