diff options
author | David Müller <d.mueller@elsoft.ch> | 2011-12-22 13:38:22 +0100 |
---|---|---|
committer | Stefan Roese <sr@denx.de> | 2012-01-09 09:25:07 +0100 |
commit | d49f5b1cae6639cdc0c5419908d7ca06297a1976 (patch) | |
tree | bc4c777db9c3c0785cbe9fb946cd2db5789bc986 | |
parent | 39441b35c65c110118998116e6a9bb1dfb534eaf (diff) | |
download | u-boot-imx-d49f5b1cae6639cdc0c5419908d7ca06297a1976.zip u-boot-imx-d49f5b1cae6639cdc0c5419908d7ca06297a1976.tar.gz u-boot-imx-d49f5b1cae6639cdc0c5419908d7ca06297a1976.tar.bz2 |
board/mpl/pati: use the CFI driver for the PATI board
Signed-off-by: David Mueller <d.mueller@elsoft.ch>
Signed-off-by: Stefan Roese <sr@denx.de>
-rw-r--r-- | board/mpl/pati/Makefile | 4 | ||||
-rw-r--r-- | include/configs/PATI.h | 13 |
2 files changed, 11 insertions, 6 deletions
diff --git a/board/mpl/pati/Makefile b/board/mpl/pati/Makefile index dae381d..0fe508c 100644 --- a/board/mpl/pati/Makefile +++ b/board/mpl/pati/Makefile @@ -28,8 +28,8 @@ endif LIB = $(obj)lib$(BOARD).o -COBJS := pati.o ../common/flash.o cmd_pati.o ../common/common_util.o -#### cmd_pati.o +COBJS := $(BOARD).o cmd_pati.o \ + ../common/common_util.o SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c) OBJS := $(addprefix $(obj),$(COBJS)) diff --git a/include/configs/PATI.h b/include/configs/PATI.h index da2d602..bf39d00 100644 --- a/include/configs/PATI.h +++ b/include/configs/PATI.h @@ -168,11 +168,16 @@ * */ -#define CONFIG_SYS_MAX_FLASH_BANKS 1 /* Max number of memory banks */ -#define CONFIG_SYS_MAX_FLASH_SECT 128 /* Max number of sectors on one chip */ -#define CONFIG_SYS_FLASH_ERASE_TOUT 180000 /* Timeout for Flash Erase (in ms) */ -#define CONFIG_SYS_FLASH_WRITE_TOUT 600 /* Timeout for Flash Write (in ms) */ +#define CONFIG_SYS_FLASH_PROTECTION +#define CONFIG_SYS_FLASH_EMPTY_INFO +#define CONFIG_SYS_FLASH_CFI +#define CONFIG_FLASH_CFI_DRIVER + +#define CONFIG_FLASH_SHOW_PROGRESS 45 + +#define CONFIG_SYS_MAX_FLASH_BANKS 1 +#define CONFIG_SYS_MAX_FLASH_SECT 128 #define CONFIG_ENV_IS_IN_EEPROM #ifdef CONFIG_ENV_IS_IN_EEPROM |