From: Alexander Graf Date: Thu, 26 Jan 2017 18:53:15 +0100 Subject: [U-Boot] [PATCH v3 2/4] kconfig: Add a FREEBSD option In-Reply-To: <20170126184408.8616937662f2bd519b78301f@bidouilliste.com> References: <20170126164612.86684-1-manu@bidouilliste.com> <20170126164612.86684-3-manu@bidouilliste.com> <93f9fea6-61dc-346c-b04e-b0b7cdb84a18@suse.de> <20170126184408.8616937662f2bd519b78301f@bidouilliste.com> Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 01/26/2017 06:44 PM, Emmanuel Vadot wrote: > On Thu, 26 Jan 2017 18:08:49 +0100 > Alexander Graf wrote: > >> On 01/26/2017 05:46 PM, Emmanuel Vadot wrote: >>> 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 >>> --- >>> common/Kconfig | 9 +++++++++ >>> 1 file changed, 9 insertions(+) >>> >>> diff --git a/common/Kconfig b/common/Kconfig >>> index 9067d1e277..2fe19d354b 100644 >>> --- a/common/Kconfig >>> +++ b/common/Kconfig >>> @@ -430,4 +430,13 @@ config BOARD_EARLY_INIT_F >>> >>> endmenu >>> >>> +config FREEBSD >>> + bool "Enable FreeBSD boot" >>> + select API >>> + select CMD_CACHE >>> + default n >>> + help >>> + This options adds boot configuration that can run the FreeBSD >> The help text should be more descriptive and actually tell users what >> the option really does. > Ok will do that. > >> Since the only thing CONFIG_FREEBSD does now is >> to enable distro boot support for it, maybe even rename the the option >> into CONFIG_DISTRO_FREEBSD. > We might want to support uImage/FIT at one point (I'm currently > looking at this) so CONFIG_FREEBSD will make more sense. But we can > rename the option later if needed, I don't know which way is better. What do you need to change for uImage / FIT support? Does that have to be conditionalized? Alex