diff options
author | Tom Rini <trini@konsulko.com> | 2017-02-23 10:12:41 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-02-23 10:12:41 -0500 |
commit | d38de7cb03adf88e18c05d840c2528b7a5af2f9b (patch) | |
tree | 35be69932e53e4c58260af58ae841a3d1a2523b6 /arch/arm/mach-uniphier/bcu/bcu-ld4.c | |
parent | b24cf8540a85a9bf97975aadd6a7542f166c78a3 (diff) | |
parent | bc647958047cd03193e19cd8c08a6771fea828b7 (diff) | |
download | u-boot-imx-d38de7cb03adf88e18c05d840c2528b7a5af2f9b.zip u-boot-imx-d38de7cb03adf88e18c05d840c2528b7a5af2f9b.tar.gz u-boot-imx-d38de7cb03adf88e18c05d840c2528b7a5af2f9b.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-uniphier
- Fix regressions caused by the previous reworks
- Add pin configuration support
- Re-work SPL code
- Update DRAM and PLL setup code
- Enable needed configs, disable unneeded configs
Diffstat (limited to 'arch/arm/mach-uniphier/bcu/bcu-ld4.c')
-rw-r--r-- | arch/arm/mach-uniphier/bcu/bcu-ld4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-uniphier/bcu/bcu-ld4.c b/arch/arm/mach-uniphier/bcu/bcu-ld4.c index 7557880..a16b24e 100644 --- a/arch/arm/mach-uniphier/bcu/bcu-ld4.c +++ b/arch/arm/mach-uniphier/bcu/bcu-ld4.c @@ -24,7 +24,7 @@ void uniphier_ld4_bcu_init(const struct uniphier_board_data *bd) writel(0x11111111, BCSCR5); /* 0xe0000000-0Xffffffff: IPPC/IPPD-bus */ /* Specify DDR channel */ - shift = (bd->dram_ch[1].base - bd->dram_ch[0].base) / 0x04000000 * 4; + shift = bd->dram_ch[0].size / 0x04000000 * 4; writel(ch(shift), BCIPPCCHR2); /* 0x80000000-0x9fffffff */ shift -= 32; |