crc32: rename test crc32->crc to allow for crc8
Instead of creating a new test for crc8, just make the existing crc32 test more generic. BRANCH=none BUG=none TEST=none Signed-off-by: Jett Rink <jettrink@chromium.org> Change-Id: Ie630d4991d4e2c7dc441842c39d63fc0281ac809 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2532690 Reviewed-by: Tom Hughes <tomhughes@chromium.org> Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>
This commit is contained in:
parent
fb5b9b362b
commit
9263a4f135
|
@ -23,7 +23,7 @@ endif
|
|||
test-list-y=\
|
||||
aes \
|
||||
compile_time_macros \
|
||||
crc32 \
|
||||
crc \
|
||||
flash_physical \
|
||||
flash_write_protect \
|
||||
fpsensor \
|
||||
|
|
|
@ -17,7 +17,7 @@ board-y=board.o fpsensor_detect.o
|
|||
test-list-y=\
|
||||
aes \
|
||||
compile_time_macros \
|
||||
crc32 \
|
||||
crc \
|
||||
flash_physical \
|
||||
flash_write_protect \
|
||||
fpsensor \
|
||||
|
|
|
@ -13,7 +13,7 @@ board-y+=fpsensor_detect.o
|
|||
test-list-y=\
|
||||
aes \
|
||||
compile_time_macros \
|
||||
crc32 \
|
||||
crc \
|
||||
fpsensor \
|
||||
mutex \
|
||||
pingpong \
|
||||
|
|
|
@ -12,7 +12,7 @@ board-y=board.o
|
|||
test-list-y=\
|
||||
aes \
|
||||
compile_time_macros \
|
||||
crc32 \
|
||||
crc \
|
||||
flash_physical \
|
||||
flash_write_protect \
|
||||
mpu \
|
||||
|
|
|
@ -12,7 +12,7 @@ board-y=board.o
|
|||
test-list-y=\
|
||||
aes \
|
||||
compile_time_macros \
|
||||
crc32 \
|
||||
crc \
|
||||
flash_physical \
|
||||
flash_write_protect \
|
||||
mpu \
|
||||
|
|
|
@ -26,7 +26,7 @@ test-list-host += charge_manager_drp_charging
|
|||
test-list-host += charge_ramp
|
||||
test-list-host += compile_time_macros
|
||||
test-list-host += console_edit
|
||||
test-list-host += crc32
|
||||
test-list-host += crc
|
||||
test-list-host += entropy
|
||||
test-list-host += extpwr_gpio
|
||||
test-list-host += fan
|
||||
|
@ -135,7 +135,7 @@ charge_manager_drp_charging-y=charge_manager.o
|
|||
charge_ramp-y+=charge_ramp.o
|
||||
compile_time_macros-y=compile_time_macros.o
|
||||
console_edit-y=console_edit.o
|
||||
crc32-y=crc32.o
|
||||
crc-y=crc.o
|
||||
entropy-y=entropy.o
|
||||
extpwr_gpio-y=extpwr_gpio.o
|
||||
fan-y=fan.o
|
||||
|
|
|
@ -105,8 +105,8 @@ class AllTests:
|
|||
tests = {
|
||||
'aes':
|
||||
TestConfig(name='aes'),
|
||||
'crc32':
|
||||
TestConfig(name='crc32'),
|
||||
'crc':
|
||||
TestConfig(name='crc'),
|
||||
'flash_physical':
|
||||
TestConfig(name='flash_physical', image_to_use=ImageType.RO,
|
||||
toggle_power=True),
|
||||
|
|
|
@ -219,7 +219,7 @@ enum sensor_id {
|
|||
|
||||
#endif
|
||||
|
||||
#ifdef TEST_CRC32
|
||||
#ifdef TEST_CRC
|
||||
#define CONFIG_SW_CRC
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue