mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-27 20:38:52 +09:00
![Jean-Jacques Hiblot](/assets/img/avatar_default.png)
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>
15 lines
367 B
C
15 lines
367 B
C
/*
|
|
* Copyright (C) 2017 Texas Instruments
|
|
* Written by Franklin Cooper Jr. <fcooper@ti.com>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
/**
|
|
* 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);
|