git: c00673ea1eed - main - nanobsd: Stop copying ubldr

From: Warner Losh <imp_at_FreeBSD.org>
Date: Mon, 07 Feb 2022 20:20:03 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=c00673ea1eed31cb1fcedd4a105562ddd4545f7c

commit c00673ea1eed31cb1fcedd4a105562ddd4545f7c
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-02-07 20:15:03 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-02-07 20:15:03 +0000

    nanobsd: Stop copying ubldr
    
    manu@ removed support for loading ubldr* from uboot last year. No need
    to copy them to the image. This may be needed for some 32-bit platforms
    in theory, but those platforms weren't ever the target for nanobsd that
    I'm aware of. Should there be platforms where this is used, we can add
    it to building those platforms.
    
    Sponsored by:           Netflix
    Differential Revision:  https://reviews.freebsd.org/D34191
---
 tools/tools/nanobsd/embedded/common | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/tools/tools/nanobsd/embedded/common b/tools/tools/nanobsd/embedded/common
index 3b8faff5e252..2d60940038a9 100644
--- a/tools/tools/nanobsd/embedded/common
+++ b/tools/tools/nanobsd/embedded/common
@@ -452,11 +452,6 @@ dos_boot_part ( ) (
 	chdir $f
 	cp ${d}/* .
 
-	# Also copy ubldr. u-boot will load it and it will load the kernel
-	# from the ufs partition
-	cp ${NANO_WORLDDIR}/boot/ubldr .
-	cp ${NANO_WORLDDIR}/boot/ubldr.bin .
-
 	# We have to touch the saveenv file
 	touch uEnv.txt