diff mbox

[U-Boot,V5,1/4] SMDK2410: activate ARM relocation feature

Message ID 1300365314-2287-2-git-send-email-d.mueller@elsoft.ch
State Changes Requested
Delegated to: Minkyu Kang
Headers show

Commit Message

David Müller (ELSOFT AG) March 17, 2011, 12:35 p.m. UTC
Signed-off-by: David Müller <d.mueller@elsoft.ch>

---
 include/configs/smdk2410.h |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

Comments

Minkyu Kang March 22, 2011, 12:24 a.m. UTC | #1
Dear David Müller,

On 17 March 2011 21:35, David Müller <d.mueller@elsoft.ch> wrote:
> Signed-off-by: David Müller <d.mueller@elsoft.ch>
>
> ---
>  include/configs/smdk2410.h |    7 +++++++
>  1 files changed, 7 insertions(+), 0 deletions(-)
>
> diff --git a/include/configs/smdk2410.h b/include/configs/smdk2410.h
> index 62fe97e..38b5684 100644
> --- a/include/configs/smdk2410.h
> +++ b/include/configs/smdk2410.h
> @@ -179,4 +179,11 @@
>  #define        CONFIG_ENV_IS_IN_FLASH  1
>  #define CONFIG_ENV_SIZE                0x10000 /* Total Size of Environment Sector */
>
> +/* additions for new relocation code, must be added to all boards */
> +#undef CONFIG_SYS_ARM_WITHOUT_RELOC

Please remove this define.

> +#define CONFIG_SYS_SDRAM_BASE  PHYS_SDRAM_1
> +#define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_SDRAM_BASE + 0x1000 - \
> +                               GENERATED_GBL_DATA_SIZE)
> +
> +
>  #endif /* __CONFIG_H */

Thanks
Minkyu Kang
David Müller (ELSOFT AG) March 22, 2011, 8:44 a.m. UTC | #2
Minkyu Kang wrote:
>> +/* additions for new relocation code, must be added to all boards */
>> +#undef CONFIG_SYS_ARM_WITHOUT_RELOC
> 
> Please remove this define.
> 
>> +#define CONFIG_SYS_SDRAM_BASE  PHYS_SDRAM_1
>> +#define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_SDRAM_BASE + 0x1000 - \
>> +                               GENERATED_GBL_DATA_SIZE)

You are talking about the "#undef", right?

Dave
Minkyu Kang March 22, 2011, 8:45 a.m. UTC | #3
Dear David Müller,

On 22 March 2011 17:44, "David Müller (ELSOFT AG)" <d.mueller@elsoft.ch> wrote:
> Minkyu Kang wrote:
>>> +/* additions for new relocation code, must be added to all boards */
>>> +#undef CONFIG_SYS_ARM_WITHOUT_RELOC
>>
>> Please remove this define.
>>
>>> +#define CONFIG_SYS_SDRAM_BASE  PHYS_SDRAM_1
>>> +#define CONFIG_SYS_INIT_SP_ADDR        (CONFIG_SYS_SDRAM_BASE + 0x1000 - \
>>> +                               GENERATED_GBL_DATA_SIZE)
>
> You are talking about the "#undef", right?

Right. :)

Thanks
Minkyu Kang
David Müller (ELSOFT AG) March 22, 2011, 8:56 a.m. UTC | #4
Minkyu Kang wrote:
>> You are talking about the "#undef", right?
> 
> Right. :)

Ok, will be done.

Dave
diff mbox

Patch

diff --git a/include/configs/smdk2410.h b/include/configs/smdk2410.h
index 62fe97e..38b5684 100644
--- a/include/configs/smdk2410.h
+++ b/include/configs/smdk2410.h
@@ -179,4 +179,11 @@ 
 #define	CONFIG_ENV_IS_IN_FLASH	1
 #define CONFIG_ENV_SIZE		0x10000	/* Total Size of Environment Sector */
 
+/* additions for new relocation code, must be added to all boards */
+#undef CONFIG_SYS_ARM_WITHOUT_RELOC
+#define CONFIG_SYS_SDRAM_BASE	PHYS_SDRAM_1
+#define CONFIG_SYS_INIT_SP_ADDR	(CONFIG_SYS_SDRAM_BASE + 0x1000 - \
+				GENERATED_GBL_DATA_SIZE)
+
+
 #endif	/* __CONFIG_H */