[PATCH linux dev-4.10 07/10] aspeed: zaius: Remove manual CS decoding window configuration

Andrew Jeffery andrew at aj.id.au
Thu Apr 27 16:08:20 AEST 2017


This is now handled by the SMC driver.

Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
---
 arch/arm/mach-aspeed/aspeed.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-aspeed/aspeed.c
index e879e9e1aa42..ded756b4fae5 100644
--- a/arch/arm/mach-aspeed/aspeed.c
+++ b/arch/arm/mach-aspeed/aspeed.c
@@ -136,12 +136,6 @@ static void __init do_zaius_setup(void)
 	reg = readl(AST_IO(AST_BASE_GPIO | 0x00));
 	writel(reg | phy_reset_mask, AST_IO(AST_BASE_GPIO | 0x00));
 
-	/* Set SPI1 CE1 decoding window to 0x34000000 */
-	writel(0x70680000, AST_IO(AST_BASE_SPI | 0x34));
-
-	/* Set SPI1 CE0 decoding window to 0x30000000 */
-	writel(0x68600000, AST_IO(AST_BASE_SPI | 0x30));
-
 	/* Disable default behavior of UART1 being held in reset by LPCRST#.
 	 * By releasing UART1 from being controlled by LPC reset, it becomes
 	 * immediately available regardless of the host being up.
-- 
2.9.3



More information about the openbmc mailing list