diff options
Diffstat (limited to 'src/mainboard/cavium')
-rw-r--r-- | src/mainboard/cavium/cn8100_sff_evb/Makefile.inc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc b/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc index 97a03c4d28..be35511cff 100644 --- a/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc +++ b/src/mainboard/cavium/cn8100_sff_evb/Makefile.inc @@ -25,3 +25,14 @@ ramstage-y += memlayout.ld ramstage-y += bdk_devicetree.c verstage-y += memlayout.ld + +MB_DIR = src/mainboard/$(MAINBOARDDIR) + +LINUX_DTB = sff8104-linux.dtb +build/$(LINUX_DTB): + # FIXME: why isn't this producing the correct size DTB? + dtc -p 4096 -I dts -O dtb -o build/$(LINUX_DTB) -i $(MB_DIR) $(MB_DIR)/$(patsubst %.dtb,%.dts,$(LINUX_DTB)) + +cbfs-files-y += $(LINUX_DTB) +$(LINUX_DTB)-file := build/$(LINUX_DTB) +$(LINUX_DTB)-type := raw |