]> git.sur5r.net Git - u-boot/blobdiff - drivers/misc/cros_ec_sandbox.c
nios2: trim CONFIG_SYS_MEMTEST_END
[u-boot] / drivers / misc / cros_ec_sandbox.c
index fa7d669ca7a10c00c7c8d13eb8c09bc21eea8745..7509612fb8370d62482636deb86e82b22eb47e56 100644 (file)
@@ -459,6 +459,8 @@ static int process_cmd(struct ec_state *ec,
        case EC_CMD_MKBP_STATE:
                len = cros_ec_keyscan(ec, resp_data);
                break;
+       case EC_CMD_ENTERING_MODE:
+               break;
        default:
                printf("   ** Unknown EC command %#02x\n", req_hdr->command);
                return -1;
@@ -557,12 +559,12 @@ struct dm_cros_ec_ops cros_ec_ops = {
 };
 
 static const struct udevice_id cros_ec_ids[] = {
-       { .compatible = "google,cros-ec" },
+       { .compatible = "google,cros-ec-sandbox" },
        { }
 };
 
 U_BOOT_DRIVER(cros_ec_sandbox) = {
-       .name           = "cros_ec",
+       .name           = "cros_ec_sandbox",
        .id             = UCLASS_CROS_EC,
        .of_match       = cros_ec_ids,
        .probe          = cros_ec_probe,