Date:2010-08-03 09:57:28 (8 years 9 months ago)
Author:Xiangfu Liu
Commit:edf2ee36845eaa3198c90c67ea7de2f3de0ef059
Message:[uboot-xburst] fix erase error when erasing redundant env nand

Signed-off-by: Xiangfu Liu <xiangfu@sharism.cc>
Files: package/uboot-xburst/files/include/configs/nanonote.h (4 diffs)

Change Details

package/uboot-xburst/files/include/configs/nanonote.h
2121#define CONFIG_NAND_JZ4740
2222
2323#define BOOT_FROM_SDCARD 1
24#define BOOT_WITH_ENABLE_UART (1 << 1) /* Vaule for global_data.h gd->boot_option */
24#define BOOT_WITH_ENABLE_UART (1 << 1) /* Vaule for global_data.h gd->boot_option */
2525
2626#define CONFIG_LCD 1 /* LCD support */
2727#define LCD_BPP LCD_COLOR32 /*5:18,24,32 bits per pixel */
...... 
4242#define CONFIG_SKIP_LOWLEVEL_INIT 1
4343#define CONFIG_BOARD_EARLY_INIT_F 1
4444#define CONFIG_SYS_NO_FLASH 1
45#define CONFIG_SYS_FLASH_BASE 0 /* init flash_base as 0 */
4546#define CONFIG_ENV_OVERWRITE 1
4647
4748#define CONFIG_BOOTP_MASK (CONFIG_BOOTP_DEFAUL)
...... 
7677/*
7778 * Miscellaneous configurable options
7879 */
79#define CONFIG_SYS_LONGHELP /* undef to save memory */
80#define CONFIG_SYS_LONGHELP /* undef to save memory */
8081#define CONFIG_SYS_PROMPT "NanoNote# " /* Monitor Command Prompt */
8182#define CONFIG_SYS_CBSIZE 256 /* Console I/O Buffer Size */
8283#define CONFIG_SYS_PBSIZE (CONFIG_SYS_CBSIZE + sizeof(CONFIG_SYS_PROMPT) + 16)
...... 
153154#define CONFIG_SYS_NAND_U_BOOT_SIZE (512 << 10) /* Size of RAM U-Boot image */
154155
155156#define CONFIG_ENV_SIZE (4 << 10)
156#define CONFIG_ENV_OFFSET (CONFIG_SYS_NAND_BLOCK_SIZE + CONFIG_SYS_NAND_U_BOOT_SIZE + CONFIG_SYS_NAND_BLOCK_SIZE)
157/* environment starts here */
158#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_ENV_SIZE)
157#define CONFIG_ENV_OFFSET (CONFIG_SYS_NAND_BLOCK_SIZE + CONFIG_SYS_NAND_U_BOOT_SIZE)
158#define CONFIG_ENV_OFFSET_REDUND (CONFIG_ENV_OFFSET + CONFIG_SYS_NAND_BLOCK_SIZE)
159159
160160/* in board/nanonote/config.mk TEXT_BAS = 0x88000000 */
161161#define CONFIG_SYS_MONITOR_BASE TEXT_BASE

Archive Download the corresponding diff file



interactive