This file contains the SPL device tree. Add support for including this by itself in images. Signed-off-by: Simon Glass <sjg@chromium.org>master
parent
b50e5611a6
commit
47419eae4b
@ -0,0 +1,17 @@ |
|||||||
|
# Copyright (c) 2016 Google, Inc |
||||||
|
# Written by Simon Glass <sjg@chromium.org> |
||||||
|
# |
||||||
|
# SPDX-License-Identifier: GPL-2.0+ |
||||||
|
# |
||||||
|
# Entry-type module for U-Boot device tree |
||||||
|
# |
||||||
|
|
||||||
|
from entry import Entry |
||||||
|
from blob import Entry_blob |
||||||
|
|
||||||
|
class Entry_u_boot_spl_dtb(Entry_blob): |
||||||
|
def __init__(self, image, etype, node): |
||||||
|
Entry_blob.__init__(self, image, etype, node) |
||||||
|
|
||||||
|
def GetDefaultFilename(self): |
||||||
|
return 'spl/u-boot-spl.dtb' |
@ -0,0 +1,13 @@ |
|||||||
|
/dts-v1/; |
||||||
|
|
||||||
|
/ { |
||||||
|
#address-cells = <1>; |
||||||
|
#size-cells = <1>; |
||||||
|
|
||||||
|
binman { |
||||||
|
size = <16>; |
||||||
|
|
||||||
|
u-boot-spl-dtb { |
||||||
|
}; |
||||||
|
}; |
||||||
|
}; |
Loading…
Reference in new issue