diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-06-24 17:10:52 +0400 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-07-08 03:42:34 +0400 |
commit | a8b0f9b685072e1d3acd01741e7db6833b445b2a (patch) | |
tree | ef92f75a73693017a4bc42e690eec2b0618d48cc /drivers/sound/sandbox.c | |
parent | d1db76f1494492fc1c13e3bfe036c6dfb942e8be (diff) | |
download | u-boot-a8b0f9b685072e1d3acd01741e7db6833b445b2a.tar.xz |
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 'drivers/sound/sandbox.c')
-rw-r--r-- | drivers/sound/sandbox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sound/sandbox.c b/drivers/sound/sandbox.c index fe5c9e9b38..5599bb948f 100644 --- a/drivers/sound/sandbox.c +++ b/drivers/sound/sandbox.c @@ -5,7 +5,7 @@ */ #include <common.h> -#include <asm/arch/sound.h> +#include <asm/sound.h> #include <asm/sdl.h> int sound_play(uint32_t msec, uint32_t frequency) |