See patch.
This one was particularly tricky as the Kontron board uses all kinds of flash protection methods. Also the Winbond W39V080FA(P)(Z) is very timing critical, so it won't work with our existing jedec functions.
Stefan
On 17.03.2008 23:01, Stefan Reinauer wrote:
See patch.
This one was particularly tricky as the Kontron board uses all kinds of flash protection methods. Also the Winbond W39V080FA(P)(Z) is very timing critical, so it won't work with our existing jedec functions.
Indeed. We have more timing bugs to solve... I'm glad that my timing observation helped solve this problem. Hm. Maybe my problems with a chip from the same family were timing related as well? I'll have to check that.
Support for the Winbond W39V080FA series of chips. Support for flashing on the Kontron 986LCD-M board.
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Regards, Carl-Daniel
Carl-Daniel Hailfinger wrote:
Support for the Winbond W39V080FA series of chips. Support for flashing on the Kontron 986LCD-M board.
Signed-off-by: Stefan Reinauer stepan@coresystems.de
Acked-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Thanks. r3165
Whoa, hey now. Too fast I think. :)
I'm fine with the Winbond change.
On Mon, Mar 17, 2008 at 11:01:18PM +0100, Stefan Reinauer wrote:
+static int board_kontron_986lcd_m(const char *name) +{
- struct pci_dev *dev;
- uint16_t gpiobar;
- uint32_t val;
+#define ICH7_GPIO_LVL2 0x38
- dev = pci_dev_find(0x8086, 0x27b8); /* Intel ICH7 LPC */
- if (!dev) {
// This will never happen on this board
This comment doesn't make much sense.
fprintf(stderr, "\nERROR: ICH7 LPC bridge not found.\n");
return -1;
- }
..
- {0x8086, 0x27b8, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000, 0x0000,
"kontron", "986lcd-m", "Kontron 986LCD-M", board_kontron_986lcd_m},
So how is this board differentiated from other systems with ICH7?
Especially tricky since this had particular GPIO used, that may have a very different meaning elsewhere.
//Peter