public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Lukasz Majewski <lukma@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2 1/6] pico-imx6ul: Move dfu_alt_info to CONFIG_DFU_ENV_SETTINGS variable
Date: Fri, 17 Nov 2017 10:34:27 +0100	[thread overview]
Message-ID: <20171117103427.52b81970@jawa> (raw)
In-Reply-To: <20171116115950.21942-1-otavio@ossystems.com.br>

On Thu, 16 Nov 2017 09:59:44 -0200
Otavio Salvador <otavio@ossystems.com.br> wrote:

> From: Fabio Berton <fabio.berton@ossystems.com.br>
> 
> Create CONFIG_DFU_ENV_SETTINGS to set dfu environment settings to
> improve human readable code.
> 
> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
> ---
> 
> Changes in v2: None
> 
>  include/configs/pico-imx6ul.h | 5 ++++-
>  1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/include/configs/pico-imx6ul.h
> b/include/configs/pico-imx6ul.h index 75658fd489..d4b29e3950 100644
> --- a/include/configs/pico-imx6ul.h
> +++ b/include/configs/pico-imx6ul.h
> @@ -47,6 +47,9 @@
>  #define CONFIG_SYS_DFU_DATA_BUF_SIZE SZ_16M
>  #define DFU_DEFAULT_POLL_TIMEOUT 300
>  
> +#define CONFIG_DFU_ENV_SETTINGS \
> +	"dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
> +
>  #define CONFIG_SYS_MMC_IMG_LOAD_PART	1
>  
>  #define CONFIG_EXTRA_ENV_SETTINGS \
> @@ -60,7 +63,7 @@
>  	"mmcpart=" __stringify(CONFIG_SYS_MMC_IMG_LOAD_PART) "\0" \
>  	"mmcroot=" CONFIG_MMCROOT " rootwait rw\0" \
>  	"mmcautodetect=yes\0" \
> -	"dfu_alt_info=boot raw 0x2 0x400 mmcpart 1\0" \
> +	CONFIG_DFU_ENV_SETTINGS \
>  	"mmcargs=setenv bootargs console=${console},${baudrate} " \
>  		"root=${mmcroot}\0" \
>  	"loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr}
> ${image}\0" \

Reviewed-by: Lukasz Majewski <lukma@denx.de>

Best regards,

Lukasz Majewski

--

DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20171117/697484aa/attachment.sig>

  parent reply	other threads:[~2017-11-17  9:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-16 11:59 [U-Boot] [PATCH v2 1/6] pico-imx6ul: Move dfu_alt_info to CONFIG_DFU_ENV_SETTINGS variable Otavio Salvador
2017-11-16 11:59 ` [U-Boot] [PATCH v2 2/6] pico-imx6ul: Use PARTUUID to specify the rootfs location Otavio Salvador
2017-11-16 18:11   ` Fabio Estevam
2017-11-16 11:59 ` [U-Boot] [PATCH v2 3/6] pico-imx6ul: Add boot and rootfs dfu_alt_info Otavio Salvador
2017-11-16 11:59 ` [U-Boot] [PATCH v2 4/6] pico-imx6ul: Define partition layout in the environment Otavio Salvador
2017-11-16 18:11   ` Fabio Estevam
2017-11-16 11:59 ` [U-Boot] [PATCH v2 5/6] pico-imx6ul: Add function to create gpt partitions Otavio Salvador
2017-11-16 11:59 ` [U-Boot] [PATCH v2 6/6] pico-imx6ul: Use FS_GENERIC load command Otavio Salvador
2017-11-17  9:34 ` Lukasz Majewski [this message]
2017-11-20  8:56 ` [U-Boot] [PATCH v2 1/6] pico-imx6ul: Move dfu_alt_info to CONFIG_DFU_ENV_SETTINGS variable Stefano Babic

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=20171117103427.52b81970@jawa \
    --to=lukma@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox