summaryrefslogtreecommitdiff
path: root/drivers/ddr/altera/sequencer.h
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-01-14 13:42:14 +0100
committerStefan Roese <sr@denx.de>2023-03-01 06:39:17 +0100
commit226abde8677537de55905d88973eef1a71b4d3e0 (patch)
treee4f75f13a6515b747ef5739b9f86c90995202007 /drivers/ddr/altera/sequencer.h
parente060779e59e79f8b1ff85ae03502e4a19c414608 (diff)
tools: kwbimage: Fix dumping NAND_BLKSZ
kwbimage nandblocksize field is in 64 kB unit, but NAND_BLKSZ command expects it in bytes. So do required unit conversion. Also zero value in nandblocksize field has special meaning. When this field is set to zero, the default block size is used. This default size is defined by the NAND flash page size (16 KB for a 512B page or small page NAND and 64 KB for a large page NAND flash). Fixes: 1a8e6b63e24f ("tools: kwbimage: Dump kwbimage config file on '-p -1' option") Signed-off-by: Pali Rohár <pali@kernel.org>
Diffstat (limited to 'drivers/ddr/altera/sequencer.h')
0 files changed, 0 insertions, 0 deletions