
Hi List,
Day before I reported the problem with declarations of CONFIG_SYS_SDRAM_BASE and CONFIG_SYS_INIT_SP_ADDR.
In the following patch GENERATED_GBL_DATA_SIZE is defined as #96. The pound size before the number is cauing the assembler go mad. It doesn't compile. Remove the pound and its okay. Is the pound sign really required or is this problem with the sed script being used for it?
diff --git a/include/configs/versatile.h b/include/configs/versatile.h index 45d8434..5156589 100644 --- a/include/configs/versatile.h +++ b/include/configs/versatile.h @@ -231,4 +231,7 @@ #define CONFIG_SYS_FLASH_PROTECTION /* The devices have real protection */ #define CONFIG_SYS_FLASH_EMPTY_INFO /* flinfo indicates empty blocks */
+#define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM_1 +#define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_TEXT_BASE - GENERATED_GBL_DATA_SIZE) + #endif /* __CONFIG_H */
Thanks
Regards Himanshu