[edk2] [PATCH] CorebootPayloadPkg: Add OHCI driver

2016-05-12 Thread Lee Leahy
Add the USB OHCI driver from revision 24ca2f35 of QuarkSocPkg. Change-Id: Ie7aa0bc47d4ff06adc57976a5efb0e40ce4e1673 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkg.fdf

[edk2] [PATCH 3/3] QuarkSocPkg/SDControllerDxe: Add EFIAPI to SetHighSpeedMode

2016-05-12 Thread Lee Leahy
Add the missing EFIAPI to fix the inconsistent routine declaration and implementation of a protocol service. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/SDController

[edk2] [PATCH 2/3] QuarkPlatformPkg: Fix variable set but not used build errors

2016-05-11 Thread Lee Leahy
Fix variable set but not used errors detected by GCC 4.8. Change-Id: I83634f88cfa89ea8afdfebbd0c7487f04e440693 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkPlatformPkg/Acpi/DxeSmm/SmmPowerManagement/Ppm.c

[edk2] [PATCH 3/3] QuarkSocPkg/SDControllerDxe: Add EFIAPI to SetHighSpeedMode

2016-05-11 Thread Lee Leahy
Fix 64-bit build error detected with GCC4.8 due to inconsistent routine declaration and implementation. Add EFIAPI to fix the build error. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkSocPkg/QuarkSouthCluster/Sd

[edk2] [PATCH 1/3] QuarkPlatformPkg: Fix build errors

2016-05-11 Thread Lee Leahy
Fix build errors detected with GCC 4.8.4: local variable set but not used! Change-Id: I5e3cfb46b367a72bd333fd762c22968fbac4e6f9 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkPlatformPkg/Acpi/Dxe/AcpiPlatform/AcpiPciUp

[edk2] [PATCH 7/7] CorebootPayloadPkg: Add BdsDxe support

2016-05-10 Thread Lee Leahy
Add define to select the MdeModulePkg/Universal/BdsDxe instead of IntelFrameworkModulePkg/Universal/BdsDxe. Change-Id: I0930b375e46fd72a199567efc422df5bb535798c Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayl

[edk2] [PATCH 2/7] CorebootPayloadPkg: Assume no PCI serial devices

2016-05-10 Thread Lee Leahy
Set the vendor to 0x which indicates the end of the list. Change-Id: If6475e04d3675f0a932571a85d1dd3f301416b6a Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc

[edk2] [PATCH 3/7] CorebootPayloadPkg: Use correct BaseSerialPortLib16550

2016-05-10 Thread Lee Leahy
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc| 2 +- CorebootPayloadPkg/CorebootPayloadPkgIa32X64.dsc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CorebootPayl

[edk2] [PATCH 4/7] CorebootPayloadPkg: Set the proper Shell file GUID

2016-05-10 Thread Lee Leahy
Set the proper Shell file GUID so that the BDS transfers control to the Shell. Change-Id: I816636a340bbe2f76ac1973b9cb685084c4f88a0 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc

[edk2] [PATCH 5/7] CorebootPayloadPkg: Add SD/eMMC support

2016-05-10 Thread Lee Leahy
Add SD and eMMC DXE driver support to CorebootPayloadPkg. Change-Id: Ibfd3a2cc32a653ce51e38d9157ea3c6da25a5474 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkg.fdf

[edk2] [PATCH] IntelFrameworkModulePkg/BootMaint: Fix ASSERT condition

2016-05-10 Thread Lee Leahy
: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- .../Universal/BdsDxe/BootMaint/BBSsupport.c| 41 -- 1 file changed, 22 insertions(+), 19 deletions(-) diff --git a/IntelFrameworkModulePkg/Universal/BdsDxe/Boo

[edk2] [PATCH 1/7] CorebootPayloadPkg: Use DOS line endings

2016-05-10 Thread Lee Leahy
Convert to using DOS line endings. Change-Id: Ie2f148867d9b2b386d556583afb6716ec21399e9 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkg.fdf| 84 ++--- CorebootPayl

[edk2] [PATCH 5/6] CorebootPayloadPkg/PciBusNoEnumerationDxe: Skip disabled devices

2016-05-09 Thread Lee Leahy
Skip non-bridge devices which are not enabled either for memory or I/O access. Change-Id: I1a39c69a8556b6b9cefd1a2bb191f7e0744ddfb0 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootModulePkg/PciBusNoEnumerat

[edk2] [PATCH 6/6] CorebootPayloadPkg/PlatformBdsLib: Pass more serial parameters

2016-05-09 Thread Lee Leahy
Pass the serial port baudrate, register stride, input clock rate and ID from coreboot to CorebootPayloadPkg. Change-Id: I37111d23216e4effa2909337af7e8a6de36b61f7 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootMod

[edk2] [PATCH 4/6] CorebootModulePkg/PciBusNoEnumerationDxe: Remove white space

