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

Emmanuel Vadot manu at bidouilliste.com
Tue Jan 31 12:17:08 CET 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 9067d1e277..a24cfa996a 100644
--- a/common/Kconfig
+++ b/common/Kconfig
@@ -430,4 +430,15 @@ config BOARD_EARLY_INIT_F
 
 endmenu
 
+config DISTRO_FREEBSD
+	bool "Enable FreeBSD boot"
+	select API
+	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.11.0



More information about the U-Boot mailing list