[U-Boot] [PATCH] x86: mmc: Fix mapping of BAR memory

2018-02-15 Thread Bernhard Messerklinger
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 --- drivers/mmc/pci_mmc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/mmc/pci_mmc.c b/driver

Re: [U-Boot] [PATCH] x86: mmc: Fix mapping of BAR memory

2018-02-15 Thread Hannes Schmelzer
> Von: Bernhard Messerklinger > An: u-boot@lists.denx.de > Kopie: hannes.schmel...@br-automation.com, Bernhard Messerklinger > , Bin Meng , > Simon Glass , Jaehoon Chung > Datum: 15.02.2018 09:09 > Betreff: [PATCH] x86: mmc: Fix mapping of BAR memory > > Use dm_pci_map_bar function for BAR ma

Re: [U-Boot] [PATCH] x86: mmc: Fix mapping of BAR memory

2018-03-18 Thread Bin Meng
On Thu, Feb 15, 2018 at 4:09 PM, Bernhard Messerklinger wrote: > 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 > > --- > > drivers/mmc/pci_mmc.c | 5 ++--- > 1 file chan

Re: [U-Boot] [PATCH] x86: mmc: Fix mapping of BAR memory

2018-03-30 Thread Bin Meng
On Mon, Mar 19, 2018 at 11:43 AM, Bin Meng wrote: > On Thu, Feb 15, 2018 at 4:09 PM, Bernhard Messerklinger > wrote: >> 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 >