blob: 29d8b3aa080f1db63753b0d8cc60b96f86bb8aa7 [file] [log] [blame]
Andre Przywaraffbacb02019-07-10 17:27:17 +01001/*
Javier Almansa Sobrino40f49842020-08-25 16:16:29 +01002 * Copyright (c) 2019-2020, ARM Limited and Contributors. All rights reserved.
Andre Przywaraffbacb02019-07-10 17:27:17 +01003 *
4 * SPDX-License-Identifier: BSD-3-Clause
5 */
6
7#ifndef FDT_FIXUP_H
8#define FDT_FIXUP_H
9
10int dt_add_psci_node(void *fdt);
11int dt_add_psci_cpu_enable_methods(void *fdt);
Andre Przywara83fc8392019-07-15 09:00:23 +010012int fdt_add_reserved_memory(void *dtb, const char *node_name,
13 uintptr_t base, size_t size);
Javier Almansa Sobrino40f49842020-08-25 16:16:29 +010014int fdt_add_cpus_node(void *dtb, unsigned int afflv0,
15 unsigned int afflv1, unsigned int afflv2);
Andre Przywaraffbacb02019-07-10 17:27:17 +010016
17#endif /* FDT_FIXUP_H */