[U-Boot] [PATCH V2 2/4] board: ks2_evm: get rid of bogus CONFIG_LINUX_BOOT_PARAM_ADDR

Murali Karicheri m-karicheri2 at ti.com
Fri Jul 17 17:44:51 CEST 2015


On 07/16/2015 03:08 PM, Nishanth Menon wrote:
> CONFIG_LINUX_BOOT_PARAM_ADDR is not a valid configuration option. Do
> just like what the rest of the world does.
>
> Suggested-by: Tom Rini <trini at konsulko.com>
> Signed-off-by: Nishanth Menon <nm at ti.com>
> ---
> New patch.
>
>   board/ti/ks2_evm/board.c  | 2 +-
>   include/configs/ks2_evm.h | 1 -
>   2 files changed, 1 insertion(+), 2 deletions(-)
>
> diff --git a/board/ti/ks2_evm/board.c b/board/ti/ks2_evm/board.c
> index 8892a2843df4..0cefb3404403 100644
> --- a/board/ti/ks2_evm/board.c
> +++ b/board/ti/ks2_evm/board.c
> @@ -48,7 +48,7 @@ int dram_init(void)
>
>   int board_init(void)
>   {
> -	gd->bd->bi_boot_params = CONFIG_LINUX_BOOT_PARAM_ADDR;
> +	gd->bd->bi_boot_params = CONFIG_SYS_SDRAM_BASE + 0x100;
>
>   	return 0;
>   }
> diff --git a/include/configs/ks2_evm.h b/include/configs/ks2_evm.h
> index e05d56cd8262..d838f270018b 100644
> --- a/include/configs/ks2_evm.h
> +++ b/include/configs/ks2_evm.h
> @@ -307,7 +307,6 @@
>   #define CONFIG_OF_BOARD_SETUP
>   #define CONFIG_SYS_BARGSIZE		1024
>   #define CONFIG_SYS_LOAD_ADDR		(CONFIG_SYS_SDRAM_BASE + 0x08000000)
> -#define CONFIG_LINUX_BOOT_PARAM_ADDR	(CONFIG_SYS_SDRAM_BASE + 0x100)
>
>   #define CONFIG_SUPPORT_RAW_INITRD
>
>
Acked-By: Murali Karicheri <m-karicheri2 at ti.com>

-- 
Murali Karicheri
Linux Kernel, Keystone


More information about the U-Boot mailing list