From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 707BAC2B9F7 for ; Wed, 26 May 2021 09:33:40 +0000 (UTC) Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 61F2061408 for ; Wed, 26 May 2021 09:33:39 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 61F2061408 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 67F3682CCA; Wed, 26 May 2021 11:33:37 +0200 (CEST) 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="dHxoX/Cy"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id DFD0182B82; Wed, 26 May 2021 11:33:35 +0200 (CEST) Received: from mail-pj1-x1029.google.com (mail-pj1-x1029.google.com [IPv6:2607:f8b0:4864:20::1029]) (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 3392F82B82 for ; Wed, 26 May 2021 11:33:33 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=email2tema@gmail.com Received: by mail-pj1-x1029.google.com with SMTP id ep16-20020a17090ae650b029015d00f578a8so23399pjb.2 for ; Wed, 26 May 2021 02:33:33 -0700 (PDT) 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=O9TmjNINErKt0jjMRPYZuONSzogKdzsGZImsoBmQX+s=; b=dHxoX/CyzG0UlR3wowpToEiPpMLcyJSLX6s2m8zILfhbSHcG5tthQ7Wq4KNjkZmlCd P1RK7NQ6AkG2WZlNcVM8QGoZofO34uJ8SKILkxUPXotykU75jL78/0YKHtcL75YjaL9A uDzzXbwe4B1YS/+OHDfuU0h4iCc2qWg3tBg1NHmnVjihDcHkVOsx4wvfB9NHsyNbav/K U/gO0rv3FJRLjB8zMUDb8ZYIStLpFsjPRZFe6NoKzKJ2iWtVjlwblPqzOVlZI1yfvHGo bnXczzqOZnORcrVaxEHT6H3QTDgQ5NA9C7fpuRgCDqB8Flc0o/MYImmZIjLpRS9SaWnU qqXA== 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=O9TmjNINErKt0jjMRPYZuONSzogKdzsGZImsoBmQX+s=; b=gCb7xN3vpOdRsbO8MwVjOK66vWLJvTGe9v4WEcpZ1o0ZaHosZtKG5C6do28LSIYYCW vuJdht5lf8+A7IR4Y+d68mgjLk4Sh7fLPbu5UWuwIuKCywfQLbLabGJJSbSC2eS9cKZG JUSC/kSTKteixLsgcqMzzCn8vTKvVUfERII7XUc0BORZTF/wpJkNZFj4OQHgFVR5RiYh qdTGgn6qfkeXvQLV9OfNZtOa9RziFRUFSNEtQNg1eamheKYZp1CNpEzSApyQUdlkjk8G Xe64DdyXbPBxw5SEpp1TICeJES7hR4TPaXslLsTnzHgZDZNC3xH3stpJJFIIqilRsbGY byyA== X-Gm-Message-State: AOAM5308cHh4KK7cRK0txvbxhMO9rSqlGNahhedC+dIYPsMEa7bPcO7e 18zW7AjEL3YX1k6oT+vBjqvCn6SnYYL07Yfh X-Google-Smtp-Source: ABdhPJxT2SDhDNnqKwD+RUfq9uSz08wRsVsK6s59koQVH5T3hD/h0UZv7T8yosapXBjDnW/KyzI7yg== X-Received: by 2002:a17:902:d903:b029:ef:abd0:d8fa with SMTP id c3-20020a170902d903b02900efabd0d8famr34594478plz.49.1622021611522; Wed, 26 May 2021 02:33:31 -0700 (PDT) Received: from localhost.localdomain (104.194.74.249.16clouds.com. [104.194.74.249]) by smtp.gmail.com with ESMTPSA id lp13sm4015553pjb.0.2021.05.26.02.33.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 May 2021 02:33:31 -0700 (PDT) From: Artem Lapkin X-Google-Original-From: Artem Lapkin To: kever.yang@rock-chips.com Cc: sjg@chromium.org, philipp.tomsich@theobroma-systems.com, jagan@amarulasolutions.com, sunil@amarulasolutions.com, u-boot@lists.denx.de, art@khadas.com, nick@khadas.com, gouwa@khadas.com Subject: [PATCH] evb_rk3399: add usb ohci definations Date: Wed, 26 May 2021 17:33:19 +0800 Message-Id: <20210526093319.274254-1-art@khadas.com> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.4 at phobos.denx.de X-Virus-Status: Clean Problem: not possible to use CONFIG_USB_OHCI_HCD=y and CONFIG_USB_OHCI_GENERIC=y options without CONFIG_USB_OHCI_NEW and CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS definations Add missed definations. Signed-off-by: Artem Lapkin --- include/configs/evb_rk3399.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/configs/evb_rk3399.h b/include/configs/evb_rk3399.h index b7e85037..492b7b4d 100644 --- a/include/configs/evb_rk3399.h +++ b/include/configs/evb_rk3399.h @@ -15,4 +15,7 @@ #define SDRAM_BANK_SIZE (2UL << 30) +#define CONFIG_USB_OHCI_NEW +#define CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS 2 + #endif -- 2.25.1