1 ## SPDX-License-Identifier: GPL-2.0-only
3 bootblock-y
+= bootblock.c
5 romstage-y
+= romstage.c
6 romstage-y
+= bdk_devicetree.c
8 ramstage-y
+= mainboard.c
9 ramstage-y
+= bdk_devicetree.c
11 MB_DIR
= src
/mainboard
/$(MAINBOARDDIR
)
13 LINUX_DTB
= sff8104-linux.dtb
15 # FIXME: why isn't this producing the correct size DTB?
16 dtc
-p
4096 -I dts
-O dtb
-o
$(obj
)/$(LINUX_DTB
) -i
$(MB_DIR
) $(MB_DIR
)/$(patsubst %.dtb
,%.dts
,$(LINUX_DTB
))
18 cbfs-files-y
+= $(LINUX_DTB
)
19 $(LINUX_DTB
)-file
:= $(obj
)/$(LINUX_DTB
)
20 $(LINUX_DTB
)-type
:= raw