Logo
Explore Help
Sign In
linux-sunxi/u-boot-sunxi
1
0
Fork 0
You've already forked u-boot-sunxi
mirror of https://github.com/linux-sunxi/u-boot-sunxi.git synced 2024-02-12 11:16:03 +08:00
Code Issues Projects Releases Wiki Activity
Files
0c0eaee562291f5bbca38c5bab3b1cd75b617fc0
u-boot-sunxi/include/boot_fit.h

15 lines
367 B
C
Raw Normal View History

boot_fit: Create helper functions that can be used to select DTB out of FIT Some platforms may append a FIT image to the U-boot image. This function aids in parsing the FIT image and selecting the correct DTB at runtime. Signed-off-by: Franklin S Cooper Jr <fcooper@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
2017-06-16 17:25:06 -05:00
/*
* Copyright (C) 2017 Texas Instruments
* Written by Franklin Cooper Jr. <fcooper@ti.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
fit: use 'const' for the input of fdt_offset() and locate_dtb_in_fit() Those 2 functions don't modify their input, we can mark it const. This prevents compilation warnings when they are provided const input. Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
2017-09-15 12:57:25 +02:00
/**
* locate_dtb_in_fit - Find a DTB matching the board in a FIT image
* @fit: pointer to the FIT image
*
* @return a pointer to a matching DTB blob if found, NULL otherwise
*/
void *locate_dtb_in_fit(const void *fit);
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 194ms Template: 7ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API