Tom Rini | 8b0c8a1 | 2018-05-06 18:27:01 -0400 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ OR BSD-3-Clause */ |
Patrick Delaunay | 939d536 | 2018-03-12 10:46:11 +0100 | [diff] [blame] | 2 | /* |
| 3 | * Copyright (C) 2018, STMicroelectronics - All Rights Reserved |
Patrick Delaunay | 939d536 | 2018-03-12 10:46:11 +0100 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #ifndef __MACH_STM32MP_DDR_H_ |
| 7 | #define __MACH_STM32MP_DDR_H_ |
| 8 | |
Patrick Delaunay | 4175f45 | 2019-04-10 14:09:26 +0200 | [diff] [blame] | 9 | /* DDR power initializations */ |
| 10 | enum ddr_type { |
| 11 | STM32MP_DDR3, |
Patrick Delaunay | 2ebc211 | 2020-03-06 11:14:03 +0100 | [diff] [blame] | 12 | STM32MP_LPDDR2_16, |
| 13 | STM32MP_LPDDR2_32, |
| 14 | STM32MP_LPDDR3_16, |
| 15 | STM32MP_LPDDR3_32, |
Patrick Delaunay | 4175f45 | 2019-04-10 14:09:26 +0200 | [diff] [blame] | 16 | }; |
| 17 | |
| 18 | int board_ddr_power_init(enum ddr_type ddr_type); |
Patrick Delaunay | 939d536 | 2018-03-12 10:46:11 +0100 | [diff] [blame] | 19 | |
| 20 | #endif |