diff mbox series

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

Message ID 20171204190617.13976-2-manu@bidouilliste.com
State Deferred
Delegated to: Tom Rini
Headers show
Series [U-Boot,1/2] distro_bootcmd: Add command to run FreeBSD | expand

Commit Message

Emmanuel Vadot Dec. 4, 2017, 7:06 p.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(+)

Comments

Masahiro Yamada Dec. 5, 2017, 3:41 a.m. UTC | #1
2017-12-05 4:06 GMT+09:00 Emmanuel Vadot <manu@bidouilliste.com>:
> 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>


Nit.

This is not a Kconfig change.

The subject prefix "kconfig:" should be used
for changes in scripts/kconfig/.


It should have been "common:" or "distro:" etc.


> ---
>  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
>
> _______________________________________________
> U-Boot mailing list
> U-Boot@lists.denx.de
> https://lists.denx.de/listinfo/u-boot
diff mbox series

Patch

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"