diff options
| author | Andreas Dannenberg <[email protected]> | 2025-07-31 13:29:46 +0530 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2025-08-20 11:06:19 -0600 |
| commit | 3bab8f17fb17c59f83ef409eb14b3aec92cd3f9b (patch) | |
| tree | 3d4bae17858d2f4701b794722ac42d1aad183d97 | |
| parent | 6fc2a6a97171e0d4ecb8cef9385fb1a0a0a14611 (diff) | |
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 <[email protected]>
Signed-off-by: Andreas Dannenberg <[email protected]>
Signed-off-by: Chintan Vankar <[email protected]>
| -rw-r--r-- | board/ti/am62px/evm.c | 8 |
1 files changed, 8 insertions, 0 deletions
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 <efi_loader.h> #include <asm/arch/hardware.h> #include <asm/io.h> +#include <cpu_func.h> #include <dm/uclass.h> #include <env.h> #include <fdt_support.h> @@ -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) { |
