[PATCH 12/13] board: librem5: add Librem5 build files
Angus Ainslie
angus at akkea.ca
Mon Jan 17 16:07:34 CET 2022
Initial commit of the Librem5 Makefile and Kconfig
Signed-off-by: Angus Ainslie <angus at akkea.ca>
---
board/purism/librem5/Kconfig | 15 +++++++++++++++
board/purism/librem5/Makefile | 13 +++++++++++++
2 files changed, 28 insertions(+)
create mode 100644 board/purism/librem5/Kconfig
create mode 100644 board/purism/librem5/Makefile
diff --git a/board/purism/librem5/Kconfig b/board/purism/librem5/Kconfig
new file mode 100644
index 0000000000..cf0f303683
--- /dev/null
+++ b/board/purism/librem5/Kconfig
@@ -0,0 +1,15 @@
+if TARGET_LIBREM5
+
+config SYS_BOARD
+ default "librem5"
+
+config SYS_VENDOR
+ default "purism"
+
+config SYS_CONFIG_NAME
+ default "librem5"
+
+config IMX_CONFIG
+ default "board/purism/librem5/imximage-8mq-lpddr4.cfg"
+
+endif
diff --git a/board/purism/librem5/Makefile b/board/purism/librem5/Makefile
new file mode 100644
index 0000000000..47f25f047b
--- /dev/null
+++ b/board/purism/librem5/Makefile
@@ -0,0 +1,13 @@
+#
+# Copyright 2017 NXP
+# Copyright 2019 Purism
+#
+# SPDX-License-Identifier: GPL-2.0+
+#
+
+obj-y += librem5.o
+
+ifdef CONFIG_SPL_BUILD
+obj-y += spl.o
+obj-$(CONFIG_IMX8M_LPDDR4) += lpddr4_timing.o lpddr4_timing_b0.o
+endif
--
2.25.1
More information about the U-Boot
mailing list