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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 8F024C433F5 for ; Wed, 25 May 2022 13:23:28 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id CEC8E842EE; Wed, 25 May 2022 15:23:15 +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="GvDGvJVO"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 2D32A842E9; Wed, 25 May 2022 15:23:11 +0200 (CEST) Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) (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 2E28C842EE for ; Wed, 25 May 2022 15:23:07 +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-wr1-x436.google.com with SMTP id x12so5864947wrg.2 for ; Wed, 25 May 2022 06:23:07 -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=IVFp0y8lpNCwiRhP+wm4ku/NzsqEdTnEmDjDCzUc5bo=; b=GvDGvJVO6if4DpJ6fpzLoqpexuM1knlwMCDlbVQjUISx/qJo9if7VhnrGrgCDxBSDx KVgAvRK8rmy1sHjP5RjaePUnDWEcs4MnXfeQlA1jYsn+opFfK+2WaU4R+5mvzsKDao+D 9RKTXi2Kzhh73/DRGuIXlib8iAsl/eM4VnELitHao3oTho0LBYSt73kIfgp/m4t1Z2vu NeGIbGgciGIULiolEm+J69vOJhN5JRfZr4ACXMw8jGZlrOh+WLpPJredQ9SSf02U0c9r 1HnB5/kVJcn+eIx0aebM//xcPke0Jnh+9wtty51GRwvH2aLnGSYafvArzd2bwANWC0gf 1c3w== 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=IVFp0y8lpNCwiRhP+wm4ku/NzsqEdTnEmDjDCzUc5bo=; b=sjl6QbVc0rriC0XVnBYWKFqcfjBkC+NsPWtlo+1O5hl8SXErmsLRFJlqFkeTgXPPEG 4HBOlPdRG2/FPe6cs2p1yiRIvG57GRfcBJtIO2RFLRYwU72C/Nr9ZepBNJKSZPlDh+h7 pHNizhp7s9eBdG1q6trz2D6vZFhe3rOFIYU6vsslD5KpkgCyawxaHGUbqgBzI96c4bB6 nzREXGNLXW245+COIoL859c0ncBE6AU0ukyTtNy1OZ5xuFAu9oVp2gYcMWpMkvNP2dm7 1WOa3SJgiBC7WigPLJ05LHJfgGlEuHboRVs+f4HFRYSYk7tsF7AMxbTCyQYGtijfiiEp ypfg== X-Gm-Message-State: AOAM533gfgxAzC2qzwkWj7aiPKzL6QDJpUZce44jHuZqfRlzn2ssfNZR 3QGzCjMdAKRx2t8+Jjd+QxJGJUCPAsiLig== X-Google-Smtp-Source: ABdhPJxgPmeouNy/JlfZ0ADKOEL+LW1oqNV0NaNCiDpyVaz8FRFSr2BfuQDLapNCbX4jK/pxvpDe8A== X-Received: by 2002:a05:6000:cd:b0:20e:5e59:b4b3 with SMTP id q13-20020a05600000cd00b0020e5e59b4b3mr26778146wrx.519.1653484986792; Wed, 25 May 2022 06:23:06 -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 g18-20020a05600c4ed200b003942a244f38sm1987806wmq.17.2022.05.25.06.23.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 May 2022 06:23:06 -0700 (PDT) From: Rui Miguel Silva To: u-boot@lists.denx.de Cc: Rui Miguel Silva Subject: [PATCH v3 3/3] corstone1000: enable isp1763 usb controller and mmc Date: Wed, 25 May 2022 14:22:51 +0100 Message-Id: <20220525132251.240868-4-rui.silva@linaro.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220525132251.240868-1-rui.silva@linaro.org> References: <20220525132251.240868-1-rui.silva@linaro.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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.5 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 4f6082770f89..d6c0dc4c5641 100644 --- a/configs/corstone1000_defconfig +++ b/configs/corstone1000_defconfig @@ -23,6 +23,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 @@ -45,4 +47,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 6bc0fc976018..ff327f59483f 100644 --- a/include/configs/corstone1000.h +++ b/include/configs/corstone1000.h @@ -35,7 +35,13 @@ #define CONFIG_SYS_CBSIZE 512 /* Console I/O Buffer Size */ #define CONFIG_SYS_MAXARGS 64 /* max command args */ +#define BOOT_TARGET_DEVICES(func) \ + func(USB, usb, 0) + +#include + #define CONFIG_EXTRA_ENV_SETTINGS \ + BOOTENV \ "usb_pgood_delay=250\0" \ "boot_bank_flag=0x08002000\0" \ "kernel_addr_bank_0=0x083EE000\0" \ -- 2.36.1