mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2025-12-10 07:44:53 +01:00
ipq6018: Skip uboot relocation and setup CP15 barrier
Change-Id: I29ced10a3ab0f36a06bdbb642f6b73ab287e8d6d Signed-off-by: Antony Arun T <antothom@codeaurora.org>
This commit is contained in:
parent
fb5a032cfa
commit
1c7d57b963
3 changed files with 3 additions and 3 deletions
|
|
@ -48,7 +48,7 @@ save_boot_params_ret:
|
|||
msr cpsr,r0
|
||||
|
||||
/* Setup CP15 barrier */
|
||||
#if defined (CONFIG_ARCH_IPQ807x) || defined (CONFIG_ARCH_IPQ806x)
|
||||
#if defined (CONFIG_ARCH_IPQ807x) || defined (CONFIG_ARCH_IPQ806x) || defined (CONFIG_ARCH_IPQ6018)
|
||||
mrc p15, 0, r0, c1, c0, 0 @Read SCTLR to r0
|
||||
orr r0, r0, #0x20 @set the cp15 barrier enable bit
|
||||
mcr p15, 0, r0, c1, c0, 0 @write back to SCTLR
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ void mmu_set_region_dcache_behaviour(phys_addr_t start, size_t size,
|
|||
mmu_page_table_flush((u32)&page_table[start], (u32)&page_table[end]);
|
||||
}
|
||||
|
||||
#if defined(CONFIG_ARCH_IPQ40xx) || defined(CONFIG_ARCH_IPQ807x)
|
||||
#if defined(CONFIG_ARCH_IPQ40xx) || defined(CONFIG_ARCH_IPQ807x) || defined(CONFIG_ARCH_IPQ6018)
|
||||
#define UBOOT_CACHE_SETUP 0x100e
|
||||
#define GEN_CACHE_SETUP 0x101e
|
||||
|
||||
|
|
|
|||
|
|
@ -1062,7 +1062,7 @@ void board_init_f(ulong boot_flags)
|
|||
gd->flags = boot_flags;
|
||||
gd->have_console = 0;
|
||||
|
||||
#if defined(CONFIG_ARCH_IPQ807x) || defined(CONFIG_ARCH_IPQ40xx)
|
||||
#if defined(CONFIG_ARCH_IPQ807x) || defined(CONFIG_ARCH_IPQ40xx) || defined(CONFIG_ARCH_IPQ6018)
|
||||
gd->flags |= GD_FLG_SKIP_RELOC;
|
||||
#endif
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue