diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-06-24 22:10:52 +0900 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-07 19:42:34 -0400 |
commit | a8b0f9b685072e1d3acd01741e7db6833b445b2a (patch) | |
tree | ef92f75a73693017a4bc42e690eec2b0618d48cc /arch/sandbox/include/asm/arch-sandbox | |
parent | d1db76f1494492fc1c13e3bfe036c6dfb942e8be (diff) |
build: define CPU only when arch/${ARCH}/cpu/${CPU} exists
The directory arch/${ARCH}/cpu/${CPU} does not exist
in avr32, blackfin, microblaze, nios2, openrisc, sandbox, x86.
These architectures have only one CPU type.
Defining CPU should not be required for such architectures.
This commit allows cpu field (= the 3rd field of boards.cfg)
to be kept blank.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Andreas Bießmann <andreas.devel@googlemail.com>
Cc: Simon Glass <sjg@chromium.org>
Cc: Sonic Zhang <sonic.zhang@analog.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Cc: Thomas Chou <thomas@wytron.com.tw>
Cc: Stefan Kristiansson <stefan.kristiansson@saunalahti.fi>
Diffstat (limited to 'arch/sandbox/include/asm/arch-sandbox')
-rw-r--r-- | arch/sandbox/include/asm/arch-sandbox/sound.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/sandbox/include/asm/arch-sandbox/sound.h b/arch/sandbox/include/asm/arch-sandbox/sound.h deleted file mode 100644 index a32e8c802d..0000000000 --- a/arch/sandbox/include/asm/arch-sandbox/sound.h +++ /dev/null @@ -1,14 +0,0 @@ -/* - * Copyright (c) 2013 Google, Inc - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#ifndef __SANDBOX_SOUND_H -#define __SANDBOX_SOUND_H - -int sound_play(unsigned int msec, unsigned int frequency); - -int sound_init(const void *blob); - -#endif |