]> git.dujemihanovic.xyz Git - u-boot.git/commit
test: mbr: Use a constant for the block size
authorSimon Glass <sjg@chromium.org>
Sun, 1 Sep 2024 22:26:32 +0000 (16:26 -0600)
committerTom Rini <trini@konsulko.com>
Wed, 18 Sep 2024 19:01:00 +0000 (13:01 -0600)
commite9d899591c7b1cf9661a22a66e0f1c41f37eaeb9
treeab3d5384c18159a8cc3877d745adc280dfbebb27
parent705cc13ce7a81111b93a11cfff1763e11586f33e
test: mbr: Use a constant for the block size

It isn't that important to factor out constants in tests, but in this
case we have 0x200 and 512 used. The commands don't use the constant
as they use a block count ('1'). It doesn't create more code to use a
constant, so create one.

Signed-off-by: Simon Glass <sjg@chromium.org>
test/cmd/mbr.c