Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1317575
| From | Alban Bedel <albeu@free.fr> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] MIPS: ath79: Add support for DTB passed using the UHI boot protocol |
| Date | 2016-01-26 08:30 +0100 |
| Message-ID | <qV6eB-Bp-1@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
This is needed for bootloader supporting UHI and to support appended
DTB.
Signed-off-by: Alban Bedel <albeu@free.fr>
---
arch/mips/ath79/setup.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/arch/mips/ath79/setup.c b/arch/mips/ath79/setup.c
index 2fdba24..2895e45 100644
--- a/arch/mips/ath79/setup.c
+++ b/arch/mips/ath79/setup.c
@@ -203,6 +203,8 @@ void __init plat_mem_setup(void)
fdt_start = fw_getenvl("fdt_start");
if (fdt_start)
__dt_setup_arch((void *)KSEG0ADDR(fdt_start));
+ else if (fw_arg0 == -2)
+ __dt_setup_arch((void *)KSEG0ADDR(fw_arg1));
#ifdef CONFIG_BUILTIN_DTB
else
__dt_setup_arch(__dtb_start);
--
2.0.0
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] MIPS: ath79: Add support for DTB passed using the UHI boot protocol Alban Bedel <albeu@free.fr> - 2016-01-26 08:30 +0100 [PATCH 2/2] MIPS: ath79: Remove the builtin DTB support Alban Bedel <albeu@free.fr> - 2016-01-26 08:30 +0100
csiph-web