drivers/wifi: Remove unnecessary data structure copy
[coreboot2.git] / src / soc / rockchip / rk3399 / decompressor.c
blob539f3bdbea8f70ddffdabf54d158fec32a774cf1
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <arch/mmu.h>
4 #include <bootblock_common.h>
5 #include <soc/mmu_operations.h>
6 #include <symbols.h>
8 void decompressor_soc_init(void)
10 mmu_init();
12 /* Set 0x0 to max sdram(4GiB) supported by RK3399 as device memory.
13 * We want to configure mmio space(start at 0xf8000000) to DEV_MEM,
14 * some boards may use 2GB sdram in future(who knows).
16 mmu_config_range((void *)0, (uintptr_t)4 * GiB, DEV_MEM);
18 mmu_config_range(_sram, REGION_SIZE(sram), SECURE_MEM);
20 mmu_enable();