~funderscore blog cgit wiki get in touch
aboutsummaryrefslogtreecommitdiff
blob: bfc42a7c4899865e06efa2ac56c2ece5f33a8f57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */
/*
 * Copyright (C) 2018, STMicroelectronics - All Rights Reserved
 */

#ifndef __MACH_STM32MP_DDR_H_
#define __MACH_STM32MP_DDR_H_

/* DDR power initializations */
enum ddr_type {
	STM32MP_DDR3,
	STM32MP_LPDDR2_16,
	STM32MP_LPDDR2_32,
	STM32MP_LPDDR3_16,
	STM32MP_LPDDR3_32,
};

int board_ddr_power_init(enum ddr_type ddr_type);

#endif