projects
/
project
/
bcm63xx
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ARM: uniphier: simplify SoC ID get function
[project/bcm63xx/u-boot.git]
/
arch
/
arm
/
mach-uniphier
/
boot-mode
/
spl_board.c
diff --git
a/arch/arm/mach-uniphier/boot-mode/spl_board.c
b/arch/arm/mach-uniphier/boot-mode/spl_board.c
index a6b668656bd02d4202c7eaab113c6b2ac6bc50da..0aac9241c3039c6ba9ea7860b4e5eee4826fc3b5 100644
(file)
--- a/
arch/arm/mach-uniphier/boot-mode/spl_board.c
+++ b/
arch/arm/mach-uniphier/boot-mode/spl_board.c
@@
-40,11
+40,11
@@
int uniphier_rom_get_mmc_funcptr(int (**send_cmd)(u32, u32),
{
const struct uniphier_romfunc_table *table;
{
const struct uniphier_romfunc_table *table;
- switch (uniphier_get_soc_
type
()) {
- case
SOC_UNIPHIER_LD11
:
+ switch (uniphier_get_soc_
id
()) {
+ case
UNIPHIER_LD11_ID
:
table = &uniphier_ld11_romfunc_table;
break;
table = &uniphier_ld11_romfunc_table;
break;
- case
SOC_UNIPHIER_LD20
:
+ case
UNIPHIER_LD20_ID
:
table = &uniphier_ld20_romfunc_table;
break;
default:
table = &uniphier_ld20_romfunc_table;
break;
default: