From patchwork Fri Oct 16 15:40:09 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabien Parent X-Patchwork-Id: 1383429 X-Patchwork-Delegate: trini@ti.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=lists.denx.de (client-ip=85.214.62.61; helo=phobos.denx.de; envelope-from=u-boot-bounces@lists.denx.de; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.a=rsa-sha256 header.s=20150623 header.b=qDj1kAKG; dkim-atps=neutral Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CCVkd4H9bz9sSf for ; Sat, 17 Oct 2020 02:41:45 +1100 (AEDT) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id A0DD7824B2; Fri, 16 Oct 2020 17:40:31 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.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=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="qDj1kAKG"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id BDAE88249C; Fri, 16 Oct 2020 17:40:29 +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=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,SPF_HELO_NONE,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) (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 ECC9B8244C for ; Fri, 16 Oct 2020 17:40:24 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=fparent@baylibre.com Received: by mail-wr1-x443.google.com with SMTP id h7so3440069wre.4 for ; Fri, 16 Oct 2020 08:40:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2wIQMjtnjqM3XCa/2DiQwafiUblsDiMFm4masWqTAsw=; b=qDj1kAKGvWB9q6aFA3EZc4aCpBBuVtaSgPyftSSwE/jtuva4zTvaPvLGEs3qJJ8YrD bR8WtbdCKn/eKLWTmWyoVgsFnNfeKCt/6cxiLM8FeXmWuSpRMobOGDlaGDzdn3ANVMxp uMlV3zLhD17MdDwINzzuJ1en8BOAJodxc00LtJKa27Q6phxVFUTHtI9lUceoKDB632PS oe5sgYERCJgouHl8usNqdssSHBKbZ6j+upDfsaSMnlKqXU9/TrRvbDJ9Db9FIO7WofIo 1WW/iUnEX5zEAJF8Tc4rlAFpTC5SUwB3W/Sj905mPdo4qe+PWb00PtCsQXef/g3LtAh5 OztA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=2wIQMjtnjqM3XCa/2DiQwafiUblsDiMFm4masWqTAsw=; b=RVqL1YY+9tQzA7FpqVtcrbX+OTbVHRwJPoC/JGebBj6ixreQJcZP2tDMCPvMIJOuPZ f/E8Fkb1xDKUPHNvtmWEsWJklpdQ4lbOdeKrOArRZtpfBqVu6uL4druGy9QlKRzYatCQ v0dhEe2qM29bPi6ZMovkoQknsZXXyfeyXJs/cI7v3soIN4i/YxRhDbBorSQTXhh7UVCJ GdgeRD+dAbSAeBY5I/XkpuXOk4/vCUqtqNUt9X+du9Fn3LWUu8mtfy99u+uCTbcMbA3U RdecBOdVw4y/I+JjhD1xGTprJqx9p79Pkcr7Es1OMIUP/LB/27g63S4umdvOe71dhVej WILg== X-Gm-Message-State: AOAM530cClh59aQyM8GL8CXURRZkfWOAVU6YZfkCDbzW6slA6uYXv6Cj /yxYd5DXWDUkeMer3iLXvKkoVOSfUqaANw== X-Google-Smtp-Source: ABdhPJyuEnqG1qTuipEwbywrZDWsyTP0szAcaFek2RnvSTKMv37s5B21KYKUtC2nUhNFkVpPmKrkgQ== X-Received: by 2002:adf:a31a:: with SMTP id c26mr4440978wrb.378.1602862824233; Fri, 16 Oct 2020 08:40:24 -0700 (PDT) Received: from localhost.localdomain (211.163.185.81.rev.sfr.net. [81.185.163.211]) by smtp.gmail.com with ESMTPSA id n66sm3100020wmb.35.2020.10.16.08.40.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Oct 2020 08:40:23 -0700 (PDT) From: Fabien Parent To: u-boot@lists.denx.de, GSS_MTK_Uboot_upstream@mediatek.com Cc: weijie.gao@mediatek.com, ryder.lee@mediatek.com, Fabien Parent Subject: [PATCH 5/5] configs: pumpkin: enable fastboot Date: Fri, 16 Oct 2020 17:40:09 +0200 Message-Id: <20201016154009.3097917-6-fparent@baylibre.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201016154009.3097917-1-fparent@baylibre.com> References: <20201016154009.3097917-1-fparent@baylibre.com> MIME-Version: 1.0 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.3 at phobos.denx.de X-Virus-Status: Clean Enable fastboot commands for mt8516 pumpkin board. Signed-off-by: Fabien Parent --- configs/pumpkin_defconfig | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/configs/pumpkin_defconfig b/configs/pumpkin_defconfig index 94831adfa354..3f2cc6d023c1 100644 --- a/configs/pumpkin_defconfig +++ b/configs/pumpkin_defconfig @@ -46,8 +46,13 @@ CONFIG_CMD_PART=y # CONFIG_CMD_MISC is not set CONFIG_SYS_RELOC_GD_ENV_ADDR=y CONFIG_ENV_VARS_UBOOT_RUNTIME_CONFIG=y -# CONFIG_NET is not set CONFIG_CLK=y +CONFIG_USB_FUNCTION_FASTBOOT=y +CONFIG_FASTBOOT_BUF_ADDR=0x4d000000 +CONFIG_FASTBOOT_BUF_SIZE=0x4000000 +CONFIG_FASTBOOT_FLASH=y +CONFIG_FASTBOOT_FLASH_MMC_DEV=0 +CONFIG_FASTBOOT_MMC_BOOT1_SUPPORT=y # CONFIG_INPUT is not set CONFIG_DM_MMC=y # CONFIG_MMC_QUIRKS is not set