data: Drop ARM FDT dts from repo

* We depend on FDT passed to the bootloader now
  from EFI or u-boot via fdt_addr_r now
* We leave an fdt path within the boot partition
  (for now) to allow / encourage users to optionally
  plug in their own DTB's for troubleshooting. (only
  on u-boot loader)

Change-Id: I3f2d81b60d46f388f333d5caa27aa77e6e36447d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/6081
Reviewed-by: Alex von Gluck IV <[email protected]>
Reviewed-by: X512 <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
Tested-by: Commit checker robot <[email protected]>
Tested-by: Automation <[email protected]>
This commit is contained in:
Alexander von Gluck IV
2023-02-23 18:24:21 +00:00
committed by Alex von Gluck IV
parent 4c442eb0b8
commit 8eb9f41407
41 changed files with 2 additions and 8122 deletions
-21
View File
@@ -191,27 +191,6 @@ actions AssembleNasm
fi
}
rule CompileDTS target : source
{
CCDEFS on $(target) = [ FDefines $(TARGET_DEFINES_$(TARGET_PACKAGING_ARCH))
$(TARGET_DEFINES) ] ;
CC on $(target) = $(TARGET_CC_$(TARGET_PACKAGING_ARCH)) ;
MakeLocate $(target) : $(HAIKU_OUTPUT_DIR) ;
Depends $(target) : $(source) ;
CompileDTS1 $(target) : $(source) ;
}
actions CompileDTS1
{
$(CC) -E $(CCDEFS) -P -xassembler-with-cpp \
-I$(HAIKU_TOP)/src/data/dts/arch/$(TARGET_ARCH) \
-I$(HAIKU_TOP)/src/data/dts $(2) \
| dtc -O dtb -o $(1) \
-i $(HAIKU_TOP)/src/data/dts/arch/$(TARGET_ARCH) \
-i $(HAIKU_TOP)/src/data/dts ;
}
rule Ld
{
# Ld <name> : <objs> : <linkerscript> : <flags> ;
+2 -9
View File
@@ -12,7 +12,6 @@ rule BuildSDImage image : files
local mbrtool = <build>mbrtool ;
local fatshell = <build>fat_shell ;
Depends $(image) : $(files) $(TARGET_DEVICE_TREES) ;
Depends $(image) : $(HAIKU_IMAGE_NAME) ;
Depends $(image) : $(mbrtool) ;
Depends $(image) : $(fatshell) ;
@@ -90,11 +89,8 @@ actions BuildUBootSDImage1
echo "cp :uEnv.txt myfs/" | ${FATFS} $(1)
# lay down FDT's
# lay down optional FDT path
echo "mkdir myfs/fdt" | ${FATFS} $(1)
for i in $(TARGET_DEVICE_TREES[1-]) ; do
echo "cp :${i} myfs/fdt/" | ${FATFS} $(1)
done
# list content
echo "ls myfs" | ${FATFS} $(1)
@@ -153,11 +149,8 @@ actions BuildEfiSDImage1
done
echo "cp :uEnv.txt myfs/" | ${FATFS} $(1)
# lay down FDT's
# lay down optional FDT path
echo "mkdir myfs/fdt" | ${FATFS} $(1)
for i in $(TARGET_DEVICE_TREES[1-]) ; do
echo "cp :${i} myfs/fdt/" | ${FATFS} $(1)
done
# list content
echo "ls myfs" | ${FATFS} $(1)