]> git.proxmox.com Git - mirror_qemu.git/commit
nvram: add nrf51_soc flash read method
authorPrasad J Pandit <pjp@fedoraproject.org>
Tue, 11 Aug 2020 11:41:29 +0000 (17:11 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 8 Feb 2021 14:15:32 +0000 (15:15 +0100)
commitb5bf601f364e1a14ca4c3276f88dfec024acf613
tree995a3fb10ea264b6b93f0cf6ef87afe295a13de0
parentf867cebaedbc9c43189f102e4cdfdff05e88df7f
nvram: add nrf51_soc flash read method

Add nrf51_soc mmio read method to avoid NULL pointer dereference
issue.

Reported-by: Lei Sun <slei.casper@gmail.com>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Prasad J Pandit <pjp@fedoraproject.org>
Reviewed-by: Li Qiang <liq3ea@gmail.com>
Message-Id: <20200811114133.672647-6-ppandit@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
hw/nvram/nrf51_nvm.c