rockchip: binman: Factor out arch and compression
authorSimon Glass <sjg@chromium.org>
Sun, 13 Apr 2025 19:59:34 +0000 (19:59 +0000)
committerKever Yang <kever.yang@rock-chips.com>
Tue, 6 May 2025 07:58:25 +0000 (15:58 +0800)
commit3810ce1b47a2a65d962c6dc14e8e4ef2c799d2d0
tree3f806bfc1c8aaf582aee9dc0053f34f7c62ab14a
parent876df0a57daafce96d28a3965116e2bb29e9e0e4
rockchip: binman: Factor out arch and compression

Declare arch and compression at the top of the file to avoid needing
ifdefs in every usage.

Add a few comments to help with the remaining #ifdefs.

Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
arch/arm/dts/rockchip-u-boot.dtsi