On 21.01.20 09:19, 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 on the input xtal frequency for timer and delay functions. Note: print_cpuinfo() has incompatible parts with MT7620 so it's moved into mt7628 subfolder. Signed-off-by: Weijie Gao <[email protected]> --- Changes since v2: none
Very nice work. Thanks again for working on this. One comment: The DDR size detection could be done by using the common get_ram_size() function. I'm not sure why you wrote your own code in this patch. Perhaps its related to code size. Anyways: Reviewed-by: Stefan Roese <[email protected]> Thanks, Stefan

