public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Murali Karicheri <m-karicheri2@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH V3 5/8] configs: ti_armv7_keystone2: switch addresses to generic addresses
Date: Wed, 22 Jul 2015 11:22:53 -0400	[thread overview]
Message-ID: <55AFB54D.5000303@ti.com> (raw)
In-Reply-To: <1437237636-8946-6-git-send-email-nm@ti.com>

On 07/18/2015 12:40 PM, Nishanth Menon wrote:
> Use the defaults defined in DEFAULT_LINUX_BOOT_ENV
>
> Signed-off-by: Nishanth Menon <nm@ti.com>
> ---
> new patch based on review comments on https://patchwork.ozlabs.org/patch/496823/
>
>   include/configs/ti_armv7_keystone2.h | 22 +++++++++-------------
>   1 file changed, 9 insertions(+), 13 deletions(-)
>
> diff --git a/include/configs/ti_armv7_keystone2.h b/include/configs/ti_armv7_keystone2.h
> index 0e67cf0ebd75..ddc2e23f1370 100644
> --- a/include/configs/ti_armv7_keystone2.h
> +++ b/include/configs/ti_armv7_keystone2.h
> @@ -212,30 +212,26 @@
>
>   #define CONFIG_BOOTFILE			"uImage"
>   #define CONFIG_EXTRA_ENV_SETTINGS					\
> +	DEFAULT_LINUX_BOOT_ENV						\
>   	CONFIG_EXTRA_ENV_KS2_BOARD_SETTINGS				\
>   	"boot=ubi\0"							\
>   	"tftp_root=/\0"							\
>   	"nfs_root=/export\0"						\
>   	"mem_lpae=1\0"							\
>   	"mem_reserve=512M\0"						\
> -	"addr_fdt=0x87000000\0"						\
> -	"addr_kern=0x88000000\0"					\
> -	"addr_uboot=0x87000000\0"					\
> -	"addr_fs=0x82000000\0"						\
>   	"addr_ubi=0x82000000\0"						\
>   	"addr_secdb_key=0xc000000\0"					\
> -	"fdt_high=0xffffffff\0"						\
>   	"name_kern=uImage-keystone-evm.bin\0"				\
>   	"run_mon=mon_install ${addr_mon}\0"				\
> -	"run_kern=bootm ${addr_kern} - ${addr_fdt}\0"			\
> +	"run_kern=bootm ${loadaddr} - ${fdtaddr}\0"			\
>   	"init_net=run args_all args_net\0"				\
>   	"init_ubi=run args_all args_ubi; "				\
>   		"ubi part ubifs; ubifsmount ubi:boot;"			\
>   		"ubifsload ${addr_secdb_key} securedb.key.bin;\0"       \
> -	"get_fdt_net=dhcp ${addr_fdt} ${tftp_root}/${name_fdt}\0"	\
> -	"get_fdt_ubi=ubifsload ${addr_fdt} ${name_fdt}\0"		\
> -	"get_kern_net=dhcp ${addr_kern} ${tftp_root}/${name_kern}\0"	\
> -	"get_kern_ubi=ubifsload ${addr_kern} ${name_kern}\0"		\
> +	"get_fdt_net=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}\0"	\
> +	"get_fdt_ubi=ubifsload ${fdtaddr} ${name_fdt}\0"		\
> +	"get_kern_net=dhcp ${loadaddr} ${tftp_root}/${name_kern}\0"	\
> +	"get_kern_ubi=ubifsload ${loadaddr} ${name_kern}\0"		\
>   	"get_mon_net=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0"	\
>   	"get_mon_ubi=ubifsload ${addr_mon} ${name_mon}\0"		\
>   	"get_uboot_net=dhcp ${addr_uboot} ${tftp_root}/${name_uboot}\0"	\
> @@ -248,10 +244,10 @@
>   		"root=/dev/nfs rw nfsroot=${serverip}:${nfs_root},"	\
>   		"${nfs_options} ip=dhcp\0"				\
>   	"nfs_options=v3,tcp,rsize=4096,wsize=4096\0"			\
> -	"get_fdt_ramfs=dhcp ${addr_fdt} ${tftp_root}/${name_fdt}\0"	\
> -	"get_kern_ramfs=dhcp ${addr_kern} ${tftp_root}/${name_kern}\0"	\
> +	"get_fdt_ramfs=dhcp ${fdtaddr} ${tftp_root}/${name_fdt}\0"	\
> +	"get_kern_ramfs=dhcp ${loadaddr} ${tftp_root}/${name_kern}\0"	\
>   	"get_mon_ramfs=dhcp ${addr_mon} ${tftp_root}/${name_mon}\0"	\
> -	"get_fs_ramfs=dhcp ${addr_fs} ${tftp_root}/${name_fs}\0"	\
> +	"get_fs_ramfs=dhcp ${rdaddr} ${tftp_root}/${name_fs}\0"	\
>   	"get_ubi_net=dhcp ${addr_ubi} ${tftp_root}/${name_ubi}\0"	\
>   	"burn_ubi=nand erase.part ubifs; "				\
>   		"nand write ${addr_ubi} ubifs ${filesize}\0"		\
>
Reviewed-by: Murali Karicheri <m-karicheri2@ti.com>

