From 6d3cd08252534dfe9a6f49ed772419d8765f0c71 Mon Sep 17 00:00:00 2001 From: Lee Leahy Date: Mon, 29 Feb 2016 08:03:53 -0800 Subject: [PATCH] mainboard/intel/galileo: Enable SD flash cards Turn on the SD controller to allow it to claim resources. 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 SD flash card * The "drivers" command shows an SD host and SD media connection Change-Id: I883dc87270045786ddb931bea83fc36646a128e6 Signed-off-by: Lee Leahy Reviewed-on: https://review.coreboot.org/13894 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- src/mainboard/intel/galileo/devicetree.cb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mainboard/intel/galileo/devicetree.cb b/src/mainboard/intel/galileo/devicetree.cb index 6b27758d9e..52e019bc9e 100644 --- a/src/mainboard/intel/galileo/devicetree.cb +++ b/src/mainboard/intel/galileo/devicetree.cb @@ -19,7 +19,7 @@ chip soc/intel/quark device domain 0 on # EDS Table 3 device pci 00.0 on end # 8086 0958 - Host Bridge - device pci 14.0 off end # 8086 08A7 - SD/SDIO/eMMC controller + device pci 14.0 on 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 on end # 8086 0939 - USB EHCI Host controller