The drivers informs the user that a post config was not run after FPGA
configuration. This message is unnecessary in SPL because the
ps7_post_config function is called via spl_board_prepare_for_boot
function before jump_to_image_no_args function from board_init_r
function.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Link: https://lore.kernel.org/r/20220808145331.24723-1-stefan.herbrechtsmeier-oss@weidmueller.com
Signed-off-by: Michal Simek <michal.simek@amd.com>
if (bstype != BIT_PARTIAL)
zynq_slcr_devcfg_enable();
- puts("INFO:post config was not run, please run manually if needed\n");
+ if (!IS_ENABLED(CONFIG_SPL_BUILD))
+ puts("INFO:post config was not run, please run manually if needed\n");
return FPGA_SUCCESS;
}