.. | .. |
---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
---|
1 | 2 | /* |
---|
2 | 3 | * Defines for the EMIF driver |
---|
3 | 4 | * |
---|
4 | 5 | * Copyright (C) 2012 Texas Instruments, Inc. |
---|
5 | 6 | * |
---|
6 | 7 | * Benoit Cousson (b-cousson@ti.com) |
---|
7 | | - * |
---|
8 | | - * This program is free software; you can redistribute it and/or modify |
---|
9 | | - * it under the terms of the GNU General Public License version 2 as |
---|
10 | | - * published by the Free Software Foundation. |
---|
11 | 8 | */ |
---|
12 | 9 | #ifndef __EMIF_H |
---|
13 | 10 | #define __EMIF_H |
---|
.. | .. |
---|
537 | 534 | #define MCONNID_SHIFT 0 |
---|
538 | 535 | #define MCONNID_MASK (0xff << 0) |
---|
539 | 536 | |
---|
| 537 | +/* READ_WRITE_LEVELING_CONTROL */ |
---|
| 538 | +#define RDWRLVLFULL_START 0x80000000 |
---|
| 539 | + |
---|
540 | 540 | /* DDR_PHY_CTRL_1 - EMIF4D */ |
---|
541 | 541 | #define DLL_SLAVE_DLY_CTRL_SHIFT_4D 4 |
---|
542 | 542 | #define DLL_SLAVE_DLY_CTRL_MASK_4D (0xFF << 4) |
---|
.. | .. |
---|
598 | 598 | |
---|
599 | 599 | void ti_emif_save_context(void); |
---|
600 | 600 | void ti_emif_restore_context(void); |
---|
| 601 | +void ti_emif_run_hw_leveling(void); |
---|
601 | 602 | void ti_emif_enter_sr(void); |
---|
602 | 603 | void ti_emif_exit_sr(void); |
---|
603 | 604 | void ti_emif_abort_sr(void); |
---|