diff options
author | Fabio Estevam <fabio.estevam@freescale.com> | 2014-09-01 09:56:23 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2014-09-09 16:23:00 +0200 |
commit | 021e79c85371d2d5882f2eb6c58233f016add52d (patch) | |
tree | d81b9289a12c8892d9f6454b141006b67f96fcda /tools/pblimage.c | |
parent | dad08286eaa84779349fe4cec427e1e29beaffac (diff) | |
download | u-boot-imx-021e79c85371d2d5882f2eb6c58233f016add52d.zip u-boot-imx-021e79c85371d2d5882f2eb6c58233f016add52d.tar.gz u-boot-imx-021e79c85371d2d5882f2eb6c58233f016add52d.tar.bz2 |
tools: imximage: Fix the maximum DCD size for mx53/mx6
According to mx53 and mx6 reference manuals:
"The maximum size of the DCD limited to 1768 bytes."
As each DCD entry consists of 8 bytes, we have a total of 1768 / 8 = 221, and
excluding the first entry, which is the header leads to 220 as the maximum
number for DCD size.
Reported-by: Jonas Karlsson <jonas.d.karlsson@gmail.com>
Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Nitin Garg <nitin.garg@freescale.com>
Acked-by: Nitin Garg <nitin.garg@freescale.com>
Diffstat (limited to 'tools/pblimage.c')
0 files changed, 0 insertions, 0 deletions