arm: prefer /proc/device-tree
As per Documentation/ABI/testing/sysfs-firmware-ofw, perfer /proc/device-tree over /sys/firmware/devicetree/base as this is the stable one. Signed-off-by: Cédric Bosdonnat <cbosdonnat@suse.com> Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
committed by
Brendan Le Foll
parent
06359e39cd
commit
b453f6633b
@@ -37,7 +37,7 @@
|
||||
#define PLATFORM_NAME_BANANA_PRO "Banana Pro"
|
||||
#define PLATFORM_BANANA_PRO 2
|
||||
#define MMAP_PATH "/dev/mem"
|
||||
#define DT_BASE "/sys/firmware/devicetree/base"
|
||||
#define DT_BASE "/proc/device-tree"
|
||||
|
||||
#define SUNXI_BASE (0x01C20000)
|
||||
#define SUNXI_BLOCK_SIZE (4 * 1024)
|
||||
|
||||
Reference in New Issue
Block a user