| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-only */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * arch/arm/include/asm/prom.h |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com> |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License version 2 as |
|---|
| 8 | | - * published by the Free Software Foundation. |
|---|
| 9 | | - * |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | #ifndef __ASMARM_PROM_H |
|---|
| 12 | 8 | #define __ASMARM_PROM_H |
|---|
| 13 | 9 | |
|---|
| 14 | 10 | #ifdef CONFIG_OF |
|---|
| 15 | 11 | |
|---|
| 16 | | -extern const struct machine_desc *setup_machine_fdt(unsigned int dt_phys); |
|---|
| 12 | +extern const struct machine_desc *setup_machine_fdt(void *dt_virt); |
|---|
| 17 | 13 | extern void __init arm_dt_init_cpu_maps(void); |
|---|
| 18 | 14 | |
|---|
| 19 | 15 | #else /* CONFIG_OF */ |
|---|
| 20 | 16 | |
|---|
| 21 | | -static inline const struct machine_desc *setup_machine_fdt(unsigned int dt_phys) |
|---|
| 17 | +static inline const struct machine_desc *setup_machine_fdt(void *dt_virt) |
|---|
| 22 | 18 | { |
|---|
| 23 | 19 | return NULL; |
|---|
| 24 | 20 | } |
|---|