[PATCH V9 05/13] MIPS: Loongson: Add UEFI-like firmware interface support

2013-01-29 Thread Huacai Chen
The new UEFI-like firmware interface has 3 advantages: 1, Firmware export a physical memory map which is similar to X86's E820 map, so prom_init_memory() will be more elegant that #ifdef clauses can be removed. 2, Firmware export a pci irq routing table, we no longer need pci irq routing

[PATCH V9 05/13] MIPS: Loongson: Add UEFI-like firmware interface support

2013-01-29 Thread Huacai Chen
The new UEFI-like firmware interface has 3 advantages: 1, Firmware export a physical memory map which is similar to X86's E820 map, so prom_init_memory() will be more elegant that #ifdef clauses can be removed. 2, Firmware export a pci irq routing table, we no longer need pci irq routing