summaryrefslogtreecommitdiff
path: root/arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-01-22 22:07:48 (GMT)
committerTom Rini <trini@konsulko.com>2017-01-22 22:07:48 (GMT)
commit0c9e85f67cd86d2d7a3424ea3ebff0e6db7a3915 (patch)
tree1ac6999d2934173b7575540b310fda3147aaf67a /arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c
parentafdf09ac260f7ec245c85b94a5de5f92af06bc25 (diff)
parent2c2ab3d495a1a9fbfcec58f469255595a86e3aad (diff)
downloadu-boot-0c9e85f67cd86d2d7a3424ea3ebff0e6db7a3915.tar.xz
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
- Allow to disable SPL (mainly for ATF) - Refactor SoC init code - Update DRAM settings - Add PXs3 SoC support (DT, pinctrl driver, SoC code)
Diffstat (limited to 'arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c')
-rw-r--r--arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c b/arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c
index 24255a0..2992fd7 100644
--- a/arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c
+++ b/arch/arm/mach-uniphier/boot-mode/boot-mode-ld20.c
@@ -1,5 +1,6 @@
/*
- * Copyright (C) 2016 Masahiro Yamada <yamada.masahiro@socionext.com>
+ * Copyright (C) 2016-2017 Socionext Inc.
+ * Author: Masahiro Yamada <yamada.masahiro@socionext.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
@@ -57,14 +58,14 @@ u32 uniphier_ld20_boot_device(void)
int boot_mode;
u32 usb_boot_mask;
- switch (uniphier_get_soc_type()) {
+ switch (uniphier_get_soc_id()) {
#if defined(CONFIG_ARCH_UNIPHIER_LD11)
- case SOC_UNIPHIER_LD11:
+ case UNIPHIER_LD11_ID:
usb_boot_mask = 0x00000080;
break;
#endif
#if defined(CONFIG_ARCH_UNIPHIER_LD20)
- case SOC_UNIPHIER_LD20:
+ case UNIPHIER_LD20_ID:
usb_boot_mask = 0x00000780;
break;
#endif