From patchwork Wed Feb 10 17:07:30 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Peter Robinson X-Patchwork-Id: 1439135 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=JfFVhFop; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4DbR696xWtz9sBJ for ; Thu, 11 Feb 2021 04:07:50 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 5144682B49; Wed, 10 Feb 2021 18:07:42 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="JfFVhFop"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id D807482B2C; Wed, 10 Feb 2021 18:07:40 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 36B5282B2C for ; Wed, 10 Feb 2021 18:07:38 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pbrobinson@gmail.com Received: by mail-wm1-x334.google.com with SMTP id o15so622290wmq.5 for ; Wed, 10 Feb 2021 09:07:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iB05MPA0fc0WKi0vwxAdohh/JEsc4k/HWF+nMxtFEBs=; b=JfFVhFopypr9vm1fZFG6CPZxrxEA6sUWY9QxNJ8jNYw3L+eg/pJ0yPCf9F4kTDat0x Y4Kp0/3mEmFQ3M5ObUTqx5A30Kq+BRC0PCqOxp/sXd1lhPyqomMAdwT4ExumNEyyg00m zwR5/+CHIdxguFi67ZRbVStl4KNj8J6hguyXQtOqZTHhv6yKWysLAFDi9XwFV32752oI fWjdrVaCy4LrqB4xKpomb3tvNpz0DpXu4hfbmWEeWKVQRWtLbuWcAT375moE64azUKwU NnsGmGKlZHcev7G2AniqVyDCRLjQhh3CEQFdDIlBSNug+8JVHWi0IAxdD+WQyL0BkbXC gRGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iB05MPA0fc0WKi0vwxAdohh/JEsc4k/HWF+nMxtFEBs=; b=i6/f6pdZ9+EtrGA7vlBWcOtzcgYSzKbMsCZhXOlE08HZA8b9InjQf5208JZEJOW+x7 te5l9uLZpzRTGIPBj9VWPwLWbcaLgpDEEwPQtVeAoXRxm54bqpYig+ch2Hdg6cjkALiG ZivXwGs+ac2xn9vsWMSVmYtv+gKVqV8vzkQOgix/ip4HZXX4gAOsg3QnICQOmM7BZfWy fQ9hWUhK4YzS/lozx+1JgYFfs2FxCZjx0VpWBzCaIYBMTLHET81m6RZPVN8Ykfk3JBwQ u7EVy73v0vZqoAQc7ZKXKxsVfBVI5YcUnN8VUnbRr0d3PFAloTARM5cfzHguSCmIQ0wP NLmg== X-Gm-Message-State: AOAM531sdqWKjCxoqGiqp5OiFiuqDpSAi2ftavGTMeaH4vvkD7zS0uoW SBOwDCyuupTNGIZjM+huUziIRXhVI6Q= X-Google-Smtp-Source: ABdhPJzlNz9HNFp0N+FQ1lHaKAzSk/SOWk+1LhT3ZsYOSHrU9bMnNKQ38Ph1D05pMwl6myz4pNTNBQ== X-Received: by 2002:a1c:7301:: with SMTP id d1mr3718518wmb.33.1612976857576; Wed, 10 Feb 2021 09:07:37 -0800 (PST) Received: from morpheus.home.roving-it.com (f.c.9.1.f.e.c.d.1.e.0.0.2.b.5.5.1.8.6.2.1.1.b.f.0.b.8.0.1.0.0.2.ip6.arpa. [2001:8b0:fb11:2681:55b2:e1:dcef:19cf]) by smtp.googlemail.com with ESMTPSA id q20sm3040484wmc.14.2021.02.10.09.07.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 10 Feb 2021 09:07:36 -0800 (PST) From: Peter Robinson To: u-boot@lists.denx.de Cc: Peter Robinson Subject: [PATCH] config: hikey: convert to DM_USB and DM_ETH Date: Wed, 10 Feb 2021 17:07:30 +0000 Message-Id: <20210210170730.250899-1-pbrobinson@gmail.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.34 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.102.3 at phobos.denx.de X-Virus-Status: Clean Convert the hikey to use DM_USB and DM_ETH. Conversion based on rpi as it has a similar DWC config. Signed-off-by: Peter Robinson --- configs/hikey_defconfig | 2 ++ include/configs/hikey.h | 4 +--- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/configs/hikey_defconfig b/configs/hikey_defconfig index 5fb48238ec..280a59a748 100644 --- a/configs/hikey_defconfig +++ b/configs/hikey_defconfig @@ -25,7 +25,9 @@ CONFIG_DM_MMC=y CONFIG_MMC_DW=y CONFIG_MMC_DW_K3=y CONFIG_CONS_INDEX=4 +CONFIG_DM_ETH=y CONFIG_USB=y +CONFIG_DM_USB=y CONFIG_USB_DWC2=y CONFIG_USB_HOST_ETHER=y CONFIG_USB_ETHER_ASIX=y diff --git a/include/configs/hikey.h b/include/configs/hikey.h index a323a0bf69..058e4d7830 100644 --- a/include/configs/hikey.h +++ b/include/configs/hikey.h @@ -47,9 +47,7 @@ /* Size of malloc() pool */ #define CONFIG_SYS_MALLOC_LEN (CONFIG_ENV_SIZE + SZ_8M) -#ifdef CONFIG_CMD_USB -#define CONFIG_USB_DWC2_REG_ADDR 0xF72C0000 -/*#define CONFIG_DWC2_DFLT_SPEED_FULL*/ +#ifdef CONFIG_USB_DWC2=y #define CONFIG_DWC2_ENABLE_DYNAMIC_FIFO #endif