diff options
Diffstat (limited to 'chip/mt_scp/rv32i_common/gpio.c')
-rw-r--r-- | chip/mt_scp/rv32i_common/gpio.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/chip/mt_scp/rv32i_common/gpio.c b/chip/mt_scp/rv32i_common/gpio.c new file mode 100644 index 0000000000..0ca3e3ac25 --- /dev/null +++ b/chip/mt_scp/rv32i_common/gpio.c @@ -0,0 +1,21 @@ +/* Copyright 2020 The Chromium OS Authors. All rights reserved. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ + +/* GPIO module */ + +#include "gpio.h" + +void gpio_pre_init(void) +{ +} + +test_mockable int gpio_get_level(enum gpio_signal signal) +{ + return 0; +} + +void gpio_set_level(enum gpio_signal signal, int value) +{ +} |