diff options
author | Jernej Skrabec | 2023-04-10 10:21:12 +0200 |
---|---|---|
committer | Andre Przywara | 2023-04-12 00:17:21 +0100 |
commit | f35ec2105ed8e3c9279e71adc390b83a2c5c1850 (patch) | |
tree | 755b24147fab3268e4e8847b3d616bdd8da4c89b /arch/arm/include | |
parent | cdb5aadd5937380f49ed61ca942293bd98e5c682 (diff) |
sunxi: parameterize H616 DRAM ODT values
While ODT values for same memory type are similar, they are not
necessary the same. Let's parameterize them and make parameter same as
in vendor DRAM settings. That way it will be easy to introduce new board
support.
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Diffstat (limited to 'arch/arm/include')
-rw-r--r-- | arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h | 3 |
1 files changed, 3 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 134679d5520..c9e1f84bfcd 100644 --- a/arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h +++ b/arch/arm/include/asm/arch-sunxi/dram_sun50i_h616.h @@ -144,6 +144,9 @@ struct dram_para { u8 rows; u8 ranks; u8 bus_full_width; + u32 dx_odt; + u32 dx_dri; + u32 ca_dri; }; |