boot/beaglev-ddrinit: remove package

The beaglev-ddrinit was meant for the BeagleV-Starlight
board (beaglev_defconfig) but the support was removed.

Remove beaglev-ddrinit too.

Signed-off-by: Romain Naour <romain.naour@smile.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
diff --git a/Config.in.legacy b/Config.in.legacy
index 28cfce3..36efcfb 100644
--- a/Config.in.legacy
+++ b/Config.in.legacy
@@ -146,6 +146,13 @@
 
 comment "Legacy options removed in 2024.08"
 
+config BR2_TARGET_BEAGLEV_DDRINIT
+	bool "beaglev-ddrinit has been removed"
+	select BR2_LEGACY
+	help
+	  The beaglev-secondboot package has been removed after
+	  the beaglev_defconfig removal.
+
 config BR2_TARGET_BEAGLEV_SECONDBOOT
 	bool "beaglev-secondboot has been removed"
 	select BR2_LEGACY
diff --git a/DEVELOPERS b/DEVELOPERS
index 9bfca9e..fe32472 100644
--- a/DEVELOPERS
+++ b/DEVELOPERS
@@ -3068,7 +3068,6 @@
 N:	Thomas Petazzoni <thomas.petazzoni@bootlin.com>
 F:	arch/Config.in.arm
 F:	board/stmicroelectronics/stm32mp157c-dk2/
-F:	boot/beaglev-ddrinit/
 F:	boot/boot-wrapper-aarch64/
 F:	boot/grub2/
 F:	configs/stm32mp157c_dk2_defconfig
diff --git a/boot/Config.in b/boot/Config.in
index 8f504fe..5c8d0e7 100644
--- a/boot/Config.in
+++ b/boot/Config.in
@@ -4,7 +4,6 @@
 source "boot/at91bootstrap3/Config.in"
 source "boot/arm-trusted-firmware/Config.in"
 source "boot/barebox/Config.in"
-source "boot/beaglev-ddrinit/Config.in"
 source "boot/binaries-marvell/Config.in"
 source "boot/boot-wrapper-aarch64/Config.in"
 source "boot/edk2/Config.in"
diff --git a/boot/beaglev-ddrinit/Config.in b/boot/beaglev-ddrinit/Config.in
deleted file mode 100644
index 7ca92a7..0000000
--- a/boot/beaglev-ddrinit/Config.in
+++ /dev/null
@@ -1,9 +0,0 @@
-config BR2_TARGET_BEAGLEV_DDRINIT
-	bool "beaglev-ddrinit"
-	depends on BR2_riscv
-	depends on BR2_HOSTARCH = "x86_64" # host-riscv64-elf-toolchain
-	help
-	  This package builds the DDRinit firmware used on the BeagleV
-	  platform.
-
-	  https://github.com/starfive-tech/beagle_ddrinit
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.hash b/boot/beaglev-ddrinit/beaglev-ddrinit.hash
deleted file mode 100644
index d423590..0000000
--- a/boot/beaglev-ddrinit/beaglev-ddrinit.hash
+++ /dev/null
@@ -1,3 +0,0 @@
-# Locally computed
-sha256  08a49355f89fc2cb4f5101183339c9c6f86b722545d0abbc319aab26a511dad7  beaglev-ddrinit-8d6318acfe71e790c983b34448c9abfcfcec3ed8.tar.gz
-sha256  284d26192537710910ec1f112ec5f4c981601ae23702391986d6ce0b8ba90813  LICENSE
diff --git a/boot/beaglev-ddrinit/beaglev-ddrinit.mk b/boot/beaglev-ddrinit/beaglev-ddrinit.mk
deleted file mode 100644
index d9707de..0000000
--- a/boot/beaglev-ddrinit/beaglev-ddrinit.mk
+++ /dev/null
@@ -1,28 +0,0 @@
-################################################################################
-#
-# beaglev-ddrinit
-#
-################################################################################
-
-# Commit on the 'starfive' branch
-BEAGLEV_DDRINIT_VERSION = 8d6318acfe71e790c983b34448c9abfcfcec3ed8
-BEAGLEV_DDRINIT_SITE = $(call github,starfive-tech,beagle_ddrinit,$(BEAGLEV_DDRINIT_VERSION))
-BEAGLEV_DDRINIT_INSTALL_TARGET = NO
-BEAGLEV_DDRINIT_INSTALL_IMAGES = YES
-BEAGLEV_DDRINIT_DEPENDENCIES = host-riscv64-elf-toolchain
-BEAGLEV_DDRINIT_LICENSE = GPL-2.0+
-BEAGLEV_DDRINIT_LICENSE_FILES = LICENSE
-
-define BEAGLEV_DDRINIT_BUILD_CMDS
-	$(MAKE) -C $(@D)/build \
-		CROSS_COMPILE=$(HOST_DIR)/bin/riscv64-unknown-elf- \
-		SUFFIX=buildroot \
-		GIT_VERSION=$(BEAGLEV_DDRINIT_VERSION)
-endef
-
-define BEAGLEV_DDRINIT_INSTALL_IMAGES_CMDS
-	$(INSTALL) -D -m 0644 $(@D)/build/ddrinit-2133-buildroot.bin.out \
-		$(BINARIES_DIR)/ddrinit-2133-buildroot.bin.out
-endef
-
-$(eval $(generic-package))