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 | 256dba0 | 2021-03-02 14:00:21 -0800 | [diff] [blame] | 10 | extern struct dram_timing_info dram_timing_1gb; |
Tim Harvey | 6603b5e | 2021-07-27 15:19:41 -0700 | [diff] [blame] | 11 | extern struct dram_timing_info dram_timing_2gb; |
Tim Harvey | 256dba0 | 2021-03-02 14:00:21 -0800 | [diff] [blame] | 12 | extern struct dram_timing_info dram_timing_4gb; |
Tim Harvey | 1a50e74 | 2022-02-11 10:48:56 -0800 | [diff] [blame^] | 13 | #elif CONFIG_IMX8MN |
| 14 | extern struct dram_timing_info dram_timing_1gb_single_die; |
| 15 | extern struct dram_timing_info dram_timing_2gb_single_die; |
| 16 | extern struct dram_timing_info dram_timing_2gb_dual_die; |
| 17 | #endif |
Tim Harvey | 256dba0 | 2021-03-02 14:00:21 -0800 | [diff] [blame] | 18 | |
| 19 | #endif /* __LPDDR4_TIMING_H__ */ |