[U-Boot] [PATCH 2/4 v3] drivers: pci: add map_bar support for Enhanced Allocation
Simon Glass
sjg at chromium.org
Fri Jun 28 13:55:08 UTC 2019
On Fri, 7 Jun 2019 at 02:24, 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>
> Reviewed-by: Bin Meng <bmeng.cn 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
> Changes in v3:
> - none
>
> drivers/pci/pci-uclass.c | 46 ++++++++++++++++++++++++++++++++++++++++
> include/pci.h | 13 ++++++++++++
> 2 files changed, 59 insertions(+)
Applied to u-boot-dm/next, thanks!
More information about the U-Boot
mailing list