Re: [PATCH] MIPS: lantiq: set physical_memsize

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Dec 27, 2016 at 04:31:43PM +0100, Hauke Mehrtens wrote:
> physical_memsize is needed by the vpe loader code and the platform
> specific code has to define it. This value will be given to the
> firmware loaded with the VPE loader. I am not aware of any standard
> interface or better value to provide here.
> 
> Reported-by: kbuild test robot <lkp@xxxxxxxxx>
> Signed-off-by: Hauke Mehrtens <hauke@xxxxxxxxxx>

Applied

Thanks
James

> ---
>  arch/mips/lantiq/prom.c | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/arch/mips/lantiq/prom.c b/arch/mips/lantiq/prom.c
> index 4cbb000e778e..96773bed8a8a 100644
> --- a/arch/mips/lantiq/prom.c
> +++ b/arch/mips/lantiq/prom.c
> @@ -26,6 +26,12 @@ DEFINE_SPINLOCK(ebu_lock);
>  EXPORT_SYMBOL_GPL(ebu_lock);
>  
>  /*
> + * This is needed by the VPE loader code, just set it to 0 and assume
> + * that the firmware hardcodes this value to something useful.
> + */
> +unsigned long physical_memsize = 0L;
> +
> +/*
>   * this struct is filled by the soc specific detection code and holds
>   * information about the specific soc type, revision and name
>   */
> -- 
> 2.11.0
> 
> 

Attachment: signature.asc
Description: Digital signature


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux