mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-04-01 12:01:31 +00:00
[FIX] change command handling and removing code violation
This commit is contained in:
parent
f240356507
commit
853643d8cf
1 changed files with 24 additions and 26 deletions
|
@ -59,6 +59,7 @@
|
||||||
#define CFG_TIMER_0_IRQ XILINX_TIMER_IRQ
|
#define CFG_TIMER_0_IRQ XILINX_TIMER_IRQ
|
||||||
#define FREQUENCE XILINX_CLOCK_FREQ
|
#define FREQUENCE XILINX_CLOCK_FREQ
|
||||||
#define CFG_TIMER_0_PRELOAD ( FREQUENCE/1000 )
|
#define CFG_TIMER_0_PRELOAD ( FREQUENCE/1000 )
|
||||||
|
#define CONFIG_XILINX_CLOCK_FREQ XILINX_CLOCK_FREQ
|
||||||
|
|
||||||
/* FSL */
|
/* FSL */
|
||||||
#define CFG_FSL_2
|
#define CFG_FSL_2
|
||||||
|
@ -146,6 +147,16 @@
|
||||||
#define CFG_FLASH_PROTECTION /* hardware flash protection */
|
#define CFG_FLASH_PROTECTION /* hardware flash protection */
|
||||||
#endif /* !FLASH */
|
#endif /* !FLASH */
|
||||||
|
|
||||||
|
/* system ace */
|
||||||
|
#ifdef XILINX_SYSACE_BASEADDR
|
||||||
|
#define CONFIG_SYSTEMACE
|
||||||
|
/* #define DEBUG_SYSTEMACE */
|
||||||
|
#define SYSTEMACE_CONFIG_FPGA
|
||||||
|
#define CFG_SYSTEMACE_BASE XILINX_SYSACE_BASEADDR
|
||||||
|
#define CFG_SYSTEMACE_WIDTH XILINX_SYSACE_MEM_WIDTH
|
||||||
|
#define CONFIG_DOS_PARTITION
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* BOOTP options
|
* BOOTP options
|
||||||
*/
|
*/
|
||||||
|
@ -154,28 +165,21 @@
|
||||||
#define CONFIG_BOOTP_GATEWAY
|
#define CONFIG_BOOTP_GATEWAY
|
||||||
#define CONFIG_BOOTP_HOSTNAME
|
#define CONFIG_BOOTP_HOSTNAME
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Command line configuration.
|
* Command line configuration.
|
||||||
*/
|
*/
|
||||||
#include <config_cmd_default.h>
|
#include <config_cmd_default.h>
|
||||||
|
|
||||||
#define CONFIG_CMD_ASKENV
|
#define CONFIG_CMD_ASKENV
|
||||||
#define CONFIG_CMD_AUTOSCRIPT
|
|
||||||
#define CONFIG_CMD_BDI
|
|
||||||
#define CONFIG_CMD_CACHE
|
#define CONFIG_CMD_CACHE
|
||||||
#define CONFIG_CMD_EXT2
|
|
||||||
#define CONFIG_CMD_FAT
|
|
||||||
#define CONFIG_CMD_IMI
|
|
||||||
#define CONFIG_CMD_IRQ
|
#define CONFIG_CMD_IRQ
|
||||||
#define CONFIG_CMD_LOADB
|
|
||||||
#define CONFIG_CMD_LOADS
|
|
||||||
#define CONFIG_CMD_MEMORY
|
|
||||||
#define CONFIG_CMD_MISC
|
|
||||||
#define CONFIG_CMD_MFSL
|
#define CONFIG_CMD_MFSL
|
||||||
#define CONFIG_CMD_NET
|
|
||||||
#define CONFIG_CMD_PING
|
#define CONFIG_CMD_PING
|
||||||
#define CONFIG_CMD_RUN
|
|
||||||
|
#if defined(CONFIG_SYSTEMACE)
|
||||||
|
#define CONFIG_CMD_EXT2
|
||||||
|
#define CONFIG_CMD_FAT
|
||||||
|
#endif
|
||||||
|
|
||||||
#if defined(FLASH)
|
#if defined(FLASH)
|
||||||
#define CONFIG_CMD_ECHO
|
#define CONFIG_CMD_ECHO
|
||||||
|
@ -187,6 +191,8 @@
|
||||||
#define CONFIG_CMD_ENV
|
#define CONFIG_CMD_ENV
|
||||||
#define CONFIG_CMD_SAVES
|
#define CONFIG_CMD_SAVES
|
||||||
#endif
|
#endif
|
||||||
|
#else
|
||||||
|
#undef CONFIG_CMD_FLASH
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_JFFS2)
|
#if defined(CONFIG_CMD_JFFS2)
|
||||||
|
@ -221,14 +227,6 @@
|
||||||
#define CFG_USR_EXCEP /* user exception */
|
#define CFG_USR_EXCEP /* user exception */
|
||||||
#define CFG_HZ 1000
|
#define CFG_HZ 1000
|
||||||
|
|
||||||
/* system ace */
|
|
||||||
#define CONFIG_SYSTEMACE
|
|
||||||
/* #define DEBUG_SYSTEMACE */
|
|
||||||
#define SYSTEMACE_CONFIG_FPGA
|
|
||||||
#define CFG_SYSTEMACE_BASE XILINX_SYSACE_BASEADDR
|
|
||||||
#define CFG_SYSTEMACE_WIDTH XILINX_SYSACE_MEM_WIDTH
|
|
||||||
#define CONFIG_DOS_PARTITION
|
|
||||||
|
|
||||||
#define CONFIG_PREBOOT "echo U-BOOT for ML401;setenv preboot;echo"
|
#define CONFIG_PREBOOT "echo U-BOOT for ML401;setenv preboot;echo"
|
||||||
|
|
||||||
#define CONFIG_EXTRA_ENV_SETTINGS "unlock=yes\0" /* hardware flash protection */\
|
#define CONFIG_EXTRA_ENV_SETTINGS "unlock=yes\0" /* hardware flash protection */\
|
||||||
|
|
Loading…
Add table
Reference in a new issue