[PATCH 1/2] arm: aspeed: Add Romulus BMC-specific early setup

Andrew Jeffery andrew at aj.id.au
Wed Nov 2 23:10:26 AEDT 2016


On Wed, 2016-11-02 at 16:25 +1030, Joel Stanley wrote:
> Signed-off-by: Joel Stanley <joel at jms.id.au>

Reviewed-by: Andrew Jeffery <andrew at aj.id.au>

> ---
>  arch/arm/mach-aspeed/aspeed.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/arm/mach-aspeed/aspeed.c b/arch/arm/mach-
> aspeed/aspeed.c
> index ebb2224dcd13..0a4578290d5e 100644
> --- a/arch/arm/mach-aspeed/aspeed.c
> +++ b/arch/arm/mach-aspeed/aspeed.c
> @@ -214,6 +214,10 @@ static void __init do_zaius_setup(void)
>  	}
>  }
>  
> +static void __init do_romulus_setup(void)
> +{
> +	do_ast2500_common_setup();
> +}
>  
>  #define SCU_PASSWORD	0x1688A8A8
>  
> @@ -262,6 +266,8 @@ static void __init aspeed_init_early(void)
>  		do_witherspoon_setup();
>  	if (of_machine_is_compatible("ingrasys,zaius-bmc"))
>  		do_zaius_setup();
> +	if (of_machine_is_compatible("ibm,romulus-bmc"))
> +		do_romulus_setup();
>  }
>  
>  static void __init aspeed_map_io(void)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.ozlabs.org/pipermail/openbmc/attachments/20161102/7d71eebd/attachment.sig>


More information about the openbmc mailing list