[PATCH linux dev-4.10 06/10] aspeed: zaius: Remove LPC-to-AHB bridge configuration

Xo Wang xow at google.com
Fri Apr 28 03:17:46 AEST 2017


On Wed, Apr 26, 2017 at 11:08 PM, Andrew Jeffery <andrew at aj.id.au> wrote:
> This is handled by the mbox daemon via the lpc-ctrl driver.
>
> Signed-off-by: Andrew Jeffery <andrew at aj.id.au>
> ---
>  arch/arm/mach-aspeed/aspeed.c | 12 ------------
>  1 file changed, 12 deletions(-)
>
> diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-aspeed/aspeed.c
> index f73a72676437..e879e9e1aa42 100644
> --- a/arch/arm/mach-aspeed/aspeed.c
> +++ b/arch/arm/mach-aspeed/aspeed.c
> @@ -136,18 +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));
>
> -       /* Setup PNOR address mapping for 64M flash
> -        *
> -        *   ADRBASE: 0x3000 (0x30000000)
> -        *   HWMBASE: 0x0C00 (0x0C000000)
> -        *  ADDRMASK: 0xFC00 (0xFC000000)
> -        *   HWNCARE: 0x03FF (0x03FF0000)
> -        *
> -        * Mapping appears at 0x60300fc000000 on the host
> -        */
> -       writel(0x30000C00, AST_IO(AST_BASE_LPC | 0x88));
> -       writel(0xFC0003FF, AST_IO(AST_BASE_LPC | 0x8C));
> -
>         /* Set SPI1 CE1 decoding window to 0x34000000 */
>         writel(0x70680000, AST_IO(AST_BASE_SPI | 0x34));
>
> --
> 2.9.3
>

Reviewed-by: Xo Wang <xow at google.com>


More information about the openbmc mailing list