aboutsummaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorGravatar Sergey Matyukevich <geomatsi@gmail.com>2017-12-03 22:48:08 +0100
committerGravatar Peter Korsgaard <peter@korsgaard.com>2017-12-08 13:42:27 +0100
commit4c18b7cbe0cdfd243708bef21d45a85437f51e0b (patch)
treee4c3b0d457f3838b853d984b9a1be9da8d733ab0 /boot
parent2c4809e6088660dc71de9de8cee0bba312aafbe4 (diff)
downloadbuildroot-4c18b7cbe0cdfd243708bef21d45a85437f51e0b.tar.gz
buildroot-4c18b7cbe0cdfd243708bef21d45a85437f51e0b.tar.bz2
mv-ddr-marvell: new package
This package adds Marvell Armada SoC DDR training algorithms. This code is not built separately, it is needed as dependency to build ATF firmware for Marvell Armada SoCs. Signed-off-by: Sergey Matyukevich <geomatsi@gmail.com> [Thomas: - Remove MV_DDR_MARVELL_SRC_SYMLINK, ATF will directly pick up the mv-ddr-marvell code from where it is. - Use "mv-ddr-marvell" as the Config.in prompt, and in the comment header of the .mk file. - Add upstream URL in Config.in help text - Adjust license information.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/Config.in1
-rw-r--r--boot/mv-ddr-marvell/Config.in10
-rw-r--r--boot/mv-ddr-marvell/mv-ddr-marvell.hash2
-rw-r--r--boot/mv-ddr-marvell/mv-ddr-marvell.mk12
4 files changed, 25 insertions, 0 deletions
diff --git a/boot/Config.in b/boot/Config.in
index 2f46c8546e..3950c49524 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -10,6 +10,7 @@ source "boot/boot-wrapper-aarch64/Config.in"
source "boot/grub2/Config.in"
source "boot/gummiboot/Config.in"
source "boot/lpc32xxcdl/Config.in"
+source "boot/mv-ddr-marvell/Config.in"
source "boot/mxs-bootlets/Config.in"
source "boot/s500-bootloader/Config.in"
source "boot/syslinux/Config.in"
diff --git a/boot/mv-ddr-marvell/Config.in b/boot/mv-ddr-marvell/Config.in
new file mode 100644
index 0000000000..4ee8c95b2c
--- /dev/null
+++ b/boot/mv-ddr-marvell/Config.in
@@ -0,0 +1,10 @@
+config BR2_TARGET_MV_DDR_MARVELL
+ bool "mv-ddr-marvell"
+ depends on BR2_aarch64
+ help
+ Marvell keeps algorithms for DDR training in a separate
+ repository. This code is not built separately, it is needed
+ as a dependency to build ATF firmware for Marvell Armada 7040
+ and 8040 SoCs.
+
+ https://github.com/MarvellEmbeddedProcessors/mv-ddr-marvell/
diff --git a/boot/mv-ddr-marvell/mv-ddr-marvell.hash b/boot/mv-ddr-marvell/mv-ddr-marvell.hash
new file mode 100644
index 0000000000..b96d4d2bc8
--- /dev/null
+++ b/boot/mv-ddr-marvell/mv-ddr-marvell.hash
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 d413546367ffa3b5f4373a777b9efeb32dcc74d6106897c248935ecb79afc454 mv-ddr-marvell-656440a9690f3d07be9e3d2c39d7cf56fd96eb7b.tar.gz
diff --git a/boot/mv-ddr-marvell/mv-ddr-marvell.mk b/boot/mv-ddr-marvell/mv-ddr-marvell.mk
new file mode 100644
index 0000000000..0f98fc2cef
--- /dev/null
+++ b/boot/mv-ddr-marvell/mv-ddr-marvell.mk
@@ -0,0 +1,12 @@
+################################################################################
+#
+# mv-ddr-marvell
+#
+################################################################################
+
+MV_DDR_MARVELL_VERSION = 656440a9690f3d07be9e3d2c39d7cf56fd96eb7b
+MV_DDR_MARVELL_SITE = $(call github,MarvellEmbeddedProcessors,mv-ddr-marvell,$(MV_DDR_MARVELL_VERSION))
+MV_DDR_MARVELL_LICENSE = GPL-2.0+ or LGPL-2.1 with freertos-exception-2.0, BSD-3-Clause, Marvell Commercial
+MV_DDR_MARVELL_LICENSE_FILES = ddr3_init.c
+
+$(eval $(generic-package))