malta: support for coreFPGA6 boards
authorPaul Burton <paul.burton@imgtec.com>
Fri, 8 Nov 2013 11:18:50 +0000 (11:18 +0000)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 9 Nov 2013 16:21:01 +0000 (17:21 +0100)
commitbaf37f06c5cc51d2b9d71a2c83d5d92de60203a9
tree7ad3945d47de4c1b5a7a1594b45f3b623a46df8c
parenta257f6263b51321ecacc69ac1effbcbe2158fe15
malta: support for coreFPGA6 boards

This patch adds support for running on Malta boards using coreFPGA6
core cards, including support for the msc01 system controller used
with them. The system controller is detected at runtime allowing one
U-boot binary to run on a Malta with either.

Due to the PCI I/O base differing between Maltas using gt64120 & msc01
system controllers, the UART setup is modified slightly. A second UART
is added so that there is one pointing at the correct address for each
system controller. The Malta board then defines its own
default_serial_console function to select the correct one at runtime.
The incorrect UART will simply not function.

Tested on:
  - A coreFPGA6 Malta running interAptiv and proAptiv bitstreams, both
    with and without an L2 cache.
  - QEMU.

Signed-off-by: Paul Burton <paul.burton@imgtec.com>
arch/mips/include/asm/malta.h
board/imgtec/malta/lowlevel_init.S
board/imgtec/malta/malta.c
drivers/pci/Makefile
drivers/pci/pci_msc01.c [new file with mode: 0644]
include/configs/malta.h
include/msc01.h [new file with mode: 0644]
include/pci_ids.h
include/pci_msc01.h [new file with mode: 0644]