diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-09-30 02:48:40 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2016-09-30 02:48:40 +0000 |
commit | 0ca922cad9c6a0d171f82c2cb77bc8fba545e181 (patch) | |
tree | 6d93065a77005a72d0d6f5a49e542a66f4d7a6ea /sys/arm/nvidia/as3722.c | |
parent | 4e6b9efc861e2ec317392069296a1d89979d5a5c (diff) | |
download | src-0ca922cad9c6a0d171f82c2cb77bc8fba545e181.tar.gz src-0ca922cad9c6a0d171f82c2cb77bc8fba545e181.zip |
Use the cell-index property as the unit number if available.
Summary:
NXP/Freescale, among others, includes an optional cell-index property
on nodes to denote the SoC block number of the node. This can be useful if, for
example, a node is disabled or nonexistent in the fdt, or the blocks are not
organized in address-sorted order. For instance, on the P1022, DMA2 is located
at CCSR offset 0xC000, while DMA1 is located at 0x21000.
Reviewed By: jmcneill
Differential Revision: https://reviews.freebsd.org/D8054
Notes
Notes:
svn path=/head/; revision=306473
Diffstat (limited to 'sys/arm/nvidia/as3722.c')
0 files changed, 0 insertions, 0 deletions