[coreboot] flashrom and PM49FL004/2

Nikolay Petukhov nikolaypetukhov at gmail.com
Tue Mar 11 11:12:37 CET 2008


Hi, all.

I have PCISA-LX-800 board (AMD LX800 + CS5536)
http://www.ieiworld.com/en/product_IPC.asp?model=PCISA-LX.

The flashrom detect flash device on this board,
hier flashrom output:
...
  Pm49FL004 found at physical address 0xfff80000.
  Flash part is Pm49FL004 (512 KB).
...


But the flashrom has problems with write and erasing operations to
this flash device.

The data-sheet on PM49FL004/2 say that:
This flash device can work in two modes: LPC and FWH.

On this board flash device be in FWH mode
(MSR_DIVIL_BALL_OPT(0x51400015) = 0x00000f7d)

Also data-sheet on PM49FL004/2 say that:
In FWH mode are available Block Locking Registers and in default flash
is locked for write/erasing.

This patch add unlocking operation PM49FL004/2 before write/erasing operation.

Signed-off-by: Nikolay Petukhov <nikolay.petukhov at gmail.com>

-- 
Nikolay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flashrom-pm49fl00x.diff
Type: text/x-patch
Size: 4176 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080311/176b154d/attachment.diff>


More information about the coreboot mailing list