diff mbox

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

Message ID 20170131111708.12614-6-manu@bidouilliste.com
State Accepted
Delegated to: Tom Rini
Headers show

Commit Message

Emmanuel Vadot Jan. 31, 2017, 11:17 a.m. UTC
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@bidouilliste.com>
---
 common/Kconfig | 11 +++++++++++
 1 file changed, 11 insertions(+)
diff mbox

Patch

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"