2016-05-09 Thread Lee Leahy
Remove trailing white space from PciEnumeratorSupport.c. Change-Id: Ia2f354151d46c09b140e2b42609d76fbbf8333f9 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- .../PciBusNoEnumerationDxe/PciEnumeratorSupport.c

[edk2] [PATCH 1/6] CorebootModulePkg: Add BaseSerialPortLib16550

2016-05-09 Thread Lee Leahy
Copy MdeModulePkg/Library/BaseSerialPortLib16550 revision 89ecd4cf8078aa946083cdcbf9af81ff29f8d9f5. Change-Id: Ie2fd0123bdd7aaba4335afdb1cb017f3690455c6 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- .../BaseSerialPortLib1

[edk2] [PATCH 7/7] CorebootPayloadPkg: Use serial drivers with PlatformHookLib

2016-05-04 Thread Lee Leahy
Use the serial drivers which update the serial PCDs from PlatformHookLib. Change-Id: Ie6a3526d56332ee1cf07edb24ff39634a981183f Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkg.fdf

[edk2] [PATCH 6/7] CorebootModulePkg/SerialDxe: Use PlatformHookLib

2016-05-04 Thread Lee Leahy
Copy the driver from MdeModulePkg/Universal/SerialDxe. Add PlatformHookLib to the Library section of the .inf file to adjust the PCDs for the UART. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootModulePkg/Ser

[edk2] [PATCH 4/7] CorebootPayloadPkg: Allow MaxLogicalProcessorNumber to be changed

2016-05-04 Thread Lee Leahy
Add a define and use it with MaxLogicalProcessorNumber to enable this PCD to be changed via the command line. Quark needs to set this value to one during the builds. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayl

[edk2] [PATCH 5/7] CorebootModulePkg/PciSioSerialDxe: Use PlatformHookLib

2016-05-04 Thread Lee Leahy
Copy the driver from MdeModulePkg/Bus/Pci/PciSioSerialDxe. Add PlatformHookLib to the Library section of the .inf file to adjust the PCDs for the UART. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootMod

[edk2] [PATCH 3/7] CorebootPayloadPkg: Make serial I/O configurable

2016-05-04 Thread Lee Leahy
Allow the serial port configuration to be overriden from the command line. Make the debug serial PCDs patchable in module. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc

[edk2] [PATCH 1/7] CorebootPayloadPkg/PlatformHelperLib: Remove unreferenced function

2016-05-04 Thread Lee Leahy
Remove the PlatformFlashEraseWrite function which is not used within CorebootPayloadPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- .../Include/Library/PlatformHelperLib.h| 38 +- .../Library/PlatformHel

[edk2] [PATCH 2/7] CorebootPayloadPkg: Make shell selectable

2016-05-04 Thread Lee Leahy
. Change-Id: I1e12adb57960ac5e75e682073540a9322aa03081 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkg.fdf| 28 +++- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc

[edk2] [PATCH] CorebootPayloadPkg: Remove trailing white space

2016-05-02 Thread Lee Leahy
Remove trailing white space from existing .dsc and .fdf files. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkg.fdf| 35 --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc

[edk2] [PATCH] QuarkPlatformPkg: Move baud rate setting to top of .dsc file

2016-04-19 Thread Lee Leahy
Move the baud rate setting to the top of the .dsc file. Use a single setting for each board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkPlatformPkg/Quark.dsc| 25 - QuarkPlatformPkg/QuarkM

[edk2] [PATCH] QuarkSocPkg/SDControllerDxe: Add EFIAPI to SetHighSpeedMode

2016-04-19 Thread Lee Leahy
Fix 64-bit build error detected with GCC4.8 due to inconsistent routine declaration and implementation. Add EFIAPI to fix the build error. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkSocPkg/QuarkSouthCluster/Sd

[edk2] [PATCH 10/12] CorebootPayloadPkg: Allow MaxLogicalProcessorNumber to be changed

2016-04-19 Thread Lee Leahy
Add a define and use it with MaxLogicalProcessorNumber to enable this PCD to be changed via the command line. Quark needs to set this value to one during the builds. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayl

[edk2] [PATCH 11/12] CorebootPayloadPkg/PlatformHelperLib: Remove unreferenced function

2016-04-19 Thread Lee Leahy
Remove the PlatformFlashEraseWrite function which is not used within CorebootPayloadPkg. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- .../Include/Library/PlatformHelperLib.h| 38 +- .../Library/PlatformHel

[edk2] [PATCH 07/12] CorebootPayloadPkg: Make serial I/O configurable

2016-04-19 Thread Lee Leahy
Allow the serial port configuration to be overriden from the command line. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc| 59 +++- CorebootPayl

[edk2] [PATCH 08/12] CorebootPayloadPkg: Use serial drivers with PlatformHookLib

2016-04-19 Thread Lee Leahy
Use the serial drivers which update the serial PCDs from PlatformHookLib. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkg.fdf| 3 ++- CorebootPayloadPkg/CorebootPayloadPkgIa

