ms7722se.h (becbbc7b2a1be44d38779c80ce94fb20e5e13f12) | ms7722se.h (5a1aceb0689e2f731491838970884a673ef7e7d3) |
---|---|
1/* 2 * Configuation settings for the Hitachi Solution Engine 7722 3 * 4 * Copyright (C) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 5 * 6 * See file CREDITS for list of people who contributed to this 7 * project. 8 * --- 100 unchanged lines hidden (view full) --- 109#define CFG_FLASH_WRITE_TOUT (3 * 1000) /* Timeout for Flash write operations (in ms) */ 110#define CFG_FLASH_LOCK_TOUT (3 * 1000) /* Timeout for Flash set sector lock bit operations (in ms) */ 111#define CFG_FLASH_UNLOCK_TOUT (3 * 1000) /* Timeout for Flash clear lock bit operations (in ms) */ 112 113#undef CFG_FLASH_PROTECTION /* Use hardware flash sectors protection instead of U-Boot software protection */ 114 115#undef CFG_DIRECT_FLASH_TFTP 116 | 1/* 2 * Configuation settings for the Hitachi Solution Engine 7722 3 * 4 * Copyright (C) 2007 Nobuhiro Iwamatsu <iwamatsu@nigauri.org> 5 * 6 * See file CREDITS for list of people who contributed to this 7 * project. 8 * --- 100 unchanged lines hidden (view full) --- 109#define CFG_FLASH_WRITE_TOUT (3 * 1000) /* Timeout for Flash write operations (in ms) */ 110#define CFG_FLASH_LOCK_TOUT (3 * 1000) /* Timeout for Flash set sector lock bit operations (in ms) */ 111#define CFG_FLASH_UNLOCK_TOUT (3 * 1000) /* Timeout for Flash clear lock bit operations (in ms) */ 112 113#undef CFG_FLASH_PROTECTION /* Use hardware flash sectors protection instead of U-Boot software protection */ 114 115#undef CFG_DIRECT_FLASH_TFTP 116 |
117#define CFG_ENV_IS_IN_FLASH | 117#define CONFIG_ENV_IS_IN_FLASH |
118#define CONFIG_ENV_OVERWRITE 1 119#define CFG_ENV_SECT_SIZE (8 * 1024) 120#define CFG_ENV_SIZE (CFG_ENV_SECT_SIZE) 121#define CFG_ENV_ADDR (CFG_FLASH_BASE + (1 * CFG_ENV_SECT_SIZE)) 122#define CFG_ENV_OFFSET (CFG_ENV_ADDR - CFG_FLASH_BASE) /* Offset of env Flash sector relative to CFG_FLASH_BASE */ 123#define CFG_ENV_SIZE_REDUND (CFG_ENV_SECT_SIZE) 124#define CFG_ENV_ADDR_REDUND (CFG_FLASH_BASE + (2 * CFG_ENV_SECT_SIZE)) 125 126/* Board Clock */ 127#define CONFIG_SYS_CLK_FREQ 33333333 128#define TMU_CLK_DIVIDER (4) /* 4 (default), 16, 64, 256 or 1024 */ 129#define CFG_HZ (CONFIG_SYS_CLK_FREQ / TMU_CLK_DIVIDER) 130 131#endif /* __MS7722SE_H */ | 118#define CONFIG_ENV_OVERWRITE 1 119#define CFG_ENV_SECT_SIZE (8 * 1024) 120#define CFG_ENV_SIZE (CFG_ENV_SECT_SIZE) 121#define CFG_ENV_ADDR (CFG_FLASH_BASE + (1 * CFG_ENV_SECT_SIZE)) 122#define CFG_ENV_OFFSET (CFG_ENV_ADDR - CFG_FLASH_BASE) /* Offset of env Flash sector relative to CFG_FLASH_BASE */ 123#define CFG_ENV_SIZE_REDUND (CFG_ENV_SECT_SIZE) 124#define CFG_ENV_ADDR_REDUND (CFG_FLASH_BASE + (2 * CFG_ENV_SECT_SIZE)) 125 126/* Board Clock */ 127#define CONFIG_SYS_CLK_FREQ 33333333 128#define TMU_CLK_DIVIDER (4) /* 4 (default), 16, 64, 256 or 1024 */ 129#define CFG_HZ (CONFIG_SYS_CLK_FREQ / TMU_CLK_DIVIDER) 130 131#endif /* __MS7722SE_H */ |