aboutsummaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorOvidiu Panait <ovidiu.panait@windriver.com>2020-12-14 19:06:46 +0200
committerSimon Glass <sjg@chromium.org>2020-12-22 20:39:25 -0700
commit1f6d618bb16e10bdba5cb08733e228367662b12c (patch)
tree1959b126f3d48049cdb615fa47a2c4c273db8c8e /arch
parent3286d223fd715a79accfc66039f3f6f52e9a8896 (diff)
downloadu-boot-1f6d618bb16e10bdba5cb08733e228367662b12c.zip
u-boot-1f6d618bb16e10bdba5cb08733e228367662b12c.tar.gz
u-boot-1f6d618bb16e10bdba5cb08733e228367662b12c.tar.bz2
sandbox: spi: Drop unused sandbox_spi_parse_spec function
Commit 1289e96797bf ("sandbox: spi: Drop command-line SPI option") dropped support for specifying SPI devices on the command line, removing the only user of sandbox_spi_parse_spec(). Remove the function too. Fixes: 1289e96797bf ("sandbox: spi: Drop command-line SPI option") Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/sandbox/include/asm/spi.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sandbox/include/asm/spi.h b/arch/sandbox/include/asm/spi.h
index 98e1826..e8268bb 100644
--- a/arch/sandbox/include/asm/spi.h
+++ b/arch/sandbox/include/asm/spi.h
@@ -32,14 +32,4 @@ struct sandbox_spi_emu_ops {
int (*xfer)(void *priv, const u8 *rx, u8 *tx, uint bytes);
};
-/*
- * Extract the bus/cs from the spi spec and return the start of the spi
- * client spec. If the bus/cs are invalid for the current config, then
- * it returns NULL.
- *
- * Example: arg="0:1:foo" will set bus to 0, cs to 1, and return "foo"
- */
-const char *sandbox_spi_parse_spec(const char *arg, unsigned long *bus,
- unsigned long *cs);
-
#endif