coreboot-kgpe-d16/src/mainboard
Vadim Bendebury 11c4c92d91 ipq8064/storm: UART enable and various fixes
The original patch from chromium was  a bit of a mishmash.
Between that, rebasing and using the coreboot.org UART infrastructure,
the patch has changed a bit from the original. It seems reasonable to
keep these changes together.
- build in the ipq UART and turn on bootblock console
- sets LPAE and ROM header address
- adds cpd.c to storm

The original commit:
ipq8064: make UART driver work in bootblock

This patch it the last one in the chain adapting the ipq9064 UART
driver for use in coreboot. A new config option
(CONSOLE_SERIAL_IPQ806X) is being introduced to control inclusion of
the driver.

The previously introduced uart_wrapper.c is now included in the build
to provide the console driver structure used by ramstage.

Necessary configuration options are added to allow use of UART in the
bootblock.

BUG=chrome-os-partner:27784

TEST=with this change the coreboot image on AP148 prints a banner on
   start up:

coreboot-4.0 Wed Apr 23 16:24:51 PDT 2014 starting...

Original-Change-Id: I129ee30ba17a5061b30cfee56c135df31eba98b5
Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Original-Reviewed-on: https://chromium-review.googlesource.com/196663
(cherry picked from commit 42ca8994361327c24e7a611505b21534dd231f30)
Signed-off-by: Marc Jones <marc.jones@se-eng.com>

