summaryrefslogtreecommitdiff
path: root/include/configs/siemens-ccp-common.h
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2020-01-15 09:22:15 -0500
committerTom Rini <trini@konsulko.com>2020-01-15 09:22:15 -0500
commitfb537657d9e94a8d489eb9463451e9cf90cbe973 (patch)
tree17a2b750de2caee4b9d3da009da85037b410c126 /include/configs/siemens-ccp-common.h
parent59612e4f24d2ee120c4e20d42fa23ba8e3574c51 (diff)
parent8d9c0762a8cf0a5027e7cd3c6794693f2d64d007 (diff)
Merge tag 'u-boot-imx-20200115' of https://gitlab.denx.de/u-boot/custodians/u-boot-imx
----------------------------------- - imx8: add capricorn giedi deneb boards - imx6: fixed fow wandboard - imx7: DM_ETHER for pico-imx7d - fsl_esdhc_imx: add broken-cd property - New SOC: IMXRT10xx Travis: https://travis-ci.org/sbabic/u-boot-imx/builds/637126531
Diffstat (limited to 'include/configs/siemens-ccp-common.h')
-rw-r--r--include/configs/siemens-ccp-common.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/siemens-ccp-common.h b/include/configs/siemens-ccp-common.h
new file mode 100644
index 0000000000..01051c8ad7
--- /dev/null
+++ b/include/configs/siemens-ccp-common.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/* Be very careful updating CONFIG_IDENT_STRING
+ * This string will control the update flow whether an U-Boot should be
+ * updated or not. If the version of installed U-Boot (in flash) is smaller
+ * than the version to be installed (from update file), an update will
+ * be performed.
+ *
+ * General rules:
+ * 1. First 4 characters ' ##v' or IDENT_MAGIC represent kind of a magic number
+ * to identify the following strings after easily. Don't change them!
+ *
+ * 2. First 2 digits after 'v' or CCP_MAJOR are updated with U-Boot version
+ * change, e.g. from 2015.04 to 2018.03
+ *
+ * 3. Second 2 digits after '.' or CCP_MINOR are updated if we want to upgrade
+ * U-Boot within an U-Boot version.
+ */
+#define CCP_IDENT_MAGIC " ##v"
+#define GENERATE_CCP_VERSION(MAJOR, MINOR) CCP_IDENT_MAGIC MAJOR "." MINOR