Tim Harvey | 256dba0 | 2021-03-02 14:00:21 -0800 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2021 Gateworks Corporation |
| 4 | */ |
| 5 | |
| 6 | #ifndef __LPDDR4_TIMING_H__ |
| 7 | #define __LPDDR4_TIMING_H__ |
| 8 | |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 9 | #ifdef CONFIG_IMX8MM |
Tim Harvey | 5cc5e19 | 2022-02-18 15:19:33 -0800 | [diff] [blame] | 10 | extern struct dram_timing_info dram_timing_512mb; |
Tim Harvey | 256dba0 | 2021-03-02 14:00:21 -0800 | [diff] [blame] | 11 | extern struct dram_timing_info dram_timing_1gb; |
Tim Harvey | 6603b5e | 2021-07-27 15:19:41 -0700 | [diff] [blame] | 12 | extern struct dram_timing_info dram_timing_2gb; |
Tim Harvey | 256dba0 | 2021-03-02 14:00:21 -0800 | [diff] [blame] | 13 | extern struct dram_timing_info dram_timing_4gb; |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 14 | #elif CONFIG_IMX8MN |
| 15 | extern struct dram_timing_info dram_timing_1gb_single_die; |
| 16 | extern struct dram_timing_info dram_timing_2gb_single_die; |
| 17 | extern struct dram_timing_info dram_timing_2gb_dual_die; |
Tim Harvey | 0f5717f | 2022-04-13 11:31:09 -0700 | [diff] [blame] | 18 | #elif CONFIG_IMX8MP |
| 19 | extern struct dram_timing_info dram_timing_4gb_dual_die; |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame] | 20 | #endif |
Tim Harvey | 256dba0 | 2021-03-02 14:00:21 -0800 | [diff] [blame] | 21 | |
| 22 | #endif /* __LPDDR4_TIMING_H__ */ |