mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2025-12-28 10:45:22 +00:00
BUG=chrome-os-partner:9495 TEST=manual Build image, run dump_fmap. Look for those entries. Change-Id: I6dfc38e00ce1e11ea24c8392d1691fab32a59d1f Signed-off-by: Bill Richardson <wfrichar@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/24696 Reviewed-by: Hung-Te Lin <hungte@chromium.org>
31 lines
821 B
C
31 lines
821 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
|
|
|
|
#define STRINGIFY0(name) #name
|
|
#define STRINGIFY(name) STRINGIFY0(name)
|
|
|
|
#define CROS_EC_VERSION_COOKIE1 0xce112233
|
|
#define CROS_EC_VERSION_COOKIE2 0xce445566
|
|
|
|
#define CROS_EC_VERSION STRINGIFY(BOARD) "_" VERSION
|
|
#define CROS_EC_BUILD_INFO CROS_EC_VERSION " " DATE " " BUILDER
|
|
|
|
struct version_struct {
|
|
uint32_t cookie1;
|
|
char version[32];
|
|
uint32_t cookie2;
|
|
} __attribute__ ((packed));
|
|
|
|
extern const struct version_struct version_data;
|
|
extern const char build_info[];
|
|
extern const char __version_struct_offset[];
|
|
|
|
#endif /* __CROS_EC_VERSION_H */
|