All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Roese <sr@denx.de>
To: u-boot@lists.denx.de
Subject: [PATCH 2/6] arm: octeontx: support generic distro config
Date: Fri, 26 Mar 2021 07:44:36 +0100	[thread overview]
Message-ID: <a5d3087e-4e91-03a8-2dfa-f8428ed1700e@denx.de> (raw)
In-Reply-To: <20210326000737.9764-3-tharvey@gateworks.com>

On 26.03.21 01:07, Tim Harvey wrote:
> Support Generic Distro Default config
> 
> Signed-off-by: Tim Harvey <tharvey@gateworks.com>

Reviewed-by: Stefan Roese <sr@denx.de>

Thanks,
Stefan

> ---
>   include/configs/octeontx_common.h | 31 ++++++++++++++++++++++++++-----
>   1 file changed, 26 insertions(+), 5 deletions(-)
> 
> diff --git a/include/configs/octeontx_common.h b/include/configs/octeontx_common.h
> index 55d329f55e..434e54442f 100644
> --- a/include/configs/octeontx_common.h
> +++ b/include/configs/octeontx_common.h
> @@ -8,6 +8,32 @@
>   #ifndef __OCTEONTX_COMMON_H__
>   #define __OCTEONTX_COMMON_H__
>   
> +#ifdef CONFIG_DISTRO_DEFAULTS
> +#define BOOT_TARGET_DEVICES(func) \
> +	func(MMC, mmc, 0) \
> +	func(MMC, mmc, 1) \
> +	func(USB, usb, 0) \
> +	func(SCSI, scsi, 0)
> +
> +#include <config_distro_bootcmd.h>
> +/* Extra environment variables */
> +#define CONFIG_EXTRA_ENV_SETTINGS	\
> +	"autoload=0\0"			\
> +	"loadaddr=0x20080000\0"		\
> +	"kernel_addr_r=0x02000000\0"	\
> +	"ramdisk_addr_r=0x03000000\0"	\
> +	"scriptaddr=0x04000000\0"	\
> +	BOOTENV
> +
> +#else
> +
> +/** Extra environment settings */
> +#define CONFIG_EXTRA_ENV_SETTINGS	\
> +	"loadaddr=20080000\0"		\
> +	"autoload=0\0"
> +
> +#endif /* ifdef CONFIG_DISTRO_DEFAULTS*/
> +
>   /** Maximum size of image supported for bootm (and bootable FIT images) */
>   #define CONFIG_SYS_BOOTM_LEN		(256 << 20)
>   
> @@ -50,11 +76,6 @@
>   # define CONFIG_SF_DEFAULT_CS	0
>   #endif
>   
> -/** Extra environment settings */
> -#define CONFIG_EXTRA_ENV_SETTINGS	\
> -					"loadaddr=20080000\0"	\
> -					"autoload=0\0"
> -
>   /** Environment defines */
>   #if defined(CONFIG_ENV_IS_IN_MMC)
>   #define CONFIG_SYS_MMC_ENV_DEV		0
> 


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 at denx.de

  reply	other threads:[~2021-03-26  6:44 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-26  0:07 [PATCH 0/6] octeontx cleanup and fixes Tim Harvey
2021-03-26  0:07 ` [PATCH 1/6] arm: octeontx: move CONFIG_SUPPORT_RAW_INITRD to configs Tim Harvey
2021-03-26  6:38   ` Stefan Roese
2021-04-20 14:20   ` Tom Rini
2021-03-26  0:07 ` [PATCH 2/6] arm: octeontx: support generic distro config Tim Harvey
2021-03-26  6:44   ` Stefan Roese [this message]
2021-04-20 14:20   ` Tom Rini
2021-03-26  0:07 ` [PATCH 3/6] arm: octeontx: enable WDT_SBSA Tim Harvey
2021-03-26  6:44   ` Stefan Roese
2021-04-20 14:20   ` Tom Rini
2021-03-26  0:07 ` [PATCH 4/6] drivers: net: octeontx: fix QSGMII Tim Harvey
2021-03-26  6:46   ` Stefan Roese
2021-03-26 16:08     ` Suneel Garapati
2021-03-26 16:37       ` Tim Harvey
2021-03-26 16:39         ` Suneel Garapati
2021-04-08 19:55           ` Tim Harvey
2021-04-20 14:20   ` Tom Rini
2021-03-26  0:07 ` [PATCH 5/6] drivers: ata: ahci: update max id if it is more than available ports Tim Harvey
2021-03-26  6:47   ` Stefan Roese
2021-04-20 14:20   ` Tom Rini
2021-03-26  0:07 ` [PATCH 6/6] net: octeontx: smi: fix mii probe Tim Harvey
2021-03-26  6:48   ` Stefan Roese
2021-03-26 15:55     ` Tim Harvey
2021-03-26 16:03       ` Suneel Garapati
2021-04-27  5:19       ` Stefan Roese
2021-04-28 15:11         ` Tim Harvey
2021-04-29  5:21           ` Stefan Roese
2021-04-29 14:27             ` Tim Harvey
2021-04-20 14:20   ` Tom Rini
2021-03-26  6:49 ` [PATCH 0/6] octeontx cleanup and fixes Stefan Roese
2021-03-26 15:51   ` Tim Harvey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a5d3087e-4e91-03a8-2dfa-f8428ed1700e@denx.de \
    --to=sr@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.