3 Commits
Author SHA1 Message Date
Enric Balletbo i Serra e4ea38f586 boards: google,kevin: Check for console_log and pdinfo in debugfs
Assert that console_log and pdinfo attributes are present in cros_ec
debugfs.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
2019-05-23 15:16:26 -07:00
Enric Balletbo i Serra 970ecfd149 boards: google,kevin: Fix missing parameters on some assert_device_present tests
The call to asset_device_present for rockchip-efuse and
rockchip-emmc-phy was missing some paramaters and always failed. Fix that
by adding the proper paramaters.

Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
2019-05-23 15:16:26 -07:00
Enric Balletbo i Serra 49bf91b600 Makefile: Match board name with compatible string and install sysfs_attr helper
There is an script that parses /proc/device-tree/compatible and if
matches with the name of the board script runs the test suite. The
Samsung Chromebook Plus reports the following compatibles:

 google,kevin-rev15 google,kevin-rev14 google,kevin-rev13
 google,kevin-rev12 google,kevin-rev11 google,kevin-rev10
 google,kevin-rev9 google,kevin-rev8 google,kevin-rev7
 google,kevin-rev6 google,kevin google,gru rockchip,rk3399

Being google,kevin the more generict this patch renames the board test
script to this name.

The patch also adds the assert_sysfs_attr_present helper script to the
Makefile install target because it is used by the google,kevin test
suite.

Fixes: 1c42025152 ("Makefile: fixes board name for google,kevin")
Fixes: c5d93c41f8 ("boards: Add Samsung Chromebook Plus test script")
Signed-off-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
2019-02-06 10:41:31 -08:00