Commit 52e3182b82e62aa3dcac4a8b656e77358ef45d14
Committed by
Jagan Teki
1 parent
83843c9b3a
Exists in
smarc_8mq_lf_v2020.04
and in
22 other branches
sunxi: provide default DRAM config for sun50i in Kconfig
To avoid enumerating the very same DRAM values in defconfig files for each and every Allwinner A64 board out there, let's put some sane default values in the Kconfig file. Boards with different needs can override them at any time. Signed-off-by: Andre Przywara <andre.przywara@arm.com> Reviewed-by: Simon Glass <sjg@chromium.org> Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com> Reviewed-by: Jagan Teki <jagan@openedev.com>
Showing 2 changed files with 2 additions and 2 deletions Side-by-side Diff
board/sunxi/Kconfig
... | ... | @@ -168,6 +168,7 @@ |
168 | 168 | default 792 if MACH_SUN9I |
169 | 169 | default 312 if MACH_SUN6I || MACH_SUN8I |
170 | 170 | default 360 if MACH_SUN4I || MACH_SUN5I || MACH_SUN7I |
171 | + default 672 if MACH_SUN50I | |
171 | 172 | ---help--- |
172 | 173 | Set the dram clock speed, valid range 240 - 480 (prior to sun9i), |
173 | 174 | must be a multiple of 24. For the sun9i (A80), the tested values |
... | ... | @@ -187,6 +188,7 @@ |
187 | 188 | default 123 if MACH_SUN4I || MACH_SUN5I || MACH_SUN6I || MACH_SUN8I |
188 | 189 | default 127 if MACH_SUN7I |
189 | 190 | default 4145117 if MACH_SUN9I |
191 | + default 3881915 if MACH_SUN50I | |
190 | 192 | ---help--- |
191 | 193 | Set the dram zq value. |
192 | 194 |
configs/pine64_plus_defconfig