This adds the dsd and fdf definitions for Solidrun's i.MX6Q Hummingboard
Edge platform.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Christopher Co <[email protected]>
Cc: Ard Biesheuvel <[email protected]>
Cc: Leif Lindholm <[email protected]>
Cc: Michael D Kinney <[email protected]>
---
 Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.dsc | 
74 ++++++++++++++++++++
 Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.fdf | 
13 ++++
 2 files changed, 87 insertions(+)

diff --git 
a/Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.dsc 
b/Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.dsc
new file mode 100644
index 000000000000..c8cb03263df7
--- /dev/null
+++ 
b/Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.dsc
@@ -0,0 +1,74 @@
+#
+#
+#  Copyright (c) Microsoft Corporation. All rights reserved.
+#
+#  This program and the accompanying materials
+#  are licensed and made available under the terms and conditions of the BSD 
License
+#  which accompanies this distribution.  The full text of the license may be 
found at
+#  http://opensource.org/licenses/bsd-license.php
+#
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR 
IMPLIED.
+#
+#
+
+################################################################################
+#
+# Board [Defines] Section
+#
+################################################################################
+
+[Defines]
+  DEFINE BOARD_NAME     = HummingboardEdge_iMX6Q_2GB
+  DEFINE IMX_FAMILY     = IMX6DQ
+  DEFINE IMX_CHIP_TYPE  = QUAD
+  DEFINE DRAM_SIZE      = DRAM_2GB
+  BOARD_DIR             = Platform/SolidRun/$(BOARD_NAME)
+  FLASH_DEFINITION      = $(BOARD_DIR)/$(BOARD_NAME).fdf
+
+################################################################################
+#
+# Platform Description
+#
+################################################################################
+!include Silicon/NXP/iMX6Pkg/iMX6CommonDsc.inc
+
+################################################################################
+#
+# Board PCD Sections
+#
+################################################################################
+
+########################
+#
+# iMX6Pkg PCDs
+#
+########################
+[PcdsFixedAtBuild.common]
+
+#
+# USB EHCI Controller (USB_UH1)
+#
+giMX6TokenSpaceGuid.PcdEHCIBase|0x02184200
+
+#
+# Enable uSDHC2 and uSDHC3 Controllers.
+# On HummingboardEdge, SDCard slot is attached to uSDHC2
+# with CD wired to SD2_CD_B, eMMC is attached to uSDHC3
+#
+giMXPlatformTokenSpaceGuid.PcdSdhc2Enable|TRUE
+giMXPlatformTokenSpaceGuid.PcdSdhc2CardDetectSignal|0xFFFF # Use uSDHC 
internal CD circuit
+giMXPlatformTokenSpaceGuid.PcdSdhc3Enable|TRUE
+
+#
+# UART initialization required
+#
+giMXPlatformTokenSpaceGuid.PcdSerialRegisterBase|0x02020000   # UART1
+giMXPlatformTokenSpaceGuid.PcdKdUartInstance|1                # UART1
+
+#
+# GPIO reset pin (PERST)
+#
+giMX6TokenSpaceGuid.PcdPcieResetGpio|TRUE
+giMX6TokenSpaceGuid.PcdPcieResetGpioBankNumber|2
+giMX6TokenSpaceGuid.PcdPcieResetGpioIoNumber|11
diff --git 
a/Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.fdf 
b/Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.fdf
new file mode 100644
index 000000000000..bd764998b9bc
--- /dev/null
+++ 
b/Platform/SolidRun/HummingboardEdge_iMX6Q_2GB/HummingboardEdge_iMX6Q_2GB.fdf
@@ -0,0 +1,13 @@
+#
+#  Copyright (c) Microsoft Corporation. All rights reserved.
+#
+#  This program and the accompanying materials
+#  are licensed and made available under the terms and conditions of the BSD 
License
+#  which accompanies this distribution.  The full text of the license may be 
found at
+#  http://opensource.org/licenses/bsd-license.php
+#
+#  THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
+#  WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR 
IMPLIED.
+#
+
+!include Silicon/NXP/iMX6Pkg/iMX6CommonFdf.inc
-- 
2.16.2.gvfs.1.33.gf5370f1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to