bsps/imxrt: Remove superfluous options from dtc

The -@ option adds symbols that are used when applying an overlay. RTEMS
doesn't support overlays or re-parsing of device trees. So the symbols
only increase the size of the binary.

The same is true for the padding. It would be useful if the device tree
is changed during run time which is not supported in RTEMS.

Update #4180
This commit is contained in:
Christian Mauderer 2021-05-17 09:32:21 +02:00
parent 2509b62106
commit a3ebe17994

View File

@ -118,7 +118,7 @@ with your FDT source names)::
sh> arm-rtems6-cpp -P -x assembler-with-cpp \
-I ${PREFIX}/arm-rtems6/imxrt1052/lib/include \
-include "YOUR.dts" /dev/null | \
dtc -@ -O dtb -o "YOUR.dtb" -b 0 -p 1024
dtc -O dtb -o "YOUR.dtb" -b 0 -p 64
sh> rtems-bin2c -C -N imxrt_dtb "YOUR.dtb" "YOUR.c"
Make sure that your new c file is compiled and linked into the application.