Lines Matching +full:spi +full:- +full:flash
1 # SPDX-License-Identifier: GPL-2.0
12 which SPI Flash areas are available for testing. Without this, this test will
16 # A list of sections of Flash memory to be tested.
19 # Where in SPI Flash should the test operate.
26 # If set as a number, specifies the speed of the SPI Flash.
32 # If missing, the SPI Flash page size is used as a default (based on
36 # If present, specifies if the test can write to Flash offset
40 # If present, specifies the expected CRC32 value of the flash area.
48 """Check global state of the SPI Flash before running any test.
51 u_boot_console: A U-Boot console connection.
52 env__sf_config: The single SPI Flash device configuration on which to
56 sf_params: a dictionary of SPI Flash parameters.
73 assert 'SF: Detected' in output, 'No Flash device available'
76 assert m, 'SPI Flash page size not recognized'
80 assert m, 'SPI Flash erase size not recognized'
85 assert m, 'SPI Flash total size not recognized'
106 SPI Flash memory.
109 u_boot_console: A U-Boot console connection.
110 env__sf_config: The single SPI Flash device configuration on which to
112 sf_params: SPI Flash parameters.
115 CRC32 value of SPI Flash section
141 """Helper function used to update a section of SPI Flash memory.
144 u_boot_console: A U-Boot console connection.
145 env__sf_config: The single SPI Flash device configuration on which to
149 CRC32 value of SPI Flash section
191 pytest.skip('Flash config is tagged as not writeable')
214 pytest.skip('Flash config is tagged as not writeable')