diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-02-27 02:26:43 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2015-03-01 00:02:12 +0900 |
commit | 9eb7acef97d1a892d59c5928001dd9516bb592de (patch) | |
tree | 9dbe20c0ff3d4e5c553ed739d89c60777b720343 /arch/arm/mach-uniphier/include/mach/platdevice.h | |
parent | 4c425570214cac091d9bdcf840b936062fb8da12 (diff) | |
download | u-boot-9eb7acef97d1a892d59c5928001dd9516bb592de.tar.gz |
ARM: UniPhier: move SoC headers to mach-uniphier/include/mach
Move arch/arm/include/asm/arch-uniphier/*
-> arch/arm/mach-uniphier/include/mach/*
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/mach-uniphier/include/mach/platdevice.h')
-rw-r--r-- | arch/arm/mach-uniphier/include/mach/platdevice.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/arch/arm/mach-uniphier/include/mach/platdevice.h b/arch/arm/mach-uniphier/include/mach/platdevice.h new file mode 100644 index 0000000000..62a512659c --- /dev/null +++ b/arch/arm/mach-uniphier/include/mach/platdevice.h @@ -0,0 +1,26 @@ +/* + * Copyright (C) 2014 Panasonic Corporation + * Author: Masahiro Yamada <yamada.m@jp.panasonic.com> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef ARCH_PLATDEVICE_H +#define ARCH_PLATDEVICE_H + +#include <dm/platdata.h> +#include <dm/platform_data/serial-uniphier.h> + +#define SERIAL_DEVICE(n, ba, clk) \ +static struct uniphier_serial_platform_data serial_device##n = { \ + .base = ba, \ + .uartclk = clk \ +}; \ +U_BOOT_DEVICE(serial##n) = { \ + .name = DRIVER_NAME, \ + .platdata = &serial_device##n \ +}; + +#include <asm/arch/ehci-uniphier.h> + +#endif /* ARCH_PLATDEVICE_H */ |