diff options
Diffstat (limited to 'zephyr/drivers/cros_rtc/cros_rtc_npcx.c')
-rw-r--r-- | zephyr/drivers/cros_rtc/cros_rtc_npcx.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/zephyr/drivers/cros_rtc/cros_rtc_npcx.c b/zephyr/drivers/cros_rtc/cros_rtc_npcx.c index 3312ad899f..a248357cfe 100644 --- a/zephyr/drivers/cros_rtc/cros_rtc_npcx.c +++ b/zephyr/drivers/cros_rtc/cros_rtc_npcx.c @@ -1,23 +1,23 @@ -/* - * Copyright 2021 Google LLC - * - * SPDX-License-Identifier: Apache-2.0 +/* Copyright 2021 The ChromiumOS Authors + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. */ #define DT_DRV_COMPAT nuvoton_npcx_cros_mtc -#include <assert.h> -#include <drivers/cros_rtc.h> -#include <zephyr/drivers/gpio.h> -#include <zephyr/kernel.h> -#include <soc.h> -#include <soc/nuvoton_npcx/reg_def_cros.h> - #include "ec_tasks.h" #include "soc_miwu.h" #include "task.h" +#include <assert.h> + +#include <zephyr/drivers/gpio.h> +#include <zephyr/kernel.h> #include <zephyr/logging/log.h> + +#include <drivers/cros_rtc.h> +#include <soc.h> +#include <soc/nuvoton_npcx/reg_def_cros.h> LOG_MODULE_REGISTER(cros_rtc, LOG_LEVEL_ERR); #define NPCX_MTC_TTC_LOAD_DELAY_US 250 /* Delay after writing TTC */ |