Tom Rini | dec7ea0 | 2024-05-20 13:35:03 -0600 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0-or-later */ |
| 2 | /* |
| 3 | * (C) Copyright 2022 - Analog Devices, Inc. |
| 4 | * |
| 5 | * Written and/or maintained by Timesys Corporation |
| 6 | * |
| 7 | * Contact: Nathan Barrett-Morrison <nathan.morrison@timesys.com> |
| 8 | * Contact: Greg Malysa <greg.malysa@timesys.com> |
| 9 | */ |
| 10 | |
| 11 | #ifndef DMCINIT_H_ |
| 12 | #define DMCINIT_H_ |
| 13 | |
| 14 | #include <config.h> |
| 15 | |
| 16 | #ifdef MEM_MT41K512M16HA |
| 17 | #include "mem/mt41k512m16ha.h" |
| 18 | #elif defined(MEM_MT41K128M16JT) |
| 19 | #include "mem/mt41k128m16jt.h" |
| 20 | #elif defined(MEM_MT47H128M16RT) |
| 21 | #include "mem/mt47h128m16rt.h" |
| 22 | #elif defined(MEM_IS43TR16512BL) |
| 23 | #include "mem/is43tr16512bl.h" |
| 24 | #else |
| 25 | #error "No DDR part name is defined for this board." |
| 26 | #endif |
| 27 | |
| 28 | void DMC_Config(void); |
| 29 | void adi_dmc_reset_lanes(bool reset); |
| 30 | |
| 31 | #endif |