On 7 July 2015 at 23:06, Bin Meng <[email protected]> wrote:
> Currently PCI expansion ROM address is assigned by a call to
> pciauto_setup_rom() outside of the pci auto config process.
> This does not work when expansion ROM is on a device behind
> PCI bridge where bridge's memory limit register was already
> programmed to a value that does not cover the newly assigned
> expansion ROM address. To fix this, we should configure the
> ROM address during the auto config process.
>
> Signed-off-by: Bin Meng <[email protected]>
> Reviewed-by: Simon Glass <[email protected]>
>
> ---
>
> Changes in v3: None
> Changes in v2:
> - Handle header type 1 ROM address programming
>
>  drivers/pci/pci_auto.c | 48 ++++++++++++++++++++++--------------------------
>  drivers/pci/pci_rom.c  |  5 -----
>  include/pci.h          |  9 ---------
>  3 files changed, 22 insertions(+), 40 deletions(-)

Tested-by: Simon Glass <[email protected]>
Acked-by: Simon Glass <[email protected]>
_______________________________________________
U-Boot mailing list
[email protected]
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to