arm/fdt: Initial reorg of fdt support code

* Makes FDT support code useable by everyone
  without all of the externs
* Further movement to be non-u-boot centic
  may still happen.
This commit is contained in:
Alexander von Gluck IV
2015-03-14 09:50:46 -05:00
parent cb4b4bc115
commit f121867b87
7 changed files with 80 additions and 43 deletions
@@ -0,0 +1,21 @@
/*
* Copyright 2012-2015, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors
* Alexander von Gluck IV, [email protected]
*/
#ifndef __FDT_SUPPORT_H
#define __FDT_SUPPORT_H
#include <KernelExport.h>
void dump_fdt(const void *fdt);
status_t fdt_get_cell_count(int32 pathOffset,
int32 &addressCells, int32 &sizeCells);
#endif /*__FDT_SUPPORT_H*/