From fc8eec11b3a868e9e8c954a02309cef9ffe0dd98 Mon Sep 17 00:00:00 2001
From: vauban353 <vauban353@gmail.com>
Date: Fri, 21 Jul 2023 10:39:03 +0100
Subject: [PATCH] Build options: Use "DEFAULT" for all gateware components.

All gateware components now use the "DEFAULT" directory for their
default configuration. Previously a mix of "DEFAULT" and "NONE" were
used depending on the gateware component.
---
 BUILD_BVF_GATEWARE.tcl                                        | 4 ++--
 .../HIGH_SPEED_CONNECTOR/DEFAULT/ADD_HIGH_SPEED_CONNECTOR.tcl | 0
 .../DEFAULT/constraints/HIGH_SPEED_CONNECTOR.pdc              | 0
 .../components/MIPI_CSI/DEFAULT/ADD_MIPI_CSI_INTERFACE.tcl    | 0
 .../MIPI_CSI/DEFAULT/constraints/MIPI_CSI_INTERFACE.pdc       | 0
 5 files changed, 2 insertions(+), 2 deletions(-)
 create mode 100644 script_support/components/HIGH_SPEED_CONNECTOR/DEFAULT/ADD_HIGH_SPEED_CONNECTOR.tcl
 create mode 100644 script_support/components/HIGH_SPEED_CONNECTOR/DEFAULT/constraints/HIGH_SPEED_CONNECTOR.pdc
 create mode 100644 script_support/components/MIPI_CSI/DEFAULT/ADD_MIPI_CSI_INTERFACE.tcl
 create mode 100644 script_support/components/MIPI_CSI/DEFAULT/constraints/MIPI_CSI_INTERFACE.pdc

diff --git a/BUILD_BVF_GATEWARE.tcl b/BUILD_BVF_GATEWARE.tcl
index 963a974..2b438c4 100644
--- a/BUILD_BVF_GATEWARE.tcl
+++ b/BUILD_BVF_GATEWARE.tcl
@@ -89,14 +89,14 @@ puts "M.2 option selected: $m2_option"
 if {[info exists HIGH_SPEED_CONN_OPTION]} {
     set high_speed_conn_option "$HIGH_SPEED_CONN_OPTION"
 } else {
-    set high_speed_conn_option "NONE"
+    set high_speed_conn_option "DEFAULT"
 }
 puts "High speed connector option option selected: $high_speed_conn_option"
 
 if {[info exists MIPI_CSI_OPTION]} {
     set mipi_csi_option "$MIPI_CSI_OPTION"
 } else {
-    set mipi_csi_option "NONE"
+    set mipi_csi_option "DEFAULT"
 }
 puts "MIPI CSI option option selected: $mipi_csi_option"
 
diff --git a/script_support/components/HIGH_SPEED_CONNECTOR/DEFAULT/ADD_HIGH_SPEED_CONNECTOR.tcl b/script_support/components/HIGH_SPEED_CONNECTOR/DEFAULT/ADD_HIGH_SPEED_CONNECTOR.tcl
new file mode 100644
index 0000000..e69de29
diff --git a/script_support/components/HIGH_SPEED_CONNECTOR/DEFAULT/constraints/HIGH_SPEED_CONNECTOR.pdc b/script_support/components/HIGH_SPEED_CONNECTOR/DEFAULT/constraints/HIGH_SPEED_CONNECTOR.pdc
new file mode 100644
index 0000000..e69de29
diff --git a/script_support/components/MIPI_CSI/DEFAULT/ADD_MIPI_CSI_INTERFACE.tcl b/script_support/components/MIPI_CSI/DEFAULT/ADD_MIPI_CSI_INTERFACE.tcl
new file mode 100644
index 0000000..e69de29
diff --git a/script_support/components/MIPI_CSI/DEFAULT/constraints/MIPI_CSI_INTERFACE.pdc b/script_support/components/MIPI_CSI/DEFAULT/constraints/MIPI_CSI_INTERFACE.pdc
new file mode 100644
index 0000000..e69de29
-- 
GitLab