mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-05 20:54:31 +00:00
baf37f06c5
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>
17 lines
496 B
C
17 lines
496 B
C
/*
|
|
* Copyright (C) 2013 Imagination Technologies
|
|
* Author: Paul Burton <paul.burton@imgtec.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __PCI_MSC01_H__
|
|
#define __PCI_MSC01_H__
|
|
|
|
extern void msc01_pci_init(void *base, unsigned long sys_bus,
|
|
unsigned long sys_phys, unsigned long sys_size,
|
|
unsigned long mem_bus, unsigned long mem_phys,
|
|
unsigned long mem_size, unsigned long io_bus,
|
|
unsigned long io_phys, unsigned long io_size);
|
|
|
|
#endif /* __PCI_MSC01_H__ */
|