diff options
author | Masahiro Yamada <yamada.m@jp.panasonic.com> | 2014-10-23 22:26:10 +0900 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2014-10-23 21:43:09 -0600 |
commit | d064cbffff37367b64b53f6e6942cbea67109237 (patch) | |
tree | 8a9099af4cd745003542a705bac3bd29196498fe /configs/ph1_ld4_defconfig | |
parent | da333ae73cddf12e8f71a847e42a6571f9435d7c (diff) | |
download | u-boot-d064cbffff37367b64b53f6e6942cbea67109237.tar.gz u-boot-d064cbffff37367b64b53f6e6942cbea67109237.tar.xz u-boot-d064cbffff37367b64b53f6e6942cbea67109237.zip |
dm: serial: use Driver Model for UniPhier serial driver
This commit converts UniPhier on-chip serial driver to driver model.
Since UniPhier SoCs do not have Device Tree support, some board files
should be added under arch/arm/cpu/armv7/uniphier/ph1-*/ directories.
(Device Tree support for UniPhier platform is still under way.)
Now the base address and master clock frequency are passed from
platform data, so CONFIG_SYS_UNIPHIER_SERIAL_BASE* and
CONFIG_SYS_UNIPHIER_UART_CLK should be removed.
Tested on UniPhier PH1-LD4 ref board.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'configs/ph1_ld4_defconfig')
-rw-r--r-- | configs/ph1_ld4_defconfig | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configs/ph1_ld4_defconfig b/configs/ph1_ld4_defconfig index 53f3126e71..c8404f8a8e 100644 --- a/configs/ph1_ld4_defconfig +++ b/configs/ph1_ld4_defconfig @@ -2,7 +2,9 @@ CONFIG_SPL=y +S:CONFIG_ARM=y +S:CONFIG_ARCH_UNIPHIER=y +S:CONFIG_MACH_PH1_LD4=y +CONFIG_DM=y CONFIG_NAND_DENALI=y CONFIG_SYS_NAND_DENALI_64BIT=y CONFIG_NAND_DENALI_SPARE_AREA_SKIP_BYTES=8 +CONFIG_DM_SERIAL=y S:CONFIG_SPL_NAND_DENALI=y |