]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: board: Use a more descriptive variable name
authorSamuel Holland <samuel@sholland.org>
Sat, 24 Oct 2020 15:21:49 +0000 (10:21 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Tue, 17 Nov 2020 00:42:20 +0000 (00:42 +0000)
commit2fcd74899c940f5bd474dab0c4f53b5d6e2185b3
tree0e82028116a9201ac35c367f8d8c6041f46692fb
parent9324c9a823ed91d901fb56954f438f9854b19bb5
sunxi: board: Use a more descriptive variable name

The variable "cmp_str" always leaves me wondering if it is the DT name
of the current board (yes) or DT name in the FIT config entry (no).

In preparation for expanding the functionality here, rename it to
something that obviously means "this is the DT name we are looking for".

Acked-by: Maxime Ripard <mripard@kernel.org>
Reviewed-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Jagan Teki <jagan@amarulasolutions.com>
board/sunxi/board.c