arm/fdt: Add functions to get device bases by name + alias
* Move more code into fdt_support * We now can query FDT registers based on name or alias * Return addr_t where it makes sense * Copyright change ok'ed by mmu_man
This commit is contained in:
@@ -13,9 +13,10 @@
|
||||
|
||||
|
||||
void dump_fdt(const void *fdt);
|
||||
status_t fdt_get_cell_count(int32 pathOffset,
|
||||
int32 &addressCells, int32 &sizeCells);
|
||||
status_t fdt_get_cell_count(int node, int32 &addressCells, int32 &sizeCells);
|
||||
|
||||
addr_t fdt_get_device_reg_byname(const char* name);
|
||||
addr_t fdt_get_device_reg_byalias(const char* alias);
|
||||
|
||||
|
||||
#endif /*__FDT_SUPPORT_H*/
|
||||
|
||||
Reference in New Issue
Block a user