]> Git Repo - linux.git/commitdiff
MIPS: lantiq: Set physical_memsize
authorHauke Mehrtens <[email protected]>
Tue, 27 Dec 2016 15:31:43 +0000 (16:31 +0100)
committerJames Hogan <[email protected]>
Wed, 15 Feb 2017 10:18:47 +0000 (10:18 +0000)
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 <[email protected]>
Fixes: d9ae4f18c0d2 ("MIPS: Lantiq: Activate more drivers in default configuration")
Signed-off-by: Hauke Mehrtens <[email protected]>
Cc: Ralf Baechle <[email protected]>
Cc: John Crispin <[email protected]>
Cc: Paul Gortmaker <[email protected]>
Cc: [email protected]
Patchwork: https://patchwork.linux-mips.org/patch/14908/
Signed-off-by: James Hogan <[email protected]>
arch/mips/lantiq/prom.c

index 4cbb000e778e3f0fcfcc57942a325d8e318ab343..96773bed8a8a52cdbe33308cd23f9cd6069665bd 100644 (file)
 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
This page took 0.056484 seconds and 4 git commands to generate.