diff mbox

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

Message ID 1437073738-25289-3-git-send-email-nm@ti.com
State Superseded
Delegated to: Tom Rini
Headers show

Commit Message

Nishanth Menon July 16, 2015, 7:08 p.m. UTC
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@konsulko.com>
Signed-off-by: Nishanth Menon <nm@ti.com>
---
New patch.

 board/ti/ks2_evm/board.c  | 2 +-
 include/configs/ks2_evm.h | 1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

Comments

Murali Karicheri July 17, 2015, 3:44 p.m. UTC | #1
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@konsulko.com>
> Signed-off-by: Nishanth Menon <nm@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@ti.com>
Vitaly Andrianov July 17, 2015, 3:50 p.m. UTC | #2
On 07/17/2015 11:44 AM, Murali Karicheri wrote:
> 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@konsulko.com>
>> Signed-off-by: Nishanth Menon <nm@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@ti.com>
>
Acked-by: Vitaly Andrianov <vitalya@ti.com>
diff mbox

Patch

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