Original code missed support for ls3b server board, Now the code
is added, and passed test with ls3bserver board v1.1, it can boot
2Gx4 NUMA kernle with 4 short KVR 2G DDR3 dimms.
Target:Bonito3bserver
Make softlink Bonito3b780e/pci to Bonito3a780e/pci.
For this, 3A and 3B can use the same pci configure.
Signed-off-by: mengxiaofu <mengxiaofu@ict.ac.cn>
large video frame buffer up to 512M for bridge chip connected with HT bus.
It PASS test only in GUP_SP mode, which is the defalut mode in 3A780e branch of PMON.
Address space between 0x40000000 and 0x7fffffff is map to 1G memory space before, now
system momery size is at leaset 2G, so the space is left free to be used as PCI MEM space.
While PCI IO Space and HT Space is the same as before.
NOTICE: pci mem space base address need to be changed to 0x40000000 in kenrel source code
if this patch is applied, otherwise kernel will boot fail. If the bridge chip is connected
to PCIX controler in Loongson CPU, this patch should be changed to be applied.
Target: Bontio3a780e
1. Add Macro RS780E, USE_780E_VGA to indicate using 780e's vga with macro SERVER_3A to identify this board
2. Now framebuffer can only be accessed through pci mem address for tlb not configured properly
3. Device 2 and Device 3 should not be opened, otherwise VGA could not work