diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-09-23 16:38:27 -0500 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-09-26 23:53:12 +0200 |
commit | 91fa9d7696ef88e580caa1f762e72bd9e3e18a18 (patch) | |
tree | 6b671fd3d13743754ec0319f0d1dabc36cf7ba9f /src/ec | |
parent | 59cf5028a85b2696ce2dc12b857c886cb05e9671 (diff) | |
download | coreboot-91fa9d7696ef88e580caa1f762e72bd9e3e18a18.tar.xz |
mainboards,ec: provide common declaration for mainboard_ec_init()
Add a header file to provide common declarations that the
mainboards can use regarding EC init.
BUG=chrome-os-partner:56677
Change-Id: Iaa0b37eff4de644e969a18364713b90b7f27fa1c
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/16734
Reviewed-by: Duncan Laurie <dlaurie@chromium.org>
Reviewed-by: Matt DeVillier <matt.devillier@gmail.com>
Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/ec')
-rw-r--r-- | src/ec/ec.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/ec/ec.h b/src/ec/ec.h new file mode 100644 index 0000000000..ea48f5b382 --- /dev/null +++ b/src/ec/ec.h @@ -0,0 +1,24 @@ +/* + * This file is part of the coreboot project. + * + * Copyright 2016 Google Inc. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; version 2 of the License. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + */ + +#ifndef EC_EC_H +#define EC_EC_H + +#ifndef __ACPI__ +/* Entry point doing any mainboard specific EC initialization. */ +void mainboard_ec_init(void); +#endif + +#endif |