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 2B713C64EC7 for ; Sat, 25 Feb 2023 07:41:46 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 1E6F685AFB; Sat, 25 Feb 2023 08:41:44 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.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=kernel.org header.i=@kernel.org header.b="KXuK/G7H"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id C380C85B5B; Sat, 25 Feb 2023 08:41:42 +0100 (CET) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 4227B85ADF for ; Sat, 25 Feb 2023 08:41:40 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 84E47604EF; Sat, 25 Feb 2023 07:41:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id C4DEBC433D2; Sat, 25 Feb 2023 07:41:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677310897; bh=IyViBr8ZulGfz5NtFtGJOD0FI/+tLpxXKfq2M0yXenY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KXuK/G7Hdgm3ojaJ+86o5g0JKJZLftuxkwcVaYSp3kW+ii2olyKnBkGVIN8Y8HxA/ iOVljpZAPQVNdG6Yk0PDW2n130i7nr1+5xppgXA5btevehoropm0e90zpdRGq+JpRG bCYs5/k+H5rqcTzRbybC/0db0/pBNOsf6ScY2516i5Jvs/AakO2GqtzBT03GOQ1nma GHTldEl4FtCnRnITXH49P6zZWCHp0QMe2/1n+X4ZWrKlujAcl2CK+nBnIffGXRWnE3 /2qK1B6n5Xouvvxe2ulX9zvzUfq2B1bin7a6YxuYpLSnWR5BqDzm99xHTtesVnNbqM 09GSTowGnFVFg== Received: by pali.im (Postfix) id C8BED709; Sat, 25 Feb 2023 08:41:34 +0100 (CET) Date: Sat, 25 Feb 2023 08:41:34 +0100 From: Pali =?utf-8?B?Um9ow6Fy?= To: Martin Rowe Cc: josua@solid-run.com, mibodhi@gmail.com, sr@denx.de, u-boot@lists.denx.de Subject: Re: [PATCH 2/2] arm: mvebu: clearfog: Add defconfig for SPI booting Message-ID: <20230225074134.c33li7ys5cktcah2@pali> References: <20230221201925.9644-1-pali@kernel.org> <20230225014220.13166-1-martin.p.rowe@gmail.com> <20230225014220.13166-3-martin.p.rowe@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230225014220.13166-3-martin.p.rowe@gmail.com> User-Agent: NeoMutt/20180716 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 On Saturday 25 February 2023 11:42:20 Martin Rowe wrote: > This new clearfog_spi_defconfig file is copy of existing > clearfog_defconfig file and changed to instruct build system to > generate final kwbimage for SPI booting and to store the > environment in SPI as well. > > Signed-off-by: Martin Rowe > --- > .../{clearfog_sata_defconfig => clearfog_spi_defconfig} | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > copy configs/{clearfog_sata_defconfig => clearfog_spi_defconfig} (93%) > > diff --git a/configs/clearfog_sata_defconfig b/configs/clearfog_spi_defconfig > similarity index 93% > copy from configs/clearfog_sata_defconfig > copy to configs/clearfog_spi_defconfig > index 84f900bf50..31b1e9fce8 100644 > --- a/configs/clearfog_sata_defconfig > +++ b/configs/clearfog_spi_defconfig > @@ -3,20 +3,24 @@ CONFIG_ARCH_CPU_INIT=y > CONFIG_SYS_THUMB_BUILD=y > CONFIG_ARCH_MVEBU=y > CONFIG_TEXT_BASE=0x00800000 > +CONFIG_SPL_GPIO=y > CONFIG_SPL_LIBCOMMON_SUPPORT=y > CONFIG_SPL_LIBGENERIC_SUPPORT=y > CONFIG_NR_DRAM_BANKS=2 > CONFIG_HAS_CUSTOM_SYS_INIT_SP_ADDR=y > CONFIG_CUSTOM_SYS_INIT_SP_ADDR=0xff0000 > CONFIG_TARGET_CLEARFOG=y > -CONFIG_MVEBU_SPL_BOOT_DEVICE_SATA=y > +CONFIG_ENV_SECT_SIZE=0x10000 > CONFIG_DEFAULT_DEVICE_TREE="armada-388-clearfog" > CONFIG_SPL_TEXT_BASE=0x40000030 > +CONFIG_SPL_MMC=y > CONFIG_SPL_SERIAL=y > CONFIG_SPL_STACK=0x4002c000 > CONFIG_SPL=y > CONFIG_DEBUG_UART_BASE=0xf1012000 > CONFIG_DEBUG_UART_CLOCK=250000000 > +CONFIG_SPL_LIBDISK_SUPPORT=y > +# CONFIG_SPL_SPI is not set Any reason to disable it? > CONFIG_SYS_LOAD_ADDR=0x800000 > CONFIG_DEBUG_UART=y > CONFIG_AHCI=y > @@ -59,6 +63,7 @@ CONFIG_SYS_I2C_MVTWSI=y > CONFIG_I2C_EEPROM=y > CONFIG_SPL_I2C_EEPROM=y > CONFIG_MMC_BROKEN_CD=y > +CONFIG_SPL_DM_MMC=y > CONFIG_SUPPORT_EMMC_BOOT=y > CONFIG_MMC_SDHCI=y > CONFIG_MMC_SDHCI_SDMA=y > -- > 2.39.2 >