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: 1649963 X-Patchwork-Delegate: marek.vasut@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: bilbo.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=linaro.org header.i=@linaro.org header.a=rsa-sha256 header.s=google header.b=sMFRYCaN; dkim-atps=neutral Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=2a01:238:438b:c500:173d:9f52:ddab:ee01; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Received: from phobos.denx.de (phobos.denx.de [IPv6:2a01:238:438b:c500:173d:9f52:ddab:ee01]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4LXxvg25scz9sFs for ; Wed, 29 Jun 2022 20:06:55 +1000 (AEST) 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-Google-Smtp-Source: AGRyM1tYIQ52gyrlV5iz9vXm65lcPBxVdEyh/bW5eIJ2+uhQMHhGC6y2c7B9gvoJJvLe4kAl0Tgsrg== 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