Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1ca5cb5d authored by Ralf Baechle's avatar Ralf Baechle
Browse files

[MIPS] Ocelot G: Fix a few misspellings of CONFIG_GALILEO_GT64240_ETH



Reported by Robert P. J. Day <rpjday@mindspring.com>.

Signed-off-by: default avatarRalf Baechle <ralf@linux-mips.org>
parent bf2326e7
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -28,7 +28,7 @@ struct callvectors* debug_vectors;
extern unsigned long marvell_base;
extern unsigned long marvell_base;
extern unsigned long bus_clock;
extern unsigned long bus_clock;


#ifdef CONFIG_GALILLEO_GT64240_ETH
#ifdef CONFIG_GALILEO_GT64240_ETH
extern unsigned char prom_mac_addr_base[6];
extern unsigned char prom_mac_addr_base[6];
#endif
#endif


@@ -61,7 +61,7 @@ void __init prom_init(void)
	mips_machgroup = MACH_GROUP_MOMENCO;
	mips_machgroup = MACH_GROUP_MOMENCO;
	mips_machtype = MACH_MOMENCO_OCELOT_G;
	mips_machtype = MACH_MOMENCO_OCELOT_G;


#ifdef CONFIG_GALILLEO_GT64240_ETH
#ifdef CONFIG_GALILEO_GT64240_ETH
	/* get the base MAC address for on-board ethernet ports */
	/* get the base MAC address for on-board ethernet ports */
	memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6);
	memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6);
#endif
#endif
+2 −2
Original line number Original line Diff line number Diff line
@@ -64,7 +64,7 @@


#include "ocelot_pld.h"
#include "ocelot_pld.h"


#ifdef CONFIG_GALILLEO_GT64240_ETH
#ifdef CONFIG_GALILEO_GT64240_ETH
extern unsigned char prom_mac_addr_base[6];
extern unsigned char prom_mac_addr_base[6];
#endif
#endif


@@ -185,7 +185,7 @@ void __init plat_mem_setup(void)
	/* do handoff reconfiguration */
	/* do handoff reconfiguration */
	PMON_v2_setup();
	PMON_v2_setup();


#ifdef CONFIG_GALILLEO_GT64240_ETH
#ifdef CONFIG_GALILEO_GT64240_ETH
	/* get the mac addr */
	/* get the mac addr */
	memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6);
	memcpy(prom_mac_addr_base, (void*)0xfc807cf2, 6);
#endif
#endif