From patchwork Wed Jun 29 10:06:16 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: 585816 Delivered-To: patch@linaro.org Received: by 2002:a05:7000:5036:0:0:0:0 with SMTP id e22csp190312mab; Wed, 29 Jun 2022 03:06:53 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uzTQK/XrrQKhTbCzWTUluPKAwQvlbDlCWpCqK/MgRMgUsa8rLZWRSE7iyjGWhqCtt4rXpN X-Received: by 2002:a05:6512:340c:b0:47f:a3a8:cb4a with SMTP id i12-20020a056512340c00b0047fa3a8cb4amr1413999lfr.129.1656497213382; Wed, 29 Jun 2022 03:06:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1656497213; cv=none; d=google.com; s=arc-20160816; b=YM8PneB18kAdObLF1F9WheyZLesXkzyPy5oUyP4lMU94eEm41hUqGLeCCrEBbdFVVw lxHcgFJQdxBL0N7MFtQagtFTTMamG99wfL5CudLJ0fGUWglxWI7v5LiGAXfD7odM2zkQ 49gLrndHeYyRgq6Yd31pcPDdoscaeYthepUGqlx5KSb3HE4OMynpk7B4wm8cubfjEp7T LXzeEzK5rndv/6qi3M9xD9Ov8E8WenDVwg8bn1oIB+2IEaLanpz4PtiVoVmI/WPUySRH Ha9nRIxvWG1H13weA7ih6vyjDShPmnRmIRzpM+ioRPcrM6jRb+MYntUJZPFitSdJ3RFy d8iw== 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=LVV8RI3gvtcQa1UWvFuM9bknPMfjM9LQ8eBWTEqktic=; b=x1KaTSSuRqnblmoxyfY06Vsu2xQ1HhaNp4jil/b8nelIyVQeZXC/w/FjrurB4bgorQ dgmkxnu+zC+KGQF4dizHFMVU9JicGHv9dgoBnXSZtk66FcN0+SKBtPSHqbuTERkKebgP hqkTgNPI6GQ3SnRh6UpwVEyEqSvUNuFaXR4+liyYT0O1RO2et5RJsQL9La9+ZuoDiLvD 6LqrT91mb0dFePVlDCWSiodnGVR5oKcVr3+TBCAXIjJAMHxkiHKNJ0AuqLVT4nmKplN8 xK6n0MgwLJAyfVCwMu8zLoL2BPn8QZkMz320IFnjaMCw7gdaWLT8Yi+D+o5uAuw9STSq +llA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sMFRYCaN; 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 z5-20020a2e8845000000b0025a7f4df7f5si16167580ljj.404.2022.06.29.03.06.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 03:06:53 -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=sMFRYCaN; 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 129CE843DD; Wed, 29 Jun 2022 12:06:42 +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="sMFRYCaN"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 7CDAA842BE; Wed, 29 Jun 2022 12:06: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-x333.google.com (mail-wm1-x333.google.com [IPv6:2a00:1450:4864:20::333]) (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 EC17A801C3 for ; Wed, 29 Jun 2022 12:06:33 +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-x333.google.com with SMTP id i67-20020a1c3b46000000b003a03567d5e9so9443794wma.1 for ; Wed, 29 Jun 2022 03:06:33 -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=LVV8RI3gvtcQa1UWvFuM9bknPMfjM9LQ8eBWTEqktic=; b=sMFRYCaNX5i40wxC4VyPZKiuFyVKdoJpJX8G8ZMXz/buwisulbTrMKPUagDLQKdGYK V2prglUkzK4miS4Pu86D9uTXvqkvEhxBb0kr4jHNT1jwVm/0pua2h7OT9TTvdlEKVC4l z63AxE+eL5Rs9lrLM+d2qsSnwOvZItzEHBvOtpe8VaItE/48d852/hkDztr6gv3+lXSr xOj3vEISGRu9KcGRd6Ayz4dZqi7quNrk5MRfXoAjrtaFThh/v9GKkMpgyKaw1n50Z5Vi 9stNsq/g2Dq4l0zkOd/WwaQJA172HTRAWyMxotMAk6bdxkgK3qZUL2p8M+zK9bHW0erp Lozw== 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=LVV8RI3gvtcQa1UWvFuM9bknPMfjM9LQ8eBWTEqktic=; b=Qqg0ghEjhJWKbh5ifcqBUqz29HQqRN8yLim04GhGc0o1KuxE5ieAU2BCTWPXviCoFX 71iuPo22B+LF4zAUPX2EVZJRr9RCFOMBPItZN/aFZkyf9nsPZBXfElKkTzMOmx0Q9rdH nuyMs4iUPc0UW4IdEGKw/Ks18viZsCOaKPYb3+QJ4RmM2cNk0RdHKF1Ti0/sCJuFCqUD oIsKnQdlYQEHysANCci8zx3xJvgOCB7Sep3Hu4M7OFfjmw7ERRRSgh12tV6oVhB+rthT 6Z2vg//HgiO/0FENkS8wvJKREkG+5XYQUaGYPJirBGa6szIbsG1uqiCvT32Yig2dhBRm 3SjQ== X-Gm-Message-State: AJIora9RQ9n1ZsIcREkiWLc2jEvMpswWnobAUH5bwvL7wdqlJKqlTf3z 9oRluuZmc+z7UuyDu5lYs7kyXIaF8kRM0g== X-Received: by 2002:a05:600c:1994:b0:39c:8417:5d8c with SMTP id t20-20020a05600c199400b0039c84175d8cmr2713695wmq.47.1656497193092; Wed, 29 Jun 2022 03:06:33 -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 h4-20020a5d4304000000b0021b829d111csm16526076wrq.112.2022.06.29.03.06.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 Jun 2022 03:06:32 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de, Marek Vasut Cc: Tom Rini , Rui Miguel Silva Subject: [PATCH v5 3/3] corstone1000: enable isp1763 usb controller and mmc Date: Wed, 29 Jun 2022 11:06:16 +0100 Message-Id: <20220629100616.417550-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220629100616.417550-1-rui.silva@linaro.org> References: <20220629100616.417550-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