mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 10:39:08 +00:00
fdt: sandbox: Move setup code from board_f to fdtdec
We want to be able to set up the device tree in SPL, so move this code to a common place. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
5a87c4174d
commit
b45122fdf5
5 changed files with 88 additions and 65 deletions
|
@ -75,4 +75,12 @@ int pci_unmap_physmem(const void *addr, unsigned long len,
|
|||
*/
|
||||
void sandbox_set_enable_pci_map(int enable);
|
||||
|
||||
/**
|
||||
* sandbox_read_fdt_from_file() - Read a device tree from a file
|
||||
*
|
||||
* Read a device tree file from a host file and set it up for use as the
|
||||
* control FDT.
|
||||
*/
|
||||
int sandbox_read_fdt_from_file(void);
|
||||
|
||||
#endif /* _U_BOOT_SANDBOX_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue