
18 Aug
2005
18 Aug
'05
11:57 a.m.
Hi, This patch adds support for KVME080 board. KVME080 is a VME board with MPC8245 CPU.
It also patches drivers/cfi_flash.c.
First, it adds CFG_FLASH_PROTECT_CLEAR because for some flash memories(such as 28F320C3) all banks are protected after reset.
Second, it makes write_buff not to call flash_write_cfibuffer if buffer_size is1. Because for flash memories with buffer_size 1, buffer write is not supported.
Third, it makes 64 bit writes to use FLASH_WRITE64 if FLASH_WRITE64 is defined. Because KVME080 needs it.
Fourth, it makes flash_detect_cfi call FLASH_PORTWIDTH when changing portwidth if FLASH_PORTWIDTH is defined. Because on some CPUs (such as MPC8245), port width should be changed.
Regards, Sangmoon Kim