[U-Boot] [PATCH 2/4 v2] drivers: pci: add map_bar support for Enhanced Allocation
Bin Meng
bmeng.cn at gmail.com
Wed Jun 5 10:05:45 UTC 2019
On Tue, Jun 4, 2019 at 8:46 PM Alex Marginean <alexm.osslist at gmail.com> wrote:
>
> Makes dm_pci_map_bar API available for integrated PCI devices that
> support Enhanced Allocation instead of the original PCI BAR mechanism.
>
> Signed-off-by: Alex Marginean <alexm.osslist at gmail.com>
> ---
>
> Changes in v2:
> - fixed parsing for BAR1+
> - fixed an issue with EA entry size
> - don't look up EA capability structure twice
> - use phys_addr_t for EA addresses
> - use kernel MACROS for EA registers
>
> drivers/pci/pci-uclass.c | 46 ++++++++++++++++++++++++++++++++++++++++
> include/pci.h | 13 ++++++++++++
> 2 files changed, 59 insertions(+)
>
Reviewed-by: Bin Meng <bmeng.cn at gmail.com>
More information about the U-Boot
mailing list