mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-10 17:41:54 +00:00
Include stdint.h from ec_commands.h.
The ec_commands.h header uses types defined in stdint.h. To make the ec_commands.h header more portable, ensure that includes what it uses. Running "make -j buildall" worked for all boards except "gru" and "hammer", which were broken before this change. BRANCH=none BUG=none TEST=make -j buildall Change-Id: I1ffe41a69b7296736616b9250c45f2749a66f22c Reviewed-on: https://chromium-review.googlesource.com/483283 Commit-Ready: Carl Hamilton <carlh@chromium.org> Tested-by: Carl Hamilton <carlh@chromium.org> Reviewed-by: Jeff Andersen <jeffandersen@google.com> Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
This commit is contained in:
committed by
chrome-bot
parent
b07cdf6bdd
commit
aa5578e64c
@@ -8,10 +8,12 @@
|
||||
#ifndef __CROS_EC_EC_COMMANDS_H
|
||||
#define __CROS_EC_EC_COMMANDS_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
/*
|
||||
* Include common.h first for CONFIG_HOSTCMD_ALIGNED, if it's defined. This
|
||||
* generates more efficient code for accessing request/response structures
|
||||
* on ARM Cortex-M if the structures are guaranteed 32-bit aligned.
|
||||
* Include common.h for CONFIG_HOSTCMD_ALIGNED, if it's defined. This
|
||||
* generates more efficient code for accessing request/response structures on
|
||||
* ARM Cortex-M if the structures are guaranteed 32-bit aligned.
|
||||
*/
|
||||
#ifdef CHROMIUM_EC
|
||||
#include "common.h"
|
||||
|
||||
Reference in New Issue
Block a user