[PATCH 08/16] mips: mtmips: rewrite lowlevel codes of mt7628
Stefan Roese
sr at denx.de
Fri Jan 10 15:12:36 CET 2020
On 08.01.20 04:01, Weijie Gao wrote:
> This patch rewrites the mtmips architecture with the following changes:
>
> 1. Move MT7628 soc parts into a subfolder.
> 2. Lock parts of D-Cache as temporary stack.
> 3. Reimplement DDR initialization in C language.
> 4. Reimplement DDR calibration in a clear logic.
> 5. Add full support for auto size detection for DDR1 and DDR2.
> 6. Use accurate CPU clock depending for timer and delay functions.
> Xtal:25MHz -> CPU:575MHz / Xtal:40MHz -> CPU:580MHz.
> 7. Remove unusable nodes from mt7628a.dtsi
Please don't. Let's keep the dts/dtsi files as close to the Linux
ones. Even if this means, that we have unused nodes / properties.
>
> Note:
>
> print_cpuinfo() has incompatible parts with MT7620 so it's moved into
> mt7628 subfolder.
Please rework the patch into multiple separate patches as suggested
by Daniel. I'll review them in more details once you send the next
version.
Thanks,
Stefan
More information about the U-Boot
mailing list