From: Nathan Hintz Date: Sat, 5 May 2012 04:56:32 +0000 (-0700) Subject: bcma: Move initialization of SPROM to prevent overwrite X-Git-Tag: v3.5-rc1~101^2~6^2^2~51 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5fe2e0711dd9286e46f60f21c8cd580242cf8f89;p=pandora-kernel.git bcma: Move initialization of SPROM to prevent overwrite The first thing bcm47xx_fill_sprom does is initialize (zero fill) the SPROM. For BCMA SOC, this wipes out any values previously read by bcm47xx_fill_sprom_ethernet (see arch/mips/bcm47xx/setup.c - bcm47xx_get_sprom_bcma). Move the initialization of SPROM so it is called prior to filling in any values. Signed-off-by: Nathan Hintz Signed-off-by: John W. Linville --- Reading git-diff-tree failed