Skip to content

Commit 068ba63

Browse files
mingzhangqunigorpecovnik
authored andcommitted
rockchip64: rename hook to board_uboot_spi_image_after_build
Per rpardini's review: the old name board_uboot_spi_image_postprocess implied the hook postprocesses the SPI image itself. It does not — rkspi_loader.img is already built when the hook fires; the hook only lets the board ship extra files (e.g. spl_loader_maskrom.bin) in the u-boot deb. Rename to board_uboot_spi_image_after_build to reflect timing, matching the board_uboot_spl_blobs_postprocess naming rpardini approved. The Seeed extension implementation is renamed in the same commit on Seeed-Studio/seeed_armbian_extension (b4fb0ce8).
1 parent e7e546e commit 068ba63

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

config/sources/families/include/rockchip64_common.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,8 +324,8 @@ uboot_custom_postprocess() {
324324
# (e.g. for Maskrom recovery). Invoked after both rkspi_loader.img
325325
# build paths so the hook contract is consistent regardless of
326326
# BOOT_SPI_RKSPI_LOADER.
327-
declare -F board_uboot_spi_image_postprocess >/dev/null && \
328-
board_uboot_spi_image_postprocess
327+
declare -F board_uboot_spi_image_after_build >/dev/null && \
328+
board_uboot_spi_image_after_build
329329
fi
330330
}
331331

0 commit comments

Comments
 (0)