aboutsummaryrefslogtreecommitdiffstats
path: root/main/linux-rpi/markdt
diff options
context:
space:
mode:
Diffstat (limited to 'main/linux-rpi/markdt')
-rwxr-xr-xmain/linux-rpi/markdt4
1 files changed, 4 insertions, 0 deletions
diff --git a/main/linux-rpi/markdt b/main/linux-rpi/markdt
index 36b1ca6bc7..f79a2ecf65 100755
--- a/main/linux-rpi/markdt
+++ b/main/linux-rpi/markdt
@@ -21,6 +21,8 @@ my $out_file = $ARGV[0];
my $trailer_magic = 'RPTL';
my $trailer;
my $dtok = 1;
+my $ddtk = 0;
+my $is_283x = 0;
my $ofh;
my $total_len = 0;
@@ -40,6 +42,8 @@ sub pack_trailer
my @atoms;
push @atoms, [ $trailer_magic, pack('V', 0) ];
push @atoms, [ 'DTOK', pack('V', $dtok) ];
+push @atoms, [ 'DDTK', pack('V', $ddtk) ];
+push @atoms, [ '283x', pack('V', $is_283x) ];
$trailer = pack_trailer(\@atoms);
$atoms[0]->[1] = pack('V', length($trailer));