On 15.02.2008 19:20, Marc Jones wrote: > > Carl-Daniel Hailfinger wrote: >> On 14.02.2008 17:38, Marc Jones wrote: > >>>> CONFIG_XIP_ROM_BASE >>>> CONFIG_XIP_ROM_SIZE >>>> >>>> >>> XIP_ROM_ BASE and SIZE are AMD K8 and FAM10 specific. It is used to >>> cache the ROM area while doing CAR. In K8/FAM10 the cache is always >>> on to careful use of mtrrs keeps that cache from being flushed. >>> Anyway, I don't understand why stage0_i586.S would be so similar >>> AMD CAR. Is it just for emulation? I think that the emulator will >>> ignore most cache settings and can be cleaned up. There seems to be >>> some history here since v2 has cpu/x86/car/cache_as_ram.inc. Anyone >>> know why? >>> >> >> Intel processors do exist ;-) >> > > This is why I ask. From what I know of Intel CAR recommendations I > wouldn't expert it to use CONFIG_XIP_ROM_BASE. I expect that most CPUs > will have their own versions of CAR. So, what CPUs use the generic i586?
The Tyan S2735 uses i586 CAR in v2. The i586 CAR code in v3 is mostly a copy of the same thing in v2. But you're probably right about CONFIG_XIP_ROM_BASE. Regards, Carl-Daniel -- http://www.hailfinger.org/ -- coreboot mailing list [email protected] http://www.coreboot.org/mailman/listinfo/coreboot

