[PATCH u-boot 2/3] pci: mpc85xx: Allow 8/16-bit access to PCI config space

Heiko Schocher hs at denx.de
Mon Apr 17 07:13:32 CEST 2023


Hello Pali,

On 13.04.23 22:41, Pali Rohár wrote:
> This Freescale mpc85xx PCI controller should support 8-bit and 16-bit read
> and write access to PCI config space as described in more Freescale
> reference manuals.
> 
> This change fixes issue that 8-bit and 16-bit write to PCI config space
> caused to clear adjacent bits of 32-bit PCI register.
> 
> Signed-off-by: Pali Rohár <pali at kernel.org>
> ---
>  drivers/pci/pci_mpc85xx.c | 26 ++++++++++++++++++++++++--
>  1 file changed, 24 insertions(+), 2 deletions(-)

Thanks!

Reviewed-by: Heiko Schocher <hs at denx.de>
Tested-by: Heiko Schocher <hs at denx.de>

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Erika Unter
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list