1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-11 14:10:34 +00:00

Tidy up mips ofw_machdep.h. Don't include openfirm.h because openfirm.h

is what includes machine/ofw_machdep.h.  Don't declare OF_decode_addr();
it isn't implemented yet on mips and the declaration for it is about to
be commonized into openfirm.h.
This commit is contained in:
Ian Lepore 2015-12-20 19:09:12 +00:00
parent ec992425dc
commit f3be407b23
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292519

View File

@ -32,7 +32,6 @@
#include <sys/types.h>
#include <sys/rman.h>
#include <sys/bus.h>
#include <dev/ofw/openfirm.h>
typedef uint32_t cell_t;
struct mem_region {
@ -40,8 +39,6 @@ struct mem_region {
vm_size_t mr_size;
};
int OF_decode_addr(phandle_t, int, bus_space_tag_t *, bus_space_handle_t *);
void OF_getetheraddr(device_t dev, u_char *addr);
void OF_initial_setup(void *fdt_ptr, void *junk, int (*openfirm)(void *));