]> git.proxmox.com Git - mirror_edk2.git/commit
ArmVirtPkg/FdtClientDxe: add methods to iterate over memory nodes
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 15 Sep 2016 12:33:23 +0000 (13:33 +0100)
committerArd Biesheuvel <ard.biesheuvel@linaro.org>
Thu, 15 Sep 2016 14:39:29 +0000 (15:39 +0100)
commit969d2eb3875a700a223840d7ea415e78de4f8cbe
tree706dbeca5b060473755ae3efdce38f9dc819c27c
parentcfc8d51c0cbf97b5e71cfd92dcc6c5760940214f
ArmVirtPkg/FdtClientDxe: add methods to iterate over memory nodes

Add high level methods to iterate over all 'reg' properties of all DT
nodes whose device_type properties have the value "memory". Since we are
modifying the FdtClient protocol, update the protocol and the only existing
implementation at the same time.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
ArmVirtPkg/FdtClientDxe/FdtClientDxe.c
ArmVirtPkg/Include/Protocol/FdtClient.h