From patchwork Tue Jun 28 17:42:14 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rui Miguel Silva X-Patchwork-Id: 585584 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp994048mab; Tue, 28 Jun 2022 10:42:46 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sgfPOboZDuzhEOZnnGOcbRqMQDEgnj7AZ7Cs5sw98N8v+hXIHRy39eGC+tFKqXFY64XBoj X-Received: by 2002:a2e:7d16:0:b0:25a:99c2:b2b6 with SMTP id y22-20020a2e7d16000000b0025a99c2b2b6mr10036159ljc.220.1656438166461; Tue, 28 Jun 2022 10:42:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656438166; cv=none; d=google.com; s=arc-20160816; b=Vibli75fiZ68KtYzJuJHsT7O+jsRZ0c2ist/CWGA1I3TDp9MihN29L5p0XT/T/XYPZ NBP3yAaOVv1udhVxaKvxs2GBe09AR3QKqqipQ1jdtLW3IkG61PxqCXA2tIxlVPBSiFuK ftkBfbOXKagIuTV5rnXJ2GGx8BpeFIZFlSDlnMSxRyJFweEsfudJpFiT0DvLm6tqMyet VrIfvY++/4KyCN2ySwara9SWAnmke1S6G7mLdJ/2HPB7GDXE408ZCYhyKw/5oE9N2b/H APWJG+ShgsT1votjXgV6FYVt/mvoWiUsJ76aDbuM0tfYnQ8aCBhQkWNl9kKKpO207txa r6IQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=9OKI2ZUUPJ2k6trnJbc+N+kMc8NkVcx01sKRaqZfhec=; b=fsX3VqRnx47l79yMxU9mrrbjg2UtkkQRsjP5+4+e3u7NJLs8O2IKxV1eT7BI361Z0V a0tYhLtYhcRoh0gddWGDeFSgIHDOVR2zjY6zXnXB6pDnl8ONlc8mBTp919757lbVkMAA e9Kkoce5HwpS7RVwOtCibixlTZPX3W5HZYaK99Y1SPqBp1sBwaLl6nHWY+GOI2Oxs7S+ a94aSvgLgPOHw6JyLn4PUKJMyIvz7/aWOXXQhUmh5XE/s0Owj5wRqqphOe6DzN8E9mi5 nL2jpGq3CXaGeKp2dRZDU5edXa2X2pn+qvHoJMyioClfYJ2m4UQup4lwKrqMWkonCnkG C79Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rDP9NGxQ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from phobos.denx.de (phobos.denx.de. [85.214.62.61]) by mx.google.com with ESMTPS id y39-20020a0565123f2700b004794bc36192si14473162lfa.441.2022.06.28.10.42.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 10:42:46 -0700 (PDT) Received-SPF: pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) client-ip=85.214.62.61; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rDP9NGxQ; spf=pass (google.com: domain of u-boot-bounces@lists.denx.de designates 85.214.62.61 as permitted sender) smtp.mailfrom=u-boot-bounces@lists.denx.de; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 53D59843E2; Tue, 28 Jun 2022 19:42:40 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org 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=linaro.org header.i=@linaro.org header.b="rDP9NGxQ"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 46E0584474; Tue, 28 Jun 2022 19:42:36 +0200 (CEST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on phobos.denx.de X-Spam-Level: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.2 Received: from mail-wm1-x336.google.com (mail-wm1-x336.google.com [IPv6:2a00:1450:4864:20::336]) (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 25111843E6 for ; Tue, 28 Jun 2022 19:42:28 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=rui.silva@linaro.org Received: by mail-wm1-x336.google.com with SMTP id n185so7792543wmn.4 for ; Tue, 28 Jun 2022 10:42:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9OKI2ZUUPJ2k6trnJbc+N+kMc8NkVcx01sKRaqZfhec=; b=rDP9NGxQkTuaob140tdKWgSfrPrr2BQEau8Z0gZMUdwBTfmDBChA+91koW5XWPAHro E8s6MRanktF5TPlfiI+A+4QiWAFZs+31aXXMfYdwxStAoOhg3mWxqOxG6xPS/tF7OPwM RtEeY1F5AEDmtHalO7qY/0K6LOSD4S+ckDSKg+4tHTxN0qG6aR6wZnfYaa0hRXQZjIK1 Zf0JTmwJcaaJpQ+Xi6dUEfoGFaD1MCYWpuyeOgdGOjTAD2HuAI1Mr5gPqvq1Q4rFvZ0e TUAFGADPdwR69e7bSpgWG2i3vfQDPQL0KhCLak3I/ZooPN91GbVf45zOOHmISlUClH2F GWVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9OKI2ZUUPJ2k6trnJbc+N+kMc8NkVcx01sKRaqZfhec=; b=mwpL+HGo64Z0RfOVys9oMTAgKH5QKawkEfO2/OdEs9CpuGwTxNR5XlYrNrLXIPDH4g NCHPyphW1MCMHadtiV6CI4LfpcnT8PajzejCxEpXN+ZTGYGEhPMrS0j03s6EJyA0Z8jP P1h/q+xsEAs/4YylIeoIpYQRVDwmnt3zHRFtqESVj/+uqbmvphhyMuXzcAJh4vLqueNo LvFGuF+xekk5gIbgwcHdRTtY5OQ1L6oZLytbcSyZeRfMjUeafbXY6Vv8DeRndLDpsLZ/ iAjgYymCbHmokix0H9NG8iIAHOv+iE59jygtyRTpm4D5iHZOBUGHlD05dIi2uaCUw3iN ha3g== X-Gm-Message-State: AJIora8M6Kg5U2u3OMm9ALqxcGUUorShLFPVbnomFWbXrJUW/R7O3Wgb pkSU0aydUaMPOBqXnZjTo4Ow5fHhOTskow== X-Received: by 2002:a05:600c:1f07:b0:3a0:44bc:5052 with SMTP id bd7-20020a05600c1f0700b003a044bc5052mr886090wmb.116.1656438147553; Tue, 28 Jun 2022 10:42:27 -0700 (PDT) Received: from arch-thunder.local (a109-49-33-111.cpe.netcabo.pt. [109.49.33.111]) by smtp.gmail.com with ESMTPSA id j19-20020a5d6e53000000b002102b16b9a4sm14219914wrz.110.2022.06.28.10.42.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Jun 2022 10:42:27 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de, Marek Vasut Cc: Tom Rini , Rui Miguel Silva Subject: [PATCH v4 3/3] corstone1000: enable isp1763 usb controller and mmc Date: Tue, 28 Jun 2022 18:42:14 +0100 Message-Id: <20220628174214.2496-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220628174214.2496-1-rui.silva@linaro.org> References: <20220628174214.2496-1-rui.silva@linaro.org> MIME-Version: 1.0 X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 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.103.6 at phobos.denx.de X-Virus-Status: Clean MPS3 board have a ISP1763 usb controller, enable it to be used for mass storage access for example. Enable the usb command also and for the FVP support for mass storage enable the mmc command. Signed-off-by: Rui Miguel Silva --- configs/corstone1000_defconfig | 3 +++ include/configs/corstone1000.h | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/configs/corstone1000_defconfig b/configs/corstone1000_defconfig index 49a651aba238..dcf0a59a088c 100644 --- a/configs/corstone1000_defconfig +++ b/configs/corstone1000_defconfig @@ -27,6 +27,8 @@ CONFIG_CMD_BOOTZ=y # CONFIG_CMD_XIMG is not set CONFIG_CMD_LOADM=y # CONFIG_CMD_LOADS is not set +CONFIG_CMD_MMC=y +CONFIG_CMD_USB=y # CONFIG_CMD_SETEXPR is not set # CONFIG_CMD_NFS is not set CONFIG_CMD_CACHE=y @@ -49,4 +51,5 @@ CONFIG_DM_RTC=y CONFIG_RTC_EMULATION=y CONFIG_DM_SERIAL=y CONFIG_USB=y +CONFIG_USB_ISP1760=y CONFIG_ERRNO_STR=y diff --git a/include/configs/corstone1000.h b/include/configs/corstone1000.h index 38d7fe8d0d42..8e0230c135e3 100644 --- a/include/configs/corstone1000.h +++ b/include/configs/corstone1000.h @@ -24,4 +24,10 @@ #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define BOOT_TARGET_DEVICES(func) \ + func(USB, usb, 0) + +#include + + #endif