Change-Id: I1175e74ed639cdc27a1a677fba65de2dd2b13a91
Reviewed-on: http://review.coreboot.org/7875
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Tested-by: build bot (Jenkins)
2014-12-31 21:04:54 +01:00
..
a-trend Replace hlt with halt() 2014-12-02 10:25:55 +01:00
aaeon Replace hlt with halt() 2014-12-02 10:25:55 +01:00
abit Replace hlt with halt() 2014-12-02 10:25:55 +01:00
adlink LiPPERT: Add aliases for board_status wiki 2014-05-19 14:57:14 +02:00
advansus vendorcode/amd/agesa: Make Porting.h common between families 2014-12-06 11:39:42 +01:00
amd AGESA fam15tn fam15rl fam16kb: Add OemInitMid() 2014-12-20 07:27:15 +01:00
aopen e7505: Move to per-device ACPI 2014-10-18 13:54:13 +02:00
apple Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
arima mainboard/*/debug.c: Remove duplicate or dead code 2014-11-15 10:25:23 +01:00
artecgroup Replace hlt with halt() 2014-12-02 10:25:55 +01:00
asrock AGESA fam15tn fam15rl fam16kb: Add OemInitMid() 2014-12-20 07:27:15 +01:00
asus AGESA fam15tn fam15rl fam16kb: Add OemInitMid() 2014-12-20 07:27:15 +01:00
avalue vendorcode/amd/agesa: Make Porting.h common between families 2014-12-06 11:39:42 +01:00
azza Replace hlt with halt() 2014-12-02 10:25:55 +01:00
bachmann Replace hlt with halt() 2014-12-02 10:25:55 +01:00
bcom Drop GX1, CS5330 and related boards 2014-12-16 21:17:36 +01:00
bifferos Replace hlt with halt() 2014-12-02 10:25:55 +01:00
biostar Replace hlt with halt() 2014-12-02 10:25:55 +01:00
broadcom broadcom/blast/devicetree.cb: Remove a trailing whitespace 2014-07-24 12:42:45 +02:00
compaq Replace hlt with halt() 2014-12-02 10:25:55 +01:00
cubietech cubieboard: use new arm bootblock infrastructure 2014-12-02 14:18:35 +01:00
digitallogic intel CAR: Fix DCACHE_RAM_BASE for old sockets 2014-12-30 10:21:43 +01:00
dmp Replace hlt() loops with halt() 2014-11-30 12:20:07 +01:00
ecs Replace hlt with halt() 2014-12-02 10:25:55 +01:00
emulation qemu-armv7: Trivial style fixes 2014-12-19 23:47:39 +01:00
getac i945: Consolidate acpi/platform.asl 2014-12-03 21:02:50 +01:00
gigabyte gigabyte/ga-b75m-d3h: Drop redundant EARLY_CBMEM_INIT 2014-12-19 19:48:01 +01:00
gizmosphere AGESA fam15tn fam15rl fam16kb: Add OemInitMid() 2014-12-20 07:27:15 +01:00
google ipq8064/storm: UART enable and various fixes 2014-12-31 21:04:54 +01:00
hp hp/pavilion_m6_1035dx: Enable IOMMU 2014-12-22 16:33:29 +01:00
ibase i945: Consolidate acpi/platform.asl 2014-12-03 21:02:50 +01:00
ibm mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
iei Drop GX1, CS5330 and related boards 2014-12-16 21:17:36 +01:00
intel intel CAR: Fix DCACHE_RAM_BASE for old sockets 2014-12-30 10:21:43 +01:00
iwave sch: Switch to per-device ACPI 2014-10-18 22:01:18 +02:00
iwill mainboard/{iwill,amd/serenget_*}: Fix ptr discards const qualifier 2014-12-09 06:13:47 +01:00
jetway AGESA: Add OemCustomize hooks structure 2014-12-20 07:26:01 +01:00
kontron kontron/986lcd-m: Fix PCI interrupt routing. 2014-12-06 21:35:32 +01:00
lanner intel CAR: Fix DCACHE_RAM_BASE for old sockets 2014-12-30 10:21:43 +01:00
lenovo mainboard/lenovo/t530/Kconfig: No Super I/O on this board 2014-12-30 09:18:56 +01:00
linutop artecgroup/Kconfig, linutop/Kconfig: Add comment to endif 2014-07-30 02:08:50 +02:00
lippert AGESA: Add OemCustomize hooks structure 2014-12-20 07:26:01 +01:00
mitac Replace hlt with halt() 2014-12-02 10:25:55 +01:00
msi mainboard: Strip out some dead includes 2014-12-19 19:19:53 +01:00
nec Replace hlt with halt() 2014-12-02 10:25:55 +01:00
newisys mainboard: Trivial - drop trailing blank lines at EOF 2014-07-18 14:42:47 +02:00
nokia Replace hlt with halt() 2014-12-02 10:25:55 +01:00
nvidia azalia: Shrink boilerplate 2014-09-13 00:42:14 +02:00
packardbell Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
pcengines Replace hlt with halt() 2014-12-02 10:25:55 +01:00
rca intel CAR: Fix DCACHE_RAM_BASE for old sockets 2014-12-30 10:21:43 +01:00
roda Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
samsung Remove IRQ_SLOT_COUNT on all boards without PIRQ table. 2014-12-06 21:34:19 +01:00
siemens mainboard/siemens/sitemp_g1p1/mainboard.c: Fix implicit conversion 2014-12-09 09:04:34 +01:00
soyo Replace hlt with halt() 2014-12-02 10:25:55 +01:00
sunw Kconfig: do not set SB_HT_CHAIN_ON_BUS0 twice to the same value 2014-08-12 09:02:45 +02:00
supermicro AGESA: Add OemCustomize hooks structure 2014-12-20 07:26:01 +01:00
technexion AMD: Move RAMBASE and RAMTOP 2014-11-14 15:46:57 +01:00
thomson intel CAR: Fix DCACHE_RAM_BASE for old sockets 2014-12-30 10:21:43 +01:00
ti beaglebone: use new arm bootblock infrastructure 2014-12-19 19:37:37 +01:00
traverse Replace hlt with halt() 2014-12-02 10:25:55 +01:00
tyan AGESA: Add OemCustomize hooks structure 2014-12-20 07:26:01 +01:00
via Drop VIA Epia-N 2014-12-18 02:14:45 +01:00
winent Replace hlt with halt() 2014-12-02 10:25:55 +01:00
wyse Replace hlt with halt() 2014-12-02 10:25:55 +01:00
Kconfig Drop SC520 and related boards 2014-12-16 21:18:43 +01:00