[U-Boot] [PATCH 7/9] mx23_olinuxino: Add default environment

Otavio Salvador
2013-01-22T02:00:32Z

On Mon, Jan 21, 2013 at 11:49 PM, Marek Vasut <marex@denx.de> wrote:
> Dear Otavio Salvador,
>
> Description missing.
>
>> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
>> ---
>> include/configs/mx23_olinuxino.h | 90
>> +++++++++++++++++++++++++++++++++++++++- 1 file changed, 89 insertions(+),
>> 1 deletion(-)
>>
>> diff --git a/include/configs/mx23_olinuxino.h
>> b/include/configs/mx23_olinuxino.h index a62e3a2..7d34168 100644
>> --- a/include/configs/mx23_olinuxino.h
>> +++ b/include/configs/mx23_olinuxino.h
>> @@ -140,9 +140,97 @@
>> #define CONFIG_SETUP_MEMORY_TAGS
>> #define CONFIG_BOOTDELAY 3
>> #define CONFIG_BOOTFILE "uImage"
>> -#define CONFIG_BOOTARGS "console=ttyAMA0,115200n8 "
>
> No need to remove this.

It has an extended version in the end.

>> #define CONFIG_LOADADDR 0x42000000
>> #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
>> #define CONFIG_OF_LIBFDT
>>
>> +/*
>> + * Extra Environments
>> + */
>> +#define CONFIG_EXTRA_ENV_SETTINGS \
>> + "update_sd_firmware_filename=u-boot.sd\0" \
>> + "update_nand_full_filename=u-boot.nand\0" \
>> + "update_nand_firmware_filename=u-boot.sb\0" \
>> + "update_sd_firmware_filename=u-boot.sd\0" \
>> + "update_nand_firmware_maxsz=0x100000\0" \
>> + "update_nand_stride=0x40\0" /* MX28 datasheet ch. 12.12 */ \
>> + "update_nand_count=0x4\0" /* MX28 datasheet ch. 12.12 */ \
>> + "update_nand_get_fcb_size=" /* Get size of FCB blocks */ \
>
> This board has no NAND.

Good catch; will drop it for v2 after Stefano and Fabio's comments.

--
Otavio Salvador O.S. Systems
E-mail: otavio at ossystems.com.br http://www.ossystems.com.br
Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br