1 Dec 2006 08:29
[PATCH] [MTD] MAPS: add support for ICH6/7/8 in ichxrom.c
Joey Ku (辜女育 <joey.ku <at> gmail.com>
2006-12-01 07:29:06 GMT
2006-12-01 07:29:06 GMT
[PATCH] [MTD] MAPS: add support for ICH6/7/8 in ichxrom.c
Add code to support ICH6/7/8
BTW, I don't have ICH7/8 machine for testing.
I guess it should work. :>
Signed-off-by: laface.tw <at> gmail.com
--
--- ichxrom.c.org 2006-11-30 16:56:49.000000000 +0800
+++ ichxrom.c 2006-12-01 15:02:21.086309768 +0800
<at> <at> -26,11 +26,28 <at> <at>
#define ROM_PROBE_STEP_SIZE (64*1024) /* 64KiB */
-#define BIOS_CNTL 0x4e
-#define FWH_DEC_EN1 0xE3
-#define FWH_DEC_EN2 0xF0
-#define FWH_SEL1 0xE8
-#define FWH_SEL2 0xEE
+enum ichxrom_chip_type {
+ ICHXROM_ICH5 = 0,
+ ICHXROM_ICH6,
+};
+
+struct ichxrom_conf_reg_offset {
+ u8 bios_cntl;
+ u8 fwh_dec_en1;
+ u8 fwh_dec_en2;
(Continue reading)
RSS Feed