summaryrefslogtreecommitdiffstats
path: root/include/mpc8xx.h
diff options
context:
space:
mode:
authorVabhav Sharma <vabhav.sharma@nxp.com>2020-12-09 10:42:03 +0530
committerTom Rini <trini@konsulko.com>2021-01-16 14:49:09 -0500
commita59153dfebb065663fef64827e73aa771c683960 (patch)
tree9f4334fb344de2b086001ecdbebdd054d4008a8d /include/mpc8xx.h
parent449efce69a7b7aa5d399d750a5ed12273d0ca851 (diff)
downloadu-boot-a59153dfebb065663fef64827e73aa771c683960.tar.gz
u-boot-a59153dfebb065663fef64827e73aa771c683960.tar.xz
u-boot-a59153dfebb065663fef64827e73aa771c683960.zip
dm: core: add function uclass_probe_all() to probe all devices
Support a common method to probe all devices associated with uclass. This includes data structures and code for finding the first device and looping for remaining devices associated with uclasses (groups of devices with the same purpose, e.g. all SERIAL ports will be in the same uclass). An example is SBSA compliant PL011 UART IP, where firmware does the serial port initialization and prepare uart device to let the kernel use it for sending and reveiving the characters.SERIAL uclass will use this function to initialize PL011 UART ports. The feature is enabled with CONFIG_DM. Signed-off-by: Vabhav Sharma <vabhav.sharma@nxp.com> Reviewed-by: Stefan Roese <sr@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Sean Anderson <seanga2@gmail.com>
Diffstat (limited to 'include/mpc8xx.h')
0 files changed, 0 insertions, 0 deletions