From 37f49e37ab4cb5d0bc4c60eb5c6d4dd57db767bb Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Fri, 10 May 2024 07:44:59 +0000
Subject: [PATCH] gmac get mac form eeprom

---
 kernel/arch/arm/mach-ixp4xx/dsmg600-setup.c |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/kernel/arch/arm/mach-ixp4xx/dsmg600-setup.c b/kernel/arch/arm/mach-ixp4xx/dsmg600-setup.c
index 397190f..4d4c62f 100644
--- a/kernel/arch/arm/mach-ixp4xx/dsmg600-setup.c
+++ b/kernel/arch/arm/mach-ixp4xx/dsmg600-setup.c
@@ -35,6 +35,8 @@
 #include <asm/mach/flash.h>
 #include <asm/mach/time.h>
 
+#include "irqs.h"
+
 #define DSMG600_SDA_PIN		5
 #define DSMG600_SCL_PIN		4
 
@@ -267,9 +269,6 @@
 static void __init dsmg600_init(void)
 {
 	ixp4xx_sys_init();
-
-	/* Make sure that GPIO14 and GPIO15 are not used as clocks */
-	*IXP4XX_GPIO_GPCLKR = 0;
 
 	dsmg600_flash_resource.start = IXP4XX_EXP_BUS_BASE(0);
 	dsmg600_flash_resource.end =

--
Gitblit v1.6.2