]> git.dujemihanovic.xyz Git - u-boot.git/commit
x86: mmc: Fix mapping of BAR memory
authorBernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Thu, 15 Feb 2018 08:09:43 +0000 (09:09 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Fri, 30 Mar 2018 08:05:08 +0000 (16:05 +0800)
commit0851f344d7b3ef73e2520d4b6f5ad1e3bca8dc44
tree9a3dfafe4f21de1229d7cb0b983bfb14be38655d
parentee1109bb45be4aaf057a44a70c9bdf2d7ff5bbc7
x86: mmc: Fix mapping of BAR memory

Use dm_pci_map_bar function for BAR mapping. This has the advantage
of clearing BAR flags and and only accepting mapped memory.

Signed-off-by: Bernhard Messerklinger <bernhard.messerklinger@br-automation.com>
Reviewed-by: Hannes Schmelzer <hannes.schmelzer@br-automation.com>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/mmc/pci_mmc.c