mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-11-26 06:40:54 +07:00
[MIPS] Ocelot G: Fix a few misspellings of CONFIG_GALILEO_GT64240_ETH
Reported by Robert P. J. Day <rpjday@mindspring.com>. Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
This commit is contained in:
parent
bf2326e752
commit
1ca5cb5ddd
@ -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
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user