aspeed: ast2500: Add lowlevel_init assembly
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Mon, 3 Aug 2020 09:36:06 +0000 (17:36 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 14 Aug 2020 13:46:40 +0000 (09:46 -0400)
commit611fe095776b3a6d4e98058cab16955d35f7021b
tree1ee4503b34ca6d196f0355d35258fb27283307b1
parentaff987c457dede4ee489e157401589d9c78fa265
aspeed: ast2500: Add lowlevel_init assembly

The original lowlevel_init function of AST2500 is written
in C. However, the C runtime environment is not ready until
_main execution.

This patch adds the assembly version of the lowlevel_init
function. Additional initialization to DRAM configuration
and LPC reset source are also added.

Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com>
arch/arm/mach-aspeed/ast2500-board.c
arch/arm/mach-aspeed/ast2500/Makefile
arch/arm/mach-aspeed/ast2500/lowlevel_init.S [new file with mode: 0644]