Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0-only */
0002 /*
0003  *  arch/arm/include/asm/prom.h
0004  *
0005  *  Copyright (C) 2009 Canonical Ltd. <jeremy.kerr@canonical.com>
0006  */
0007 #ifndef __ASMARM_PROM_H
0008 #define __ASMARM_PROM_H
0009 
0010 #ifdef CONFIG_OF
0011 
0012 extern const struct machine_desc *setup_machine_fdt(void *dt_virt);
0013 extern void __init arm_dt_init_cpu_maps(void);
0014 
0015 #else /* CONFIG_OF */
0016 
0017 static inline const struct machine_desc *setup_machine_fdt(void *dt_virt)
0018 {
0019     return NULL;
0020 }
0021 
0022 static inline void arm_dt_init_cpu_maps(void) { }
0023 
0024 #endif /* CONFIG_OF */
0025 #endif /* ASMARM_PROM_H */