1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright 2020 Arm Limited
4 * Usama Arif <usama.arif@arm.com>
9 #include <dm/platform_data/serial_pl01x.h>
10 #include <asm/armv8/mmu.h>
12 static const struct pl01x_serial_platdata serial_platdata = {
15 .clock = CONFIG_PL011_CLOCK,
18 U_BOOT_DEVICE(total_compute_serials) = {
19 .name = "serial_pl01x",
20 .platdata = &serial_platdata,
23 static struct mm_region total_compute_mem_map[] = {
28 .attrs = PTE_BLOCK_MEMTYPE(MT_DEVICE_NGNRNE) |
30 PTE_BLOCK_PXN | PTE_BLOCK_UXN
34 .size = 0xff80000000UL,
35 .attrs = PTE_BLOCK_MEMTYPE(MT_NORMAL) |
43 struct mm_region *mem_map = total_compute_mem_map;
52 gd->ram_size = PHYS_SDRAM_1_SIZE;
56 int dram_init_banksize(void)
58 gd->bd->bi_dram[0].start = PHYS_SDRAM_1;
59 gd->bd->bi_dram[0].size = PHYS_SDRAM_1_SIZE;
64 /* Nothing to be done here as handled by PSCI interface */
65 void reset_cpu(ulong addr)