ram: ast2600: Align the RL and WL setting
authorDylan Hung <dylan_hung@aspeedtech.com>
Fri, 11 Nov 2022 07:30:08 +0000 (15:30 +0800)
committerTom Rini <trini@konsulko.com>
Thu, 24 Nov 2022 21:26:01 +0000 (16:26 -0500)
commit8c7b55724c6f9deb6d8a291cba7f932373313b57
treece37283f9407c36727a8335c487451a26b500ef8
parentbd1e1954216a54b1916e932512ee37c7d6a22e58
ram: ast2600: Align the RL and WL setting

Use macro to represent the RL and WL setting to ensure the PHY and
controller setting are aligned.

Review-by: Ryan Chen <ryan_chen@aspeedtech.com>
Signed-off-by: Dylan Hung <dylan_hung@aspeedtech.com>
arch/arm/include/asm/arch-aspeed/sdram_ast2600.h
drivers/ram/aspeed/sdram_ast2600.c