Blame view
arch/mips/include/asm/prom.h
782 Bytes
f2ffa5ab7
|
1 2 3 4 5 6 7 8 9 10 |
/* * arch/mips/include/asm/prom.h * * Copyright (C) 2010 Cisco Systems Inc. <dediao@cisco.com> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. * */ |
dd5d1380f
|
11 12 |
#ifndef __ASM_PROM_H #define __ASM_PROM_H |
f2ffa5ab7
|
13 14 |
#ifdef CONFIG_OF |
f2ffa5ab7
|
15 |
#include <asm/bootinfo.h> |
f2ffa5ab7
|
16 17 18 19 20 |
extern int early_init_dt_scan_memory_arch(unsigned long node, const char *uname, int depth, void *data); extern int reserve_mem_mach(unsigned long addr, unsigned long size); extern void free_mem_mach(unsigned long addr, unsigned long size); |
4c60071c1
|
21 |
extern void device_tree_init(void); |
f2ffa5ab7
|
22 |
#else /* CONFIG_OF */ |
4c60071c1
|
23 |
static inline void device_tree_init(void) { } |
f2ffa5ab7
|
24 |
#endif /* CONFIG_OF */ |
dd5d1380f
|
25 |
#endif /* __ASM_PROM_H */ |