summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2019-03-07 14:23:37 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2019-03-07 14:23:37 +0100
commitcf99cb69005fff65bcd77d5ada375318d49e4bed (patch)
tree8bba862a1db59ae8b9011779b85ba514279a99ba /scripts
parent002972c176e04db44dd9c41530be23f88d657f31 (diff)
parent743d8ffbc2b605966104a1293a8ae919fc47be20 (diff)
downloadbarebox-cf99cb69005fff65bcd77d5ada375318d49e4bed.tar.gz
barebox-cf99cb69005fff65bcd77d5ada375318d49e4bed.tar.xz
Merge branch 'for-next/imx'
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/gen-dtb-s8
1 files changed, 2 insertions, 6 deletions
diff --git a/scripts/gen-dtb-s b/scripts/gen-dtb-s
index 2b44ffb361..307b1f6866 100755
--- a/scripts/gen-dtb-s
+++ b/scripts/gen-dtb-s
@@ -18,8 +18,8 @@ FDTGET=scripts/dtc/fdtget
if [ "$imd" = "y" ]; then
echo ".section .barebox_imd_0.${name},\"a\""
- echo ".global __imd_${name}_start"
- echo "__imd_${name}_start:"
+ echo ".global __barebox_imd_OF_${name}"
+ echo "__barebox_imd_OF_${name}:"
compat=$($FDTGET -d notfound -t bi "$dtb" / compatible | sed "s^ ^,^g")
if [ "$compat" != "notfound" ]; then
@@ -69,7 +69,3 @@ echo ".incbin \"$dtb.lzo\""
echo "__dtb_z_${name}_end:"
echo ".global __dtb_z_${name}_end"
echo ".balign STRUCT_ALIGNMENT"
-
-if [ "$imd" = "y" ]; then
- echo ".word __imd_${name}_start"
-fi