Merge branch 'master' of git://git.denx.de/u-boot-spi
This commit is contained in:
@@ -466,6 +466,19 @@ fdt_addr_t dev_get_addr(struct udevice *dev);
|
||||
*/
|
||||
void *dev_get_addr_ptr(struct udevice *dev);
|
||||
|
||||
/**
|
||||
* dev_map_physmem() - Read device address from reg property of the
|
||||
* device node and map the address into CPU address
|
||||
* space.
|
||||
*
|
||||
* @dev: Pointer to device
|
||||
* @size: size of the memory to map
|
||||
*
|
||||
* @return mapped address, or NULL if the device does not have reg
|
||||
* property.
|
||||
*/
|
||||
void *dev_map_physmem(struct udevice *dev, unsigned long size);
|
||||
|
||||
/**
|
||||
* dev_get_addr_index() - Get the indexed reg property of a device
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user