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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 87FA6C433EF for ; Thu, 21 Oct 2021 05:32:19 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id 1280760F9E for ; Thu, 21 Oct 2021 05:32:19 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 1280760F9E Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=lists.denx.de Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 416BF83483; Thu, 21 Oct 2021 07:32:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1634794337; bh=A0KRSLQDMDzp0NIscfigArf9nr7g+HmAmlcp75RnuQQ=; h=Subject:To:Cc:References:From:Date:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=LZiLYivEQ39e0DkYV8jb0Po+6rjpUKwS/MMdNkICUMEtaP30rHiEVkdbEvkOSu4rA b3HRB7mp7o6anVCYMXQcLC9sYKILnp8XBN397/T/4Y5j9Yb/mxjwQ4iAy6xPYIJEIy GMPfh0d+pkvD0HFqvoK1RSK1tyJR3E5NM6sL/HRz4JgvM89Q35oB6R11VXs1srt/VF AGZy75TEUsJWJwMwrYSSIgaJEKB/uuEiB7D4Qe+A9VHgA665Wq5fRF1i+J+FzZVrC5 hIP2VHUbwAzCGPz3KCuzh/1kTLZA0a9wbLwvi6PMRCsREVbSH4Bzh0kmCh3/kPBqCV iP/UmUV39/GLg== Received: by phobos.denx.de (Postfix, from userid 109) id 7C71883488; Thu, 21 Oct 2021 07:32:12 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [91.198.250.252]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 8BB0D83477 for ; Thu, 21 Oct 2021 07:32:07 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [80.241.60.241]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4HZbhR3Kd3zQkLv; Thu, 21 Oct 2021 07:32:07 +0200 (CEST) Subject: Re: [PATCH u-boot-marvell 05/12] arm: mvebu: turris_mox: Cosmetic update for board config header To: =?UTF-8?Q?Marek_Beh=c3=ban?= Cc: u-boot@lists.denx.de, pali@kernel.org, =?UTF-8?Q?Marek_Beh=c3=ban?= References: <20211009173346.7859-1-kabel@kernel.org> <20211009173346.7859-6-kabel@kernel.org> From: Stefan Roese Message-ID: <88970403-bdea-77af-b1b4-2e045db42744@denx.de> Date: Thu, 21 Oct 2021 07:32:03 +0200 MIME-Version: 1.0 In-Reply-To: <20211009173346.7859-6-kabel@kernel.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: de-DE Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 7D2941300 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.103.2 at phobos.denx.de X-Virus-Status: Clean On 09.10.21 19:33, Marek Behún wrote: > From: Marek Behún > > Reorder the definitions in Turris MOX' board config header, drop the > comment relics from when this file was copied, fix indentation. > > Signed-off-by: Marek Behún Reviewed-by: Stefan Roese Thanks, Stefan > --- > include/configs/turris_mox.h | 61 +++++++++++++----------------------- > 1 file changed, 22 insertions(+), 39 deletions(-) > > diff --git a/include/configs/turris_mox.h b/include/configs/turris_mox.h > index 070abe38db..3cfad7cca9 100644 > --- a/include/configs/turris_mox.h > +++ b/include/configs/turris_mox.h > @@ -8,13 +8,11 @@ > #ifndef _CONFIG_TURRIS_MOX_H > #define _CONFIG_TURRIS_MOX_H > > -#define CONFIG_SYS_BOOTM_LEN (64 << 20) > - > -/* additions for new ARM relocation support */ > -#define CONFIG_SYS_SDRAM_BASE 0x00000000 > - > -/* auto boot */ > - > +#define CONFIG_SYS_BOOTM_LEN (64 << 20) > +#define CONFIG_SYS_SDRAM_BASE 0x00000000 > +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + 0xFF0000) > +#define CONFIG_SYS_CBSIZE 1024 > +#define CONFIG_SYS_MAXARGS 32 > #define CONFIG_SYS_BAUDRATE_TABLE { 300, 600, 1200, 1800, 2400, 4800, \ > 9600, 19200, 38400, 57600, 115200, \ > 230400, 460800, 500000, 576000, \ > @@ -23,25 +21,10 @@ > 4000000, 4500000, 5000000, 5500000, \ > 6000000 } > > -#define CONFIG_SYS_CBSIZE 1024 /* Console I/O Buff Size */ > - > -/* > - * Other required minimal configurations > - */ > -#define CONFIG_SYS_MAXARGS 32 /* max number of command args */ > - > -/* End of 16M scrubbed by training in bootrom */ > -#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE + 0xFF0000) > - > -/* Environment in SPI NOR flash */ > - > -/* > - * Ethernet Driver configuration > - */ > -#define CONFIG_ARP_TIMEOUT 200 > -#define CONFIG_NET_RETRY_COUNT 50 > +#define CONFIG_ARP_TIMEOUT 200 > +#define CONFIG_NET_RETRY_COUNT 50 > > -#define CONFIG_USB_MAX_CONTROLLER_COUNT (3 + 3) > +#define CONFIG_USB_MAX_CONTROLLER_COUNT 6 > > #define BOOT_TARGET_DEVICES(func) \ > func(MMC, mmc, 0) \ > @@ -51,22 +34,22 @@ > > #include > > -#define TURRIS_MOX_BOOTCMD_RESCUE \ > - "setenv bootargs \"console=ttyMV0,115200 " \ > - "earlycon=ar3700_uart,0xd0012000\" && " \ > - "sf probe && " \ > - "sf read 0x5000000 0x190000 && " \ > - "lzmadec 0x5000000 0x5800000 && " \ > +#define TURRIS_MOX_BOOTCMD_RESCUE \ > + "setenv bootargs \"console=ttyMV0,115200 " \ > + "earlycon=ar3700_uart,0xd0012000\" && " \ > + "sf probe && " \ > + "sf read 0x5000000 0x190000 && " \ > + "lzmadec 0x5000000 0x5800000 && " \ > "bootm 0x5800000" > > -#define CONFIG_EXTRA_ENV_SETTINGS \ > - "scriptaddr=0x4d00000\0" \ > - "pxefile_addr_r=0x4e00000\0" \ > - "fdt_addr_r=0x4f00000\0" \ > - "kernel_addr_r=0x5000000\0" \ > - "ramdisk_addr_r=0x8000000\0" \ > - "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ > - "bootcmd_rescue=" TURRIS_MOX_BOOTCMD_RESCUE "\0" \ > +#define CONFIG_EXTRA_ENV_SETTINGS \ > + "scriptaddr=0x4d00000\0" \ > + "pxefile_addr_r=0x4e00000\0" \ > + "fdt_addr_r=0x4f00000\0" \ > + "kernel_addr_r=0x5000000\0" \ > + "ramdisk_addr_r=0x8000000\0" \ > + "fdtfile=marvell/" CONFIG_DEFAULT_DEVICE_TREE ".dtb\0" \ > + "bootcmd_rescue=" TURRIS_MOX_BOOTCMD_RESCUE "\0" \ > BOOTENV > > #endif /* _CONFIG_TURRIS_MOX_H */ > Viele Grüße, Stefan -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de