[U-Boot] [PATCH 2/2] kconfig: Add a DISTRO_FREEBSD option

Emmanuel Vadot manu at bidouilliste.com
Mon Dec 4 19:06:17 UTC 2017


Add a FreeBSD option that enables the API and the data cache command
as both are needed to boot the FreeBSD loader.

Signed-off-by: Emmanuel Vadot <manu at bidouilliste.com>
---
 common/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/common/Kconfig b/common/Kconfig
index c50d6ebb2a..acf20ade1d 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -502,4 +502,15 @@ config HASH
 
 endmenu
 
+config DISTRO_FREEBSD
+	bool "Enable FreeBSD boot"
+	select API if !ARM64
+	select CMD_CACHE
+	default n
+	help
+	  This options adds boot configuration that can run the FreeBSD
+	  loader. When enabled the distro_bootcmd will be expanded to
+	  include scan_dev_for_freebsd which search for the FreeBSD loader
+	  and if found run it.
+
 source "common/spl/Kconfig"
-- 
2.15.0



More information about the U-Boot mailing list