dm: pci: Add functions to emulate 8- and 16-bit access
authorSimon Glass <sjg@chromium.org>
Fri, 20 Nov 2015 03:26:59 +0000 (20:26 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 1 Dec 2015 13:26:36 +0000 (06:26 -0700)
commit9289db6c60bc9caa285fc6459db9236d92ba94f6
tree6c97113a29067d087d2a0f0c68c57253a5756e3d
parent9526d83ac5a39bfa3dc4c07a242aa052093744b5
dm: pci: Add functions to emulate 8- and 16-bit access

Provide a few functions to support using 32-bit access to emulate 8- and
16-bit access.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Stephen Warren <swarren@nvidia.com>
Tested-by: Stephen Warren <swarren@nvidia.com>
drivers/pci/pci-uclass.c
include/pci.h