blob: 9ef52f848a22ee7a804cd294e953b329e84c0a7a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
/* Copyright 2014 The ChromiumOS Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
#ifndef __CROS_EC_CONFIG_CORE_H
#define __CROS_EC_CONFIG_CORE_H
/* Linker binary architecture and format */
#define BFD_ARCH arm
#define BFD_FORMAT "elf32-littlearm"
/*
* Emulate the CLZ/CTZ instructions since the CPU core is lacking support.
* When building with clang, we rely on compiler_rt to provide this support.
*/
#ifndef __clang__
#define CONFIG_SOFTWARE_CLZ
#define CONFIG_SOFTWARE_CTZ
#endif /* __clang__ */
#define CONFIG_ASSEMBLY_MULA32
#endif /* __CROS_EC_CONFIG_CORE_H */
|