From mboxrd@z Thu Jan 1 00:00:00 1970 From: Weijie Gao Date: Thu, 9 Jan 2020 16:41:42 +0800 Subject: [PATCH 08/16] mips: mtmips: rewrite lowlevel codes of mt7628 In-Reply-To: <0956cb55-0855-73b3-f59e-e9a059014f1e@gmail.com> References: <1578452491-6937-1-git-send-email-weijie.gao@mediatek.com> <0956cb55-0855-73b3-f59e-e9a059014f1e@gmail.com> Message-ID: <1578559302.5535.22.camel@mcddlt001> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Wed, 2020-01-08 at 16:56 +0100, Daniel Schwierzeck wrote: > > Am 08.01.20 um 04:01 schrieb Weijie Gao: > > 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 > > > > Note: > > > > print_cpuinfo() has incompatible parts with MT7620 so it's moved into > > mt7628 subfolder. > > could you refactor this patch a little bit and move the following to > separate patches: > - the change of sysreset driver > - the update of global_data.h > - the update of the device tree files > - the removal of the deprecated drivers could be done in a separate last > patch > OK. I'll split them in to separate patches.