]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: sunxi: Correct warning in board_fit_config_name_match
authorTom Rini <trini@konsulko.com>
Mon, 17 Jul 2023 19:29:20 +0000 (15:29 -0400)
committerAndre Przywara <andre.przywara@arm.com>
Sun, 12 Nov 2023 12:03:42 +0000 (12:03 +0000)
commitf054f12089cb63cf59b99f5a3bee30e55f105be3
tree8ca52f3cb9081be074fdb6c316c9b09bbb30448f
parentffb02942fab024d4a9b6a3346b9791457e272ff4
arm: sunxi: Correct warning in board_fit_config_name_match

When building this with clang, we get a warning about having excess
parenthesis here, or that we're incorrectly using "==" when we want "=".
Correct these by using the common size macro.

Signed-off-by: Tom Rini <trini@konsulko.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
[Andre: Use SZ_512M as per Simon's suggestion]
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
board/sunxi/board.c