]> git.dujemihanovic.xyz Git - u-boot.git/commit
pci: Add support for p2sb uclass
authorSimon Glass <sjg@chromium.org>
Sat, 7 Dec 2019 04:41:55 +0000 (21:41 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 15 Dec 2019 03:44:11 +0000 (11:44 +0800)
commit5bee27aa41eeafb71f1d467f81f7fae6ee8cfa6d
tree5db81fff6d52cc7ee4f9f707eaaa82d90e930dfb
parent3b65ee34b908ce0c495c25987f5feb37ac163eab
pci: Add support for p2sb uclass

The Primary-to-Sideband bus (P2SB) is used to access various peripherals
through memory-mapped I/O in a large chunk of PCI space. The space is
segmented into different channels and peripherals are accessed by
device-specific means within those channels. Devices should be added in
the device tree as subnodes of the p2sb.

This adds a uclass and enables it for sandbox.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/misc/Kconfig
drivers/misc/Makefile
drivers/misc/p2sb-uclass.c [new file with mode: 0644]
include/dm/uclass-id.h
include/p2sb.h [new file with mode: 0644]