package/spidev_test: bump to version in Linux 5.8

- bump to version in Linux 5.8 (depends on SPI_TX_OCTAL/SPI_RX_OCTAL
  available since Linux 5.0)

  Changelog (since 4.10):

  9006a7b3220e spi: spidev_test: add option to continuously transfer data
  35386dfd13b7 spi: spidev_test: Improve decoded text part of hex dump
  84a14ae8c44f treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178
  020bd6c48ebd spi: spidev_test: Remove break after exit statement
  1f3c36328a48 spi: spidev_test: Check input_tx and input_file first after parse options
  470a072e1220 spi: spidev_test: Use perror() only if errno is not 0
  896fa735084e spi: spidev_test: Add support for Octal mode data transfers
  9ec8ade81224 spi: spidev_test: Use %u to format unsigned numbers
  bd2077915bfe spi: tools: Make default_tx/rx and input_tx static

- update Config.in help text

- indent hashes by 2 spaces

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Peter Seiderer 2022-03-18 09:24:46 +01:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 53da16e378
commit 407c6e6299
3 changed files with 9 additions and 5 deletions

View File

@ -9,8 +9,8 @@ config BR2_PACKAGE_SPIDEV_TEST
proper operation of 'spidev_test'.
The version used is based on your toolchain headers version,
if it's older than 3.15 then 3.0 is used, otherwise 4.10
is used.
if it's older than 3.15 then 3.0 is used, up to headers 4.20
version 4.10 is used and otherwise version 5.8.
This means you won't have quad-pumped SPI support if your
toolchain is too old.

View File

@ -1,3 +1,4 @@
# Locally calculated
sha256 80471c330d8c0bf5ba6479c434a54a54bdd2dc59a703b9c76c2541ec04cfb8c3 spidev_test.c?id=v3.0
sha256 3cf76b15d9a8644f3f5cbc0387cc02a7d4a392ade39788cbc6367cce98552e2f spidev_test.c?id=v4.10
sha256 80471c330d8c0bf5ba6479c434a54a54bdd2dc59a703b9c76c2541ec04cfb8c3 spidev_test.c?id=v3.0
sha256 3cf76b15d9a8644f3f5cbc0387cc02a7d4a392ade39788cbc6367cce98552e2f spidev_test.c?id=v4.10
sha256 87329094ea3010eae9e65ad7ea2d2309e044845942414aa0ca8f1a7095b80178 spidev_test.c?id=v5.8

View File

@ -10,7 +10,10 @@
# If you need quad-pumped spi support you need to upgrade your toolchain.
# Note that the location of spidev_test.c changes from v4.5 onwards.
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y)
ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_0),y)
SPIDEV_TEST_VERSION = 5.8
SPIDEV_TEST_PATH = tools/spi
else ifeq ($(BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_15),y)
SPIDEV_TEST_VERSION = 4.10
SPIDEV_TEST_PATH = tools/spi
else