diff options
| author | Jernej Skrabec <[email protected]> | 2023-04-10 10:21:17 +0200 |
|---|---|---|
| committer | Andre Przywara <[email protected]> | 2023-04-12 00:17:21 +0100 |
| commit | b3cb03cf7980b4c93358fd5407b9d233d97fb5be (patch) | |
| tree | 7e05a378425e72fce7893f8826e70e06852e1a32 /arch/arm/include | |
| parent | ae6f66d5b5f6cdfdf9cd0650f1d3d5e6acf32aa5 (diff) | |
sunxi: Parameterize "unknown feature" in H616 DRAM driver
Part of the code, previously known as "unknown feature", also doesn't
have constant values. They are derived from TPR0 parameter in vendor
DRAM code.
Let's move that code to separate function and introduce TPR0 parameter
here too, to ease adding new boards.
Signed-off-by: Jernej Skrabec <[email protected]>
Acked-by: Andre Przywara <[email protected]>
Signed-off-by: Andre Przywara <[email protected]>
Diffstat (limited to 'arch/arm/include')
| -rw-r--r-- | arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h b/arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h index 034ba98bc24..615532c6eeb 100644 --- a/arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h +++ b/arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h @@ -156,6 +156,7 @@ struct dram_para { u32 dx_dri; u32 ca_dri; u32 odt_en; + u32 tpr0; u32 tpr10; u32 tpr11; u32 tpr12; |
