From a9a06eea0bca82bdcd902b8e582e5976ab7e3e0f Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Sun, 28 Feb 2016 11:35:29 -0800 Subject: [PATCH] mainboard/intel/galileo: Enable USB Enable the EHCI and OHCI controllers. Testing on Galileo: * Edit the src/mainboard/intel/galileo/Makefile.inc file: * Add "select ADD_FSP_PDAT_FILE" * Add "select ADD_FSP_RAW_BIN" * Add "select ADD_RMU_FILE" * Place the FSP.bin file in the location specified by CONFIG_FSP_FILE * Place the pdat.bin files in the location specified by CONFIG_FSP_PDAT_FILE * Place the rmu.bin file in the location specified by CONFIG_RMU_FILE * Build EDK2 CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc to generate UEFIPAYLOAD.fd * Edit .config file and add the following lines: * CONFIG_PAYLOAD_ELF=y * CONFIG_PAYLOAD_FILE="path to UEFIPAYLOAD.fd" * Testing successful when at the UEFI shell prompt: * After issuing: * "connect -r" * "map -r" * The "dir" command displays the contents of the USB flash drive * A USB keyboard can issue shell commands * The "drivers" command shows an EHCI and OHCI connection Change-Id: Iad9abced98d9b645e8b12fa0845c97260cf62a72 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/13857 Tested-by: build bot (Jenkins) Reviewed-by: Martin Roth --- src/mainboard/intel/galileo/devicetree.cb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mainboard/intel/galileo/devicetree.cb b/src/mainboard/intel/galileo/devicetree.cb index 1b72ff0f4d..6b27758d9e 100644 --- a/src/mainboard/intel/galileo/devicetree.cb +++ b/src/mainboard/intel/galileo/devicetree.cb @@ -22,8 +22,8 @@ chip soc/intel/quark device pci 14.0 off end # 8086 08A7 - SD/SDIO/eMMC controller device pci 14.1 off end # 8086 0936 - HSUART 0 device pci 14.2 off end # 8086 0939 - USB 2.0 Device port - device pci 14.3 off end # 8086 0939 - USB EHCI Host controller - device pci 14.4 off end # 8086 093A - USB OHCI Host controller + device pci 14.3 on end # 8086 0939 - USB EHCI Host controller + device pci 14.4 on end # 8086 093A - USB OHCI Host controller device pci 14.5 on end # 8086 0936 - HSUART 1 device pci 14.6 off end # 8086 0937 - 10/100 Ethernet MAC 0 device pci 14.7 off end # 8086 0937 - 10/100 Ethernet MAC 1