diff options
author | Rich Felker <dalias@libc.org> | 2016-03-25 21:24:30 -0400 |
---|---|---|
committer | Rich Felker <dalias@libc.org> | 2016-07-30 23:33:32 -0400 |
commit | 190fe191cfbead9fe089453dd092869c9469c6d4 (patch) | |
tree | 10dfa2b780644c5fe43b3cf53901ac4a04963384 /arch/sh/Kconfig | |
parent | ff18143ceed3424b7d6cdb8659b9692fa734f0d8 (diff) |
sh: add support for linking a builtin device tree blob in the kernel
Signed-off-by: Rich Felker <dalias@libc.org>
Diffstat (limited to 'arch/sh/Kconfig')
-rw-r--r-- | arch/sh/Kconfig | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/arch/sh/Kconfig b/arch/sh/Kconfig index 0d5f3a9bb315..ceeda5c1a70a 100644 --- a/arch/sh/Kconfig +++ b/arch/sh/Kconfig | |||
@@ -739,6 +739,26 @@ endmenu | |||
739 | 739 | ||
740 | menu "Boot options" | 740 | menu "Boot options" |
741 | 741 | ||
742 | config USE_BUILTIN_DTB | ||
743 | bool "Use builtin DTB" | ||
744 | default n | ||
745 | depends on SH_DEVICE_TREE | ||
746 | help | ||
747 | Link a device tree blob for particular hardware into the kernel, | ||
748 | suppressing use of the DTB pointer provided by the bootloader. | ||
749 | This option should only be used with legacy bootloaders that are | ||
750 | not capable of providing a DTB to the kernel, or for experimental | ||
751 | hardware without stable device tree bindings. | ||
752 | |||
753 | config BUILTIN_DTB_SOURCE | ||
754 | string "Source file for builtin DTB" | ||
755 | default "" | ||
756 | depends on USE_BUILTIN_DTB | ||
757 | help | ||
758 | Base name (without suffix, relative to arch/sh/boot/dts) for the | ||
759 | a DTS file that will be used to produce the DTB linked into the | ||
760 | kernel. | ||
761 | |||
742 | config ZERO_PAGE_OFFSET | 762 | config ZERO_PAGE_OFFSET |
743 | hex | 763 | hex |
744 | default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ | 764 | default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \ |