]> git.dujemihanovic.xyz Git - u-boot.git/commit
dm: Expand the uclass for Platform Controller Hubs (PCH)
authorSimon Glass <sjg@chromium.org>
Tue, 19 Jan 2016 03:19:17 +0000 (20:19 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sun, 24 Jan 2016 04:07:17 +0000 (12:07 +0800)
commitca831f4933dc68d9ed1b6399cbda90068c520005
tree75ec489ccb306d227deddc0a6b7bfb2992dbdf4e
parent4439bc35aab0e7fc3126cf3914af09dbf85ad2ae
dm: Expand the uclass for Platform Controller Hubs (PCH)

A Platform Controller Hub is an Intel concept - it is like the peripherals
on an SoC and is often in a separate chip from the CPU. The chip is typically
found on the first PCI bus and integrates multiple devices.

We have a very simple uclass to support PCHs. Add a few operations, such as
setting up the devices on the PCH and finding the SPI controller base
address. Also move it into drivers/pch/ since we will be adding a few PCH
drivers.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
arch/x86/lib/Makefile
drivers/Makefile
drivers/pch/Makefile [new file with mode: 0644]
drivers/pch/pch-uclass.c [moved from arch/x86/lib/pch-uclass.c with 50% similarity]
include/pch.h [new file with mode: 0644]