[PATCH 3/4] Don't call idprom_init() on LEON

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

 



LEON does not have an idprom and idprom_init prints 
some bogus info (e.g. incorrect Ethernet address).

Signed-off-by: Kristoffer Glembo <kristoffer@xxxxxxxxxxx>
---
 arch/sparc/kernel/setup_32.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/arch/sparc/kernel/setup_32.c b/arch/sparc/kernel/setup_32.c
index 9be2af5..1d3cf56 100644
--- a/arch/sparc/kernel/setup_32.c
+++ b/arch/sparc/kernel/setup_32.c
@@ -271,7 +271,10 @@ void __init setup_arch(char **cmdline_p)
 #endif
 	boot_flags_init(*cmdline_p);
 
+#ifndef CONFIG_SPARC_LEON
 	idprom_init();
+#endif
+
 	if (ARCH_SUN4C)
 		sun4c_probe_vac();
 	load_mmu();
-- 
1.5.4

--
To unsubscribe from this list: send the line "unsubscribe sparclinux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Development]     [DCCP]     [Linux ARM Development]     [Linux]     [Photo]     [Yosemite Help]     [Linux ARM Kernel]     [Linux SCSI]     [Linux x86_64]     [Linux Hams]

  Powered by Linux