include/configs: aspeed: Remove hardcoded variables
authorChia-Wei, Wang <chiawei_wang@aspeedtech.com>
Mon, 3 Aug 2020 09:36:08 +0000 (17:36 +0800)
committerTom Rini <trini@konsulko.com>
Fri, 14 Aug 2020 13:46:40 +0000 (09:46 -0400)
commit98ef128b56b84249f05a840d24a079ec9baef814
treee06db0992f93f3943f681e84216a622a75fc7129
parentc16f518a7973c26bb0b8a30b5624ac09b968bc0e
include/configs: aspeed: Remove hardcoded variables

The hardcoded platform variables such as DRAM base address are not
common to Aspeed SoCs AST24xx/AST25xx/AST26xx. This patch replaces
those hardcoded with macros defined in a newly added header, where
the basic SoC HW information are assigned accordingly.

Signed-off-by: Chia-Wei, Wang <chiawei_wang@aspeedtech.com>
arch/arm/include/asm/arch-aspeed/platform.h [new file with mode: 0644]
include/configs/aspeed-common.h