rockchip: rk3188: fixups and armclk speedup
From: Heiko Stuebner <heiko@...> Date: Mon, 20 Mar 2017 12:31:10 +0100
The ARMCLK starts at 24MHz on the rk3188 which makes u-boot startup unnecessary slow. We can easily switch to 600MHz without involving the pmic and thus do this in the SPL to also make the rc4-decoding of the U-Boot image faster. Some smaller fixes also turned up while adding the ARMCLK-support. It's currently based on Simon's spl-working branch and Kever's spl_early_init patch, as that includes the last missing rk3188 patches and also keeps uboot starting on rk3188. Tested on a rk3188 radxarock. Heiko Stuebner (8): rockchip: rk3188: sdram: Set correct sdram base rockchip: rk3188: Decode the actual amount of ram rockchip: rk3188: Cleanup some SPL/TPL rename leftovers rockchip: clk: rk3188: Allow configuration of the armclk rockchip: rk3188: Setup the armclk in spl rockchip: rk3188: Switch to new i2c IP blocks rockchip: i2c: Add compatibles for Rockchip Cortex-A9 socs rockchip: Enable pmic options and act8846 driver on rk3188 rock boards arch/arm/include/asm/arch-rockchip/cru_rk3188.h | 1 + arch/arm/mach-rockchip/rk3188-board-spl.c | 45 ++++++++++++++++++ arch/arm/mach-rockchip/rk3188-board-tpl.c | 6 +-- arch/arm/mach-rockchip/rk3188-board.c | 18 ++++++- arch/arm/mach-rockchip/rk3188/sdram_rk3188.c | 2 +- configs/rock_defconfig | 4 ++ drivers/clk/rockchip/clk_rk3188.c | 63 +++++++++++++++++++++++++ drivers/i2c/rk_i2c.c | 2 + 8 files changed, 135 insertions(+), 6 deletions(-) -- 2.11.0
Patches in this set
- [0001] rockchip: rk3188: sdram: Set correct sdram base (raw)
- [0002] rockchip: rk3188: Decode the actual amount of ram (raw)
- [0003] rockchip: rk3188: Cleanup some SPL/TPL rename leftovers (raw)
- [0004] rockchip: clk: rk3188: Allow configuration of the armclk (raw)
- [0005] rockchip: rk3188: Setup the armclk in spl (raw)
- [0007] rockchip: i2c: Add compatibles for Rockchip Cortex-A9 (raw)
Statistics
- 6 individual patches
- 110 lines added
- 6 lines removed