mirror of
https://xff.cz/git/u-boot/
synced 2025-09-23 11:32:12 +02:00
stm32mp1: ram: add support for LPDDR2/LPDDR3
Manage power supply configuration for board using stpmic1 with LPDDR2 or with LPDDR3: + VDD_DDR1 = 1.8V with BUCK3 (bypass if possible) + VDD_DDR2 = 1.2V with BUCK2 Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
This commit is contained in:
committed by
Patrice Chotard
parent
53bb831658
commit
1767ac2d1f
@@ -6,6 +6,13 @@
|
||||
#ifndef __MACH_STM32MP_DDR_H_
|
||||
#define __MACH_STM32MP_DDR_H_
|
||||
|
||||
int board_ddr_power_init(void);
|
||||
/* DDR power initializations */
|
||||
enum ddr_type {
|
||||
STM32MP_DDR3,
|
||||
STM32MP_LPDDR2,
|
||||
STM32MP_LPDDR3,
|
||||
};
|
||||
|
||||
int board_ddr_power_init(enum ddr_type ddr_type);
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user