diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-28 20:13:18 +0900 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2015-08-31 00:25:06 +0900 |
commit | f4e190e317b860bb15e221a29cbf16976a04e3ca (patch) | |
tree | 76ce49c26a0b3a8084d61378a0119d12ab1d560f /arch/arm/mach-uniphier/ph1-pro4 | |
parent | 9271614eb35a77a9e3b2a58e1b994d9bd0dd9e8e (diff) | |
download | u-boot-imx-f4e190e317b860bb15e221a29cbf16976a04e3ca.zip u-boot-imx-f4e190e317b860bb15e221a29cbf16976a04e3ca.tar.gz u-boot-imx-f4e190e317b860bb15e221a29cbf16976a04e3ca.tar.bz2 |
ARM: uniphier: enable SPL_OF_CONTROL
Device Tree really improves code maintainability and is now
available for SPL too.
This is the state-of-the-art implementation in U-boot.
The board files (platform data) are no longer needed.
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/mach-uniphier/ph1-pro4')
-rw-r--r-- | arch/arm/mach-uniphier/ph1-pro4/Makefile | 1 | ||||
-rw-r--r-- | arch/arm/mach-uniphier/ph1-pro4/platdevice.c | 15 |
2 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-uniphier/ph1-pro4/Makefile b/arch/arm/mach-uniphier/ph1-pro4/Makefile index f6a584e..229f443 100644 --- a/arch/arm/mach-uniphier/ph1-pro4/Makefile +++ b/arch/arm/mach-uniphier/ph1-pro4/Makefile @@ -8,7 +8,6 @@ obj-y += sg_init.o pll_init.o early_clkrst_init.o \ early_pinctrl.o pll_spectrum.o umc_init.o ddrphy_init.o obj-$(CONFIG_PFC_MICRO_SUPPORT_CARD) += sbc_init.o obj-$(CONFIG_DCC_MICRO_SUPPORT_CARD) += sbc_init_3cs.o -obj-$(CONFIG_SPL_DM) += platdevice.o else obj-$(CONFIG_BOARD_EARLY_INIT_F) += pinctrl.o clkrst_init.o endif diff --git a/arch/arm/mach-uniphier/ph1-pro4/platdevice.c b/arch/arm/mach-uniphier/ph1-pro4/platdevice.c deleted file mode 100644 index 7440ced..0000000 --- a/arch/arm/mach-uniphier/ph1-pro4/platdevice.c +++ /dev/null @@ -1,15 +0,0 @@ -/* - * Copyright (C) 2014-2015 Panasonic Corporation - * Author: Masahiro Yamada <yamada.m@jp.panasonic.com> - * - * SPDX-License-Identifier: GPL-2.0+ - */ - -#include <mach/platdevice.h> - -#define UART_MASTER_CLK 73728000 - -SERIAL_DEVICE(0, 0x54006800, UART_MASTER_CLK) -SERIAL_DEVICE(1, 0x54006900, UART_MASTER_CLK) -SERIAL_DEVICE(2, 0x54006a00, UART_MASTER_CLK) -SERIAL_DEVICE(3, 0x54006b00, UART_MASTER_CLK) |