summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2015-05-22 15:42:14 -0600
committerSimon Glass <sjg@chromium.org>2015-06-04 03:34:47 -0600
commit4e389366e8a2c0f635bb7bf35a2386019518bbbd (patch)
treebba69fa8b64a440d5b243768630cfb983815942e
parent2bb02e4fe22da5d982867c26e369730ea901f999 (diff)
downloadu-boot-imx-4e389366e8a2c0f635bb7bf35a2386019518bbbd.zip
u-boot-imx-4e389366e8a2c0f635bb7bf35a2386019518bbbd.tar.gz
u-boot-imx-4e389366e8a2c0f635bb7bf35a2386019518bbbd.tar.bz2
dm: Sort the uclass IDs after the tegra/PMIC addition
Tidy up the sort order again. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Joe Hershberger <joe.hershberger@gmail.com> Acked-by: Joe Hershberger <joe.hershberger@ni.com>
-rw-r--r--include/dm/uclass-id.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/include/dm/uclass-id.h b/include/dm/uclass-id.h
index 4d737f4..c7310d7 100644
--- a/include/dm/uclass-id.h
+++ b/include/dm/uclass-id.h
@@ -39,20 +39,18 @@ enum uclass_id {
UCLASS_PCH, /* x86 platform controller hub */
UCLASS_PCI, /* PCI bus */
UCLASS_PCI_GENERIC, /* Generic PCI bus device */
+ UCLASS_PMIC, /* PMIC I/O device */
+ UCLASS_REGULATOR, /* Regulator device */
UCLASS_RTC, /* Real time clock device */
UCLASS_SERIAL, /* Serial UART */
UCLASS_SPI, /* SPI bus */
- UCLASS_SPI_GENERIC, /* Generic SPI flash target */
UCLASS_SPI_FLASH, /* SPI flash */
+ UCLASS_SPI_GENERIC, /* Generic SPI flash target */
UCLASS_THERMAL, /* Thermal sensor */
UCLASS_USB, /* USB bus */
UCLASS_USB_DEV_GENERIC, /* USB generic device */
UCLASS_USB_HUB, /* USB hub */
- /* Power Management */
- UCLASS_PMIC, /* PMIC I/O device */
- UCLASS_REGULATOR, /* REGULATOR device */
-
UCLASS_COUNT,
UCLASS_INVALID = -1,
};