virt_to_phys only works for kmalloc

This commit is contained in:
Ciro Santilli
2017-07-16 12:49:09 +01:00
parent 2eca9280e1
commit 0677dbd4b5
3 changed files with 32 additions and 15 deletions

View File

@@ -54,7 +54,11 @@ BR2_PACKAGE_HOST_DTC=y
#
# xp/4 0x101e9000
#
# Uses /dev/mem:
# Uses /dev/mem.
#
# Upstream: http://free-electrons.com/pub/mirror/devmem2.c
#
# See also:
#
# - https://superuser.com/questions/71389/what-is-dev-mem/1214662#1214662
# - https://unix.stackexchange.com/questions/4948/shell-command-to-read-device-registers