aboutsummaryrefslogtreecommitdiffstats
path: root/arch
Commit message (Collapse)AuthorAgeFilesLines
* Merge https://gitlab.denx.de/u-boot/custodians/u-boot-socfpgaTom Rini2019-07-294-42/+5
|\ | | | | | | - Various gen5 fixes
| * sysreset: add support for socfpga sysresetSimon Goldschmidt2019-07-213-42/+4
| | | | | | | | | | | | | | | | | | | | This moves sysreset support for socfgpa from ad-hoc code in mach-socfpga to a UCLASS_SYSRESET based dm driver. A side effect is that gen5 and a10 can now select between cold and warm reset. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com>
| * arm: socfpga: rst: add register definition for cold resetSimon Goldschmidt2019-07-211-0/+1
| | | | | | | | | | | | | | | | | | | | | | This adds a define for the bit in rstmgr's ctrl regiser that issues a cold reset (we had a define for the warm reset bit only) in preparation for a proper sysrese driver. Signed-off-by: Simon Goldschmidt <simon.k.r.goldschmidt@gmail.com> Series changes: 2 - separate this patch to the register descriptions from the actual sysreset driver patch
* | Merge tag 'video-for-2019.10' of ↵Tom Rini2019-07-296-22/+74
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-video - dcu and imx7 DM_VIDEO conversion - lb070wv8 compatible in simple_panel driver - bmp_logo improvements for DM_VIDEO - EDID updates to filter supported modes - meson_dw_hdmi: support EDID mode filtering - dw_hdmi: support ddc-i2c-bus phandle for external I2C masters - fix rpi crash when firmware doesn't report connected display
| * | ARM: dts: colibri-imx6ull: extend lcdif nodeIgor Opaniuk2019-07-291-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Provide proper display timings for lcdif node, used by mxsfb DM_VIDEO enabled framebuffer driver. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
| * | colibri-imx6ull: support building with DM_VIDEO=yIgor Opaniuk2019-07-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | 1. This fixes linking issues when building with DM_VIDEO enabled mxsfb driver. 2. Provide proper defines for both VIDEO=y and DM_VIDEO=y. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
| * | ARM: dts: colibri_imx7: Fix lcdif node definitionIgor Opaniuk2019-07-291-21/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix lcdif DT node and make it conform to the structure defined in the Linux devicetree bindings [1]. Currently there is support only for old style lcdif node definitions. [1] https://www.kernel.org/doc/Documentation/devicetree/bindings/display/mxsfb.txt Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
| * | ARM: dts: colibri_vf: Add dcu0 nodeIgor Opaniuk2019-07-293-0/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add dumb node for NXP Display Control Unit0(DCU), which permits DM_ENABLED converted driver to be probed. Currently no display timings are provided in this node. Signed-off-by: Igor Opaniuk <igor.opaniuk@toradex.com> Reviewed-by: Oleksandr Suvorov <oleksandr.suvorov@toradex.com>
* | | Merge tag 'u-boot-rockchip-20190729' of ↵Tom Rini2019-07-2932-1736/+764
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | https://gitlab.denx.de/u-boot/custodians/u-boot-rockchip - Clean up and migrate to use common rockchip spl board file - Clean up and migrate to use common rockchip board file - Increase rk3288 CONFIG_SYS_BOOTM_LEN to 16MB
| * | rockchip: rv1108: Migrate to use common board fileKever Yang2019-07-294-64/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399: Migrate to use common board fileKever Yang2019-07-293-14/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3368: Migrate to use common board fileKever Yang2019-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3328: Migrate to use common board fileKever Yang2019-07-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com> Tested-by: Matwey V. Kornilov <matwey.kornilov@gmail.com>
| * | rockchip: rk3288: Migrate to use common board fileKever Yang2019-07-293-92/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: Move rk3288_detect_reset_reason to soc fileKever Yang2019-07-292-38/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | The rk3288_detect_reset_reason() is per-SoC operation, move it to rk3288.c, and extend the rk_board_late_init() with rk3288_board_late_init() to make all the board works fine as before. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: Move clock CMD to SoC fileKever Yang2019-07-292-51/+55
| | | | | | | | | | | | | | | | | | | | | Move the do_clock CMD to rk3288.c so that we can re-use the common board file later. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: Move veyron_init() back to veyron.cKever Yang2019-07-291-65/+0
| | | | | | | | | | | | | | | | | | | | | The veyron_init() should go to its board file veyron.c, and the board_early_init_f() could be the right place. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: move board_early_init_f() back to veyronKever Yang2019-07-291-19/+0
| | | | | | | | | | | | | | | | | | | | | The board_early_init_f() is only used by veyron board now, move it into the board file veyron.c Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: move SOC setting into arch_cpu_init()Kever Yang2019-07-292-30/+28
| | | | | | | | | | | | | | | | | | Qos setting and emmc relate SoC setting should go to arch_cpu_init(). Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3188: Migrate to use common board fileKever Yang2019-07-293-39/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3188: Move SoC one time setting into arch_cpu_init()Kever Yang2019-07-292-17/+18
| | | | | | | | | | | | | | | | | | The setting for noc remap should goto arch_cpu_init(). Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk322x: Migrate to use common board fileKever Yang2019-07-293-98/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk322x: move SoC setting into arch_cpu_init()Kever Yang2019-07-292-14/+11
| | | | | | | | | | | | | | | | | | | | | The SoC one time setting should go to arch_cpu_init() in rk322x.c Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3128: Migrate to use common board fileKever Yang2019-07-293-108/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3036: Migrate to use common board fileKever Yang2019-07-293-89/+1
| | | | | | | | | | | | | | | | | | | | | Use common board file for board_init() and board_late_init(), for Rockchip SoCs have very similar process. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3036: move dram_init() into soc fileKever Yang2019-07-292-14/+16
| | | | | | | | | | | | | | | | | | | | | Move dram_init() into rk3036.c so that we can use to common board file later. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: sdram_common: add common dram_init_banksizeKever Yang2019-07-298-74/+66
| | | | | | | | | | | | | | | | | | | | | dram_init_banksize() can be common used by all SoCs, move it into sdram_common.c Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: add common board file for U-Boot properKever Yang2019-07-293-0/+112
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add common board file for Rockchip SoCs to avoid too much copy-paste work for different SoCs. This board file in charge for common board_init() and board_late_init() in U-Boot proper. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: clean up board_usb_init() for all SoCsKever Yang2019-07-295-86/+31
| | | | | | | | | | | | | | | | | | | | | Use "snps,dwc2" for compatible name and and common variable names so that we can share the common code for all SoCs. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: convert to use ROCKCHIP_BOOT_MODE_REG for fastboot tagKever Yang2019-07-292-8/+2
| | | | | | | | | | | | | | | | | | | | | | | | The fastboot_set_reboot_flag() update a TAG into a register for next boot, use the common macro for the register so that we can re-use the function for different SoCs. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3328: add board_debug_uart_init()Kever Yang2019-07-291-0/+49
| | | | | | | | | | | | | | | | | | | | | Add board_debug_uart_init() to make the debug UART work with correct setting. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399: Migrate to use common spl board fileKever Yang2019-07-293-118/+1
| | | | | | | | | | | | | | | | | | | | | rk3399 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399: move chromebook bob specific flow to its board fileKever Yang2019-07-292-18/+6
| | | | | | | | | | | | | | | | | | | | | Add a board_early_init_f() in board_init_f() and move the board specific init code into its own board file. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399: move boot_devices into soc fileKever Yang2019-07-292-5/+8
| | | | | | | | | | | | | | | | | | | | | Move boot_devices definition into rk3399.c, so that we can share the common code for board_spl_was_booted_from(). Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399; move spl_board_init() into soc fileKever Yang2019-07-292-62/+63
| | | | | | | | | | | | | | | | | | | | | Move spl_board_init() into rk3399.c so that we can re-use the common SPL board file later. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399: move SoC setting into arch_cpu_init()Kever Yang2019-07-292-23/+27
| | | | | | | | | | | | | | | | | | | | | SoC setting like DDR secure region and EMMC clock setting should go to arch_cpu_init(). Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399: show SPL BANNER earlier in board_init_f()Kever Yang2019-07-291-2/+2
| | | | | | | | | | | | | | | | | | Show the SPL BANNER earlier so that we know already get into SPL. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3399: move spl_perform_fixups() into soc fileKever Yang2019-07-292-48/+50
| | | | | | | | | | | | | | | | | | | | | Move the spl_perform_fixups() into rk3399.c so that we can use common spl board file later. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3368: add boot_devices mapping to support 'same-as-spl'Kever Yang2019-07-291-0/+6
| | | | | | | | | | | | | | | | | | The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3368: migrate to use common spl board fileKever Yang2019-07-293-81/+1
| | | | | | | | | | | | | | | | | | | | | rk3368 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3328: add boot_devices mapping to support 'same-as-spl'Kever Yang2019-07-291-0/+6
| | | | | | | | | | | | | | | | | | The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3328: migrate to use common spl board fileKever Yang2019-07-293-59/+1
| | | | | | | | | | | | | | | | | | | | | rk3328 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: add boot_devices mapping to support 'same-as-spl'Kever Yang2019-07-291-0/+6
| | | | | | | | | | | | | | | | | | The driver need a mapping to get the dts node by boot srouce ID. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288-veyron: Migrate "u-boot, boot0" to "u-boot, spl-boot-order"Kever Yang2019-07-291-5/+1
| | | | | | | | | | | | | | | | | | | | | "u-boot,spl-boot-order" is more flexible and other rockchip SoCs has convert to use it, migrate to use the new dts property. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: phycore: remove no use "u-boot, boot0" in dtsKever Yang2019-07-291-5/+0
| | | | | | | | | | | | | | | | | | | | | We are using "u-boot,spl-boot-order" now and re-use the definition from rk3288-u-boot.dtsi, so remove it directly here. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: Migrate to use common spl board fileKever Yang2019-07-293-159/+1
| | | | | | | | | | | | | | | | | | | | | rk3288 has similar boot flow in SPL with other Rockchip SoCs, migrate to use common spl board file. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: move dram_init_banksize() into soc fileKever Yang2019-07-292-15/+19
| | | | | | | | | | | | | | | | | | | | | Mov edram_init_banksize() into rk3288.c so that we can re-use the common SPL board file later. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288-phycore: move phycore_init() to its own board fileKever Yang2019-07-292-39/+1
| | | | | | | | | | | | | | | | | | | | | phycore_init() is use for phycore board only, it should be move back to phycore-rk3288.c Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: move setup_led() to firefly-rk3288Kever Yang2019-07-293-37/+1
| | | | | | | | | | | | | | | | | | | | | | | | Only firefly-rk3288 has the dts node "u-boot,boot-led", while CONFIG_SPL_LED is not enable, move code to firefly-rk3288 now in case someone need this code. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
| * | rockchip: rk3288: show SPL BANNER earlier in board_init_f()Kever Yang2019-07-291-2/+2
| | | | | | | | | | | | | | | | | | Show the SPL BANNER earlier so that we know already get into SPL. Signed-off-by: Kever Yang <kever.yang@rock-chips.com>