]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: renesas: Make map address and mask power of two on Gen3
authorMarek Vasut <marek.vasut+renesas@gmail.com>
Sun, 24 Jan 2021 17:37:11 +0000 (18:37 +0100)
committerMarek Vasut <marek.vasut+renesas@gmail.com>
Sat, 20 Feb 2021 21:38:28 +0000 (22:38 +0100)
commitb169ef17984ff73bee3b4e94844699893971bb8a
tree912f4b78546e03aa2e59fa375f96a1f589520877
parentb9616d8f903c8f4c7eac78adc7a8ff41c3099be3
pci: renesas: Make map address and mask power of two on Gen3

Both the map address and mask must be power of two per documentation,
adjust the code accordingly.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Bin Meng <bmeng.cn@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
drivers/pci/pci-rcar-gen3.c