diff options
author | Tom Rini <trini@konsulko.com> | 2016-01-16 21:45:31 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-01-16 21:45:31 -0500 |
commit | b57843e68804c2d53d2cff2b8b2238e37b388faa (patch) | |
tree | 1edb3e718d02661b29071fd8b7375082655d3c9e /arch/mips/include/asm/cpu-features.h | |
parent | b8c5b47296414c7cef84a879c0c90202bc22720c (diff) | |
parent | 0e0efb40b874633360967f532eb1ed59ad02adbe (diff) | |
download | u-boot-imx-b57843e68804c2d53d2cff2b8b2238e37b388faa.zip u-boot-imx-b57843e68804c2d53d2cff2b8b2238e37b388faa.tar.gz u-boot-imx-b57843e68804c2d53d2cff2b8b2238e37b388faa.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mips
Diffstat (limited to 'arch/mips/include/asm/cpu-features.h')
-rw-r--r-- | arch/mips/include/asm/cpu-features.h | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/arch/mips/include/asm/cpu-features.h b/arch/mips/include/asm/cpu-features.h new file mode 100644 index 0000000..a6e9d94 --- /dev/null +++ b/arch/mips/include/asm/cpu-features.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2003, 2004 Ralf Baechle + * Copyright (C) 2004 Maciej W. Rozycki + * + * SPDX-License-Identifier: GPL-2.0 + */ +#ifndef __ASM_CPU_FEATURES_H +#define __ASM_CPU_FEATURES_H + +#include <cpu-feature-overrides.h> + +#ifdef CONFIG_32BIT +# ifndef cpu_has_64bits +# define cpu_has_64bits 0 +# endif +# ifndef cpu_has_64bit_addresses +# define cpu_has_64bit_addresses 0 +# endif +#endif + +#ifdef CONFIG_64BIT +# ifndef cpu_has_64bits +# define cpu_has_64bits 1 +# endif +# ifndef cpu_has_64bit_addresses +# define cpu_has_64bit_addresses 1 +# endif +#endif + +#endif /* __ASM_CPU_FEATURES_H */ |