[edk2] [PATCH 06/12] CorebootPayloadPkg: Make debug serial PCDs patchable

2016-04-19 Thread Lee Leahy
Make the debug serial PCDs patchable in module. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/CorebootPayloadPkgIa32.dsc| 16 +--- CorebootPayloadPkg/CorebootPayloadPkgIa32X64.ds

[edk2] [PATCH 05/12] CorebootPayloadPkg: Make shell selectable

2016-04-19 Thread Lee Leahy
Add all of the shell options from ShellBinPkg including building the shell from source. Test: Use -DSHELL_TYPE=BUILD_SHELL command line options to build the shell from source. Run the result on Galileo Gen2. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy

[edk2] [PATCH 04/12] CorebootPayloadPkg/PciBusNoEnumerationDxe: Skip disabled devices

2016-04-19 Thread Lee Leahy
Skip non-bridge devices which are not enabled either for memory or I/O access. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootModulePkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 9 + 1 file chan

[edk2] [PATCH 02/12] CorebootModulePkg/PciSioSerialDxe: Use PlatformHookLib

2016-04-19 Thread Lee Leahy
Copy the driver from MdeModulePkg/Bus/Pci/PciSioSerialDxe. Add PlatformHookLib to the Library section of the .inf file to adjust the PCDs for the UART. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootMod

[edk2] [PATCH v2 8/9] QuarkPkg: Move baud rate setting to top of .dsc file

2016-03-04 Thread Lee Leahy
Move the baud rate setting to the top of the .dsc file. Use a single setting for each board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkPlatformPkg/Quark.dsc| 25 - QuarkPlatformPkg/QuarkM

[edk2] [PATCH 8/9] QuarkPkg: Move baud rate setting to top of .dsc file

2016-03-04 Thread Lee Leahy
Move the baud rate setting to the top of the .dsc file. Use a single setting for each board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkPlatformPkg/Quark.dsc| 25 - QuarkPlatformPkg/QuarkM

[edk2] [PATCH 8/9] QuarkPkg: Move baud rate setting to top of .dsc file

2016-03-04 Thread Lee Leahy
Move the baud rate setting to the top of the .dsc file. Use a single setting for each board. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkPlatformPkg/Quark.dsc | 28 +++- 1 file changed, 15 inse

[edk2] [PATCH 7/9] QuarkPlatformPkg/PlatformBootManagerLib: No non-countdown msgs

2016-03-04 Thread Lee Leahy
Disable the countdown messages which are displayed every second when the timeout is specified as infinite (0x). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- QuarkPlatformPkg/Library/PlatformBootManagerLib/PlatformBootMan

[edk2] [PATCH 6/9] MdeModulePkg/BdsDxe: Eliminate non-countdown messages

2016-03-04 Thread Lee Leahy
Eliminate the message every one second when the timeout is specified as infinite (0x). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- MdeModulePkg/Universal/BdsDxe/BdsEntry.c | 4 +++- 1 file changed, 3 insertions(+), 1 de

[edk2] [PATCH 5/9] MdeModulePkg/PciSioSerialDxe: Set RTS and DTR by default

2016-03-04 Thread Lee Leahy
application control these signals after the fact with the SetControl interface. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- MdeModulePkg/Bus/Pci/PciSioSerialDxe/SerialIo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[edk2] [PATCH 4/9] DuetPkg/PciBusNoEnumerationDxe: Skip disabled devices

2016-03-04 Thread Lee Leahy
Skip non-bridge devices which are not enabled either for memory or I/O access. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 9 + 1 file changed, 9 insertions(+)

[edk2] [PATCH 3/9] CorebootPayloadPkg/PlatformBdsLib: Fix spelling error

2016-03-04 Thread Lee Leahy
Change vender to vendor Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.c | 2 +- CorebootPayloadPkg/Library/PlatformBdsLib/BdsPlatform.h | 4 ++-- CorebootPayloadPkg/L

[edk2] [PATCH 1/9] edksetup.sh: Create the Conf directory if necessary

2016-03-04 Thread Lee Leahy
Edit the shell script to determine if the Conf directory is present. If not then create the Conf directory. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- edksetup.sh | 4 1 file changed, 4 insertions(+) diff

[edk2] [PATCH v3] DuetPkg-PciBusNoEnumerationDxe: Fix stack overflow

2016-02-25 Thread Lee Leahy
=Build and run CorebootPayloadPkg on Quark/Galileo Gen2 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/D

[edk2] [PATCH v2] DuetPkg-PciBusNoEnumerationDxe: Fix stack overflow

2016-02-25 Thread Lee Leahy
. TEST=Build and run CorebootPayloadPkg on Quark/Galileo Gen2 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.le...@intel.com> --- DuetPkg/PciBusNoEnumerationDxe/PciEnumeratorSupport.c | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff