9
0
Fork 0

ARM: Disable MMU feature in PBL

remap_cache currently does not work, so enabling the MMU in the
PBL currently does not make sense. Disable it for now.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
Sascha Hauer 2012-10-03 12:23:41 +02:00
parent 80e91f08e7
commit c05511d6cd
1 changed files with 5 additions and 1 deletions

View File

@ -116,7 +116,11 @@ static void mmu_disable(void)
static void barebox_uncompress(void *compressed_start, unsigned int len)
{
void (*barebox)(void);
int use_mmu = IS_ENABLED(CONFIG_MMU);
/*
* remap_cached currently does not work rendering the feature
* of enabling the MMU in the PBL useless. disable for now.
*/
int use_mmu = 0;
/* set 128 KiB at the end of the MALLOC_BASE for early malloc */
free_mem_ptr = MALLOC_BASE + MALLOC_SIZE - SZ_128K;