From 72e621211dcc0c1b818d5ae62421ede071b4f19b Mon Sep 17 00:00:00 2001 From: Chong Qiao Date: Mon, 9 Nov 2020 15:55:23 +0800 Subject: [PATCH] stop gmac before before goto kernel. Change-Id: I0a594c455e0a1b99de8716da5e49af25edec47f4 Signed-off-by: QiaoChong --- pmon/cmds/cmd_go.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmon/cmds/cmd_go.c b/pmon/cmds/cmd_go.c index be864a03..5f367656 100644 --- a/pmon/cmds/cmd_go.c +++ b/pmon/cmds/cmd_go.c @@ -209,7 +209,7 @@ extern char *optarg; #if NMOD_USB_XHCI !=0 usb_xhci_stop(); #endif -#if defined (LOONGSON_3A2H) || defined (LS7A) +#if defined (LOONGSON_3A2H) || defined (LS7A) || defined(LOONGSON_2K) gmac_stop(); #endif #ifdef LOONGSON_3A84W