summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2020-06-23 08:20:16 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2020-07-14 20:20:18 +0200
commit2766ff222aabc7f73915492e08dd775634b58e7a (patch)
tree4fe2d404865eec9312e8453a7c30badc24d394e0 /scripts
parentb8542d054dba3544a89ea6c4a65cec1d52a68443 (diff)
downloadbarebox-2766ff222aabc7f73915492e08dd775634b58e7a.tar.gz
barebox-2766ff222aabc7f73915492e08dd775634b58e7a.tar.xz
scripts: imx-image: rename dcdofs to ivtofs
This renames the dcdofs config option in the imx-image tool to ivtofs. dcdofs is a misnomer. The DCD (Device Configuration Data) is only one part of the data linked into the IVT (Image Vector Table), but the meaning of the option is really the latter, not the former. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'scripts')
-rw-r--r--scripts/imx/README2
-rw-r--r--scripts/imx/imx.c2
-rwxr-xr-xscripts/regsubst.pl4
3 files changed, 4 insertions, 4 deletions
diff --git a/scripts/imx/README b/scripts/imx/README
index d573d3a6be..99155af013 100644
--- a/scripts/imx/README
+++ b/scripts/imx/README
@@ -22,7 +22,7 @@ end up at 0x80001000 from where it is then executed.
Example config file, suitable for an Eukra cpuimx35:
soc imx35
-dcdofs 0x400
+ivtofs 0x400
loadaddr 0x80000000
wm 32 0x53F80004 0x00821000
wm 32 0x53F80004 0x00821000
diff --git a/scripts/imx/imx.c b/scripts/imx/imx.c
index f10c71e08a..5eacfdf76b 100644
--- a/scripts/imx/imx.c
+++ b/scripts/imx/imx.c
@@ -585,7 +585,7 @@ struct command cmds[] = {
.name = "loadaddr",
.parse = do_loadaddr,
}, {
- .name = "dcdofs",
+ .name = "ivtofs",
.parse = do_ivt_offset,
}, {
.name = "soc",
diff --git a/scripts/regsubst.pl b/scripts/regsubst.pl
index 3b6b8aa2e9..026c4eed2f 100755
--- a/scripts/regsubst.pl
+++ b/scripts/regsubst.pl
@@ -45,7 +45,7 @@ First you have to add the right #include directives to your file:
$ cat flash-header-myboard.imxcfg
soc imx6
loadaddr 0x20000000
- dcdofs 0x400
+ ivtofs 0x400
#include <mach/imx6-ddr-regs.h>
#include <mach/imx6dl-ddr-regs.h>
@@ -59,7 +59,7 @@ Then you can process the file with B<regsubst.pl>:
$ scripts/regsubst.pl -I arch/arm/mach-imx/include flash-header-myboard.imxcfg
soc imx6
loadaddr 0x20000000
- dcdofs 0x400
+ ivtofs 0x400
#include <mach/imx6-ddr-regs.h>
#include <mach/imx6dl-ddr-regs.h>