From: Andreas Dannenberg Date: Thu, 31 Jul 2025 07:59:46 +0000 (+0530) Subject: board: ti: am62px: evm: Enable cache for AM62p X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3bab8f17fb17c59f83ef409eb14b3aec92cd3f9b;p=thirdparty%2Fu-boot.git board: ti: am62px: evm: Enable cache for AM62p Enable cache for AM62p to optimize performance of CPU to access data from memory. Reviewed-by: Alexander Sverdlin Signed-off-by: Andreas Dannenberg Signed-off-by: Chintan Vankar --- diff --git a/board/ti/am62px/evm.c b/board/ti/am62px/evm.c index 2e85363cf5f..c06e3878d67 100644 --- a/board/ti/am62px/evm.c +++ b/board/ti/am62px/evm.c @@ -9,6 +9,7 @@ #include #include #include +#include #include #include #include @@ -41,6 +42,13 @@ struct efi_capsule_update_info update_info = { .images = fw_images, }; +#if IS_ENABLED(CONFIG_SPL_BUILD) +void spl_board_init(void) +{ + enable_caches(); +} +#endif + #if defined(CONFIG_XPL_BUILD) void spl_perform_fixups(struct spl_image_info *spl_image) {