test: dm: spi: Fix sandbox dm_test_spi_find()

Per sandbox_cs_info(), sandbox spi controller only supports chip
select 0. Current test case tries to locate devices on chip select
1, and any call to spi_get_bus_and_cs() or spi_cs_info() with cs
number 1 should not return 0.

This updates the test case to handle it correctly.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>

Series-changes: 2
- new patch to fix sandbox dm_test_spi_find()
31 jobs for spi-working in 136 minutes and 56 seconds (queued for 4 seconds)
Status Job ID Name Coverage
  Testsuites
passed #10540
all
Build tools-only

00:00:27

passed #10539
all
Check for configs without MAINTAINERS entry

00:00:25

passed #10541
all
Run binman, buildman, dtoc and patman testsuites

00:01:10

passed #10536
all
cppcheck

00:08:20

passed #10537
all
grep TODO/FIXME/HACK

00:00:30

passed #10538
all
sloccount

00:00:48

 
  Test.Py
passed #10544
all
evb-ast2500 test.py

00:00:55

passed #10548
all
integratorcp_cm926ejs test.py

00:00:49

passed #10555
all
qemu-ppce500 test.py

00:00:51

passed #10556
all
qemu-riscv64 test.py

00:01:11

passed #10660
all
qemu-x86 test.py

00:01:42

passed #10558
all
qemu-x86_64 test.py

00:01:27

passed #10549
all
qemu_arm test.py

00:01:20

passed #10550
all
qemu_arm64 test.py

00:01:20

passed #10551
all
qemu_mips test.py

00:00:48

passed #10553
all
qemu_mips64 test.py

00:00:48

passed #10554
all
qemu_mips64el test.py

00:00:49

passed #10552
all
qemu_mipsel test.py

00:00:48

passed #10542
all
sandbox test.py

00:02:03

passed #10545
all
sandbox_flattree test.py

00:01:05

passed #10543
all
sandbox_spl test.py

00:01:04

passed #10546
all
vexpress_ca15_tc2 test.py

00:00:52

passed #10547
all
vexpress_ca9x4 test.py

00:00:50

passed #10560
all
xilinx_versal_virt test.py

00:00:51

passed #10561
all
xtfpga test.py

00:00:48

passed #10559
all
zynq_zc702 test.py

00:00:54

failed #10557
all
qemu-x86 test.py

00:01:27

 
  World Build
passed #10562
all
build all 32bit ARM plaforms

00:53:03

passed #10563
all
build all 64bit ARM plaforms

00:19:01

passed #10564
all
build all PowerPC plaforms

00:21:20

passed #10565
all
build all other plaforms

00:10:18