diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2023-03-02 09:12:22 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-17 15:44:01 -0400 |
commit | 8311ac5fe0831ae26ffb68fab6b927b18d7036d2 (patch) | |
tree | c80868ec8479684f271e142c8e518cff5c275998 /cmd/Makefile | |
parent | fca7db5b801ff4e3d67e0d40c7302cf7cf68b478 (diff) | |
download | u-boot-8311ac5fe0831ae26ffb68fab6b927b18d7036d2.zip u-boot-8311ac5fe0831ae26ffb68fab6b927b18d7036d2.tar.gz u-boot-8311ac5fe0831ae26ffb68fab6b927b18d7036d2.tar.bz2 |
cmd: introduce 'write' command
It's almost no extra code to hook up a buddy to the 'read' command. In
fact, since the command is passed its own 'struct cmd_tbl', we can use
the exact same callback, and let it figure out for itself whether it
was invoked as "read" or "write".
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>
Diffstat (limited to 'cmd/Makefile')
-rw-r--r-- | cmd/Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/Makefile b/cmd/Makefile index 2d8bb4f..7198029 100644 --- a/cmd/Makefile +++ b/cmd/Makefile @@ -140,6 +140,7 @@ obj-$(CONFIG_CMD_PXE) += pxe.o obj-$(CONFIG_CMD_WOL) += wol.o obj-$(CONFIG_CMD_QFW) += qfw.o obj-$(CONFIG_CMD_READ) += read.o +obj-$(CONFIG_CMD_WRITE) += read.o obj-$(CONFIG_CMD_REGINFO) += reginfo.o obj-$(CONFIG_CMD_REISER) += reiser.o obj-$(CONFIG_CMD_REMOTEPROC) += remoteproc.o |