2021-03-02 22:00:21 +00:00
|
|
|
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
|
|
/*
|
|
|
|
* Copyright 2021 Gateworks Corporation
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LPDDR4_TIMING_H__
|
|
|
|
#define __LPDDR4_TIMING_H__
|
|
|
|
|
2022-02-11 18:48:56 +00:00
|
|
|
#ifdef CONFIG_IMX8MM
|
2022-02-18 23:19:33 +00:00
|
|
|
extern struct dram_timing_info dram_timing_512mb;
|
2021-03-02 22:00:21 +00:00
|
|
|
extern struct dram_timing_info dram_timing_1gb;
|
2021-07-27 22:19:41 +00:00
|
|
|
extern struct dram_timing_info dram_timing_2gb;
|
2021-03-02 22:00:21 +00:00
|
|
|
extern struct dram_timing_info dram_timing_4gb;
|
2022-02-11 18:48:56 +00:00
|
|
|
#elif CONFIG_IMX8MN
|
|
|
|
extern struct dram_timing_info dram_timing_1gb_single_die;
|
|
|
|
extern struct dram_timing_info dram_timing_2gb_single_die;
|
|
|
|
extern struct dram_timing_info dram_timing_2gb_dual_die;
|
2022-04-13 18:31:09 +00:00
|
|
|
#elif CONFIG_IMX8MP
|
2023-06-09 16:54:51 +00:00
|
|
|
extern struct dram_timing_info dram_timing_1gb_single_die;
|
2022-04-13 18:31:09 +00:00
|
|
|
extern struct dram_timing_info dram_timing_4gb_dual_die;
|
2022-02-11 18:48:56 +00:00
|
|
|
#endif
|
2021-03-02 22:00:21 +00:00
|
|
|
|
|
|
|
#endif /* __LPDDR4_TIMING_H__ */
|