Files
OpenCellular/include/version.h
Vadim Bendebury 11704ae6e9 Revert "version: Store image size data in version struct"
This is a dependency of the uderlyaing patch which breaks header
composition of g chip based boards.

This reverts commit 7cbb815732.

Change-Id: I4d94647cf5cb09fd338e5a581c956df6b5d83081
Reviewed-on: https://chromium-review.googlesource.com/435551
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
2017-02-01 06:36:18 +00:00

31 lines
732 B
C

/* Copyright (c) 2012 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.
*/
/* Version number for Chrome EC */
#ifndef __CROS_EC_VERSION_H
#define __CROS_EC_VERSION_H
#include "common.h"
#define CROS_EC_VERSION_COOKIE1 0xce112233
#define CROS_EC_VERSION_COOKIE2 0xce445566
struct version_struct {
uint32_t cookie1;
char version[32];
uint32_t cookie2;
} __packed;
extern const struct version_struct version_data;
extern const char build_info[];
extern const char __version_struct_offset[];
/**
* Get the number of commits field from version string.
*/
uint32_t ver_get_numcommits(void);
#endif /* __CROS_EC_VERSION_H */