aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini2024-05-14 07:45:14 -0600
committerTom Rini2024-05-14 07:45:14 -0600
commitd456f2fc54ebfa4215b310594b85b34d127c3b14 (patch)
tree200d60bd254f65ee576256b598ab737a54d1bf70
parentc8ffd1356d42223cbb8c86280a083cc3c93e6426 (diff)
parent3ceaa825869bd43e9a2ec00a90589cc84885bd40 (diff)
Merge branch 'qcom-main' of https://source.denx.de/u-boot/custodians/u-boot-snapdragon
This [pull request] for master fixes framebuffer video on almost all Qualcomm platforms where the framebuffer is initialised by the first stage bootloader.
-rw-r--r--arch/arm/mach-snapdragon/board.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/arch/arm/mach-snapdragon/board.c b/arch/arm/mach-snapdragon/board.c
index 3d5994c8788..b439a19ec7e 100644
--- a/arch/arm/mach-snapdragon/board.c
+++ b/arch/arm/mach-snapdragon/board.c
@@ -467,10 +467,12 @@ void enable_caches(void)
gd->arch.tlb_addr = tlb_addr;
gd->arch.tlb_size = tlb_size;
- carveout_start = get_timer(0);
- /* Takes ~20-50ms on SDM845 */
- carve_out_reserved_memory();
- debug("carveout time: %lums\n", get_timer(carveout_start));
-
+ /* We do the carveouts only for QCS404, for now. */
+ if (fdt_node_check_compatible(gd->fdt_blob, 0, "qcom,qcs404") == 0) {
+ carveout_start = get_timer(0);
+ /* Takes ~20-50ms on SDM845 */
+ carve_out_reserved_memory();
+ debug("carveout time: %lums\n", get_timer(carveout_start));
+ }
dcache_enable();
}