-- 
Murali Karicheri
Linux Kernel, Keystone

  reply	other threads:[~2015-07-22 15:22 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-18 16:40 [U-Boot] [PATCH V3 0/8] configs: make keystone2 config to start using arm_v7_common header Nishanth Menon
2015-07-18 16:40 ` [U-Boot] [PATCH V3 1/8] configs: split ti_armv7_common into a omap generic header Nishanth Menon
2015-07-22 15:35   ` Tom Rini
2015-07-18 16:40 ` [U-Boot] [PATCH V3 2/8] board: ks2_evm: get rid of bogus CONFIG_LINUX_BOOT_PARAM_ADDR Nishanth Menon
2015-07-22 15:35   ` Tom Rini
2015-07-18 16:40 ` [U-Boot] [PATCH V3 3/8] configs: rename ks2_evm into ti_armv7_keystone2 Nishanth Menon
2015-07-22 15:23   ` Murali Karicheri
2015-07-22 15:24   ` Murali Karicheri
2015-07-22 15:35   ` Tom Rini
2015-07-18 16:40 ` [U-Boot] [PATCH V3 4/8] configs: ti_armv7_keystone2: start using armv7_common Nishanth Menon
2015-07-22 15:19   ` Murali Karicheri
2015-07-22 15:28     ` Tom Rini
2015-07-18 16:40 ` [U-Boot] [PATCH V3 5/8] configs: ti_armv7_keystone2: switch addresses to generic addresses Nishanth Menon
2015-07-22 15:22   ` Murali Karicheri [this message]
2015-07-22 15:35   ` Tom Rini
2015-07-18 16:40 ` [U-Boot] [PATCH V3 6/8] ti_armv7_keystone2: switch to using kernel zImage Nishanth Menon
2015-07-22 15:21   ` Murali Karicheri
2015-07-22 15:35   ` Tom Rini
2015-07-18 16:40 ` [U-Boot] [PATCH V3 7/8] configs: k2*_evm: rename skernel binary names to generated file names Nishanth Menon
2015-07-22 15:21   ` Murali Karicheri
2015-07-22 15:35   ` Tom Rini
2015-07-18 16:40 ` [U-Boot] [PATCH V3 8/8] configs: keystone2: remove distro specific ramdisk name Nishanth Menon
2015-07-22 15:20   ` Murali Karicheri
2015-07-22 15:32   ` Tom Rini
2015-07-22 15:33     ` Nishanth Menon

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=55AFB54D.5000303@ti.com \
    --to=m-karicheri2@ti.com \
    --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