
21 Jan
2020
21 Jan
'20
9:44 a.m.
On 21.01.20 09:19, Weijie Gao wrote:
This patch rewrites the mtmips architecture with the following changes:
- Move MT7628 soc parts into a subfolder.
- Lock parts of D-Cache as temporary stack.
- Reimplement DDR initialization in C language.
- Reimplement DDR calibration in a clear logic.
- Add full support for auto size detection for DDR1 and DDR2.
- 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 weijie.gao@mediatek.com
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 sr@denx.de
Thanks, Stefan