On Fri, Nov 06, 2009 at 06:45:05PM +0800, Wu Zhangjin wrote: > Loongson2F has built-in DDR2 and PCIX controller. The PCIX controller > have a similar programming interface with FPGA northbridge used in > Loongson2E. > > The main differences between loongson-2e and loongson-2f include: > > 1. loongson-2f has an extra address windows configuration module, which > can be used to map CPU address space to DDR or PCI address space, or map > the PCI-DMA address space to DDR or LIO address space. > > 2. loongson-2f support 8 levels of software configurable cpu frequency, > which can be configured via a register(LOONGSON_CHIPCFG0). the coming > cpufreq and standby support are based on this feature. > > herein, the module and the corresponding operations are abstracted to > loongson.h. > > besides, the other loongson2f-specific source code are added here, > including gcc 4.4 support, pci memory space, pci io space, dma address. Queued for 2.6.33. Thanks! Ralf