cmd: Add a 'misc' command to access miscellaneous devices
PATCH 1/1 cmd: Add a 'misc' command to access miscellaneous devices
From: Bin Meng <[email protected]>
Enable the command "misc" for accessing miscellaneous devices with a MISC uclass driver. The command provides listing all MISC devices as well as read and write functionalities via their drivers.
---
This patch depends on http://patchwork.ozlabs.org/project/uboot/list/?series=207559
cmd/Kconfig | 8 ++++ cmd/Makefile | 1 + cmd/misc.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 143 insertions(+) create mode 100644 cmd/misc.c
cmd/Kconfig +8 -0
@@ -1025,6 +1025,14 @@ config CMD_LSBLK Print list of available block device drivers, and for each, the list of known block devices. +config CMD_MISC + bool "misc" + depends on MISC + help + Enable the command "misc" for accessing miscellaneous devices with + a MISC uclass driver. The command provides listing all MISC devices + as well as read and write functionalities via their drivers. + config CMD_MMC bool "mmc" help
cmd/Makefile +1 -0
@@ -94,6 +94,7 @@ obj-$(CONFIG_CMD_MEMORY) += mem.o obj-$(CONFIG_CMD_IO) += io.o obj-$(CONFIG_CMD_MFSL) += mfsl.o obj-$(CONFIG_CMD_MII) += mii.o +obj-$(CONFIG_CMD_MISC) += misc.o obj-$(CONFIG_CMD_MDIO) += mdio.o obj-$(CONFIG_CMD_SLEEP) += sleep.o obj-$(CONFIG_CMD_MMC) += mmc.o
cmd/misc.c new file +134 -0
134 lines not on this page · raw message
Signature · 1 line
2.7.4
PATCH 1/1 cmd: Add a 'misc' command to access miscellaneous devices
Quoted 8 lines · Bin Meng
From: Bin Meng <[email protected]>
Enable the command "misc" for accessing miscellaneous devices with a MISC uclass driver. The command provides listing all MISC devices as well as read and write functionalities via their drivers.
Signed-off-by Bin Meng <[email protected]>
Quoted 9 lines
---
This patch depends on http://patchwork.ozlabs.org/project/uboot/list/?series=207559cmd/Kconfig | 8 ++++ cmd/Makefile | 1 + cmd/misc.c | 134 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 143 insertions(+) create mode 100644 cmd/misc.c
ping?
PATCH 1/1 cmd: Add a 'misc' command to access miscellaneous devices
In reply to Bin MengQuoted 7 lines · Bin Meng
From: Bin Meng <[email protected]>
Enable the command "misc" for accessing miscellaneous devices with a MISC uclass driver. The command provides listing all MISC devices as well as read and write functionalities via their drivers.
Signed-off-by Bin Meng <[email protected]>
Applied to u-boot/master, thanks!
Signature · 8 lines
Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 659 bytes Desc: not available URL: <https://lists.denx.de/pipermail/u-boot/attachments/20201024/98d9aca0/attachment.sig>