Commit Graph

12616 Commits

Author SHA1 Message Date
Jagan Teki e64e037f9b rk3288: vyasa: Add TPL support
Since the size of SPL can't be exceeded 0x8000 bytes in RK3288,
it is not possible add new SPL features like Falcon mode or etc.

So add TPL stage so-that adding new features to SPL is possible.
- TPL: DRAM init, clocks
- SPL: MMC, falcon, etc

Change-Id: I8e570e6a552b37dbe7e3c9cc879f70ff64f2354e
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
(update tpl text base, add memcpy/memset back)
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 532cb7f5ada0cc3779c33606d760ec99f6aa847a)
2018-01-17 15:26:22 +08:00
Jagan Teki 636c3e18b7 UPSTREAM: armv7: rk3288: Move configure_l2ctlr to common
configure_l2ctlr will be shared between SPL and TPL so
move them into asm/arch/sys_proto.h

Change-Id: I0702c88b1569abb1b65c29923cedbbccaa28a33a
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit a982d5156db0587f5118a118c7e9f18d4c70891d)
2018-01-16 18:19:23 +08:00
Jagan Teki 2bae3f50de UPSTREAM: armv7: Move L2CTLR read/write to common
L2CTLR read/write functions are common to armv7 so, move
them in to include/asm/armv7.h and use them where ever it need.

Cc: Tom Warren <twarren@nvidia.com>
Change-Id: I1321528829cb523dbb2500f64e4b18d70f7ec5bc
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
[Backed out the change to arch/arm/mach-tegra/cache.c:]
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit d9a7dcf5b8da5460a08305cdc9452f4e62dd34e5)
2018-01-16 18:17:14 +08:00
Philipp Tomsich aa6addee1a rockchip: rk3399: spl: convert to using BOOT_DEVICE_BOOTROM
Instead of directly calling into the back-to-bootrom code, the RK3399
common SPL implementation now uses BOOT_DEVICE_BOOTROM to trigger a
transfer back into the bootrom.

With this factored out, the spl_board_init function can not be
customised for each RK3399 board.

Change-Id: I80166207e01646445bbafe4f27cf47008f010cf4
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit cbe18f10e6943db628e779da03dad97a93c627f3)
2018-01-16 18:17:14 +08:00
Philipp Tomsich 9ec2762329 UPSTREAM: rockchip: dts: rk3368: reduce the number of nodes seen in TPL
The RK3368 TPL stage always returns to the BootROM, so it has no need
for the eMMC, SD and SPI nodes.  This marks those nodes (that should
be included in SPL, but not TPL) as 'u-boot,dm-spl'.

Change-Id: I0c3d65554f01de403dd48e446991d2a545cd74fb
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 75ff0578515665a1b712275deb73be29e5ad8773)
2018-01-16 18:16:48 +08:00
Philipp Tomsich 8edf7c5aaf UPSTREAM: rockchip: dts: rk3399-puma: replace 'rockchip, vbus-gpio' with fixed regulator
On the RK3399-Q7, we need to turn on the on-module USB hub before using the
USB host interfaces (only the OTG interface is directly connected to the edge
connector).  This drops the deprecated 'rockchip,vbus-gpio' property and uses
a fixed regulator to turn on the USB hub.

References: 26a8b80 "usb: host: xhci-rockchip: use fixed regulator to control vbus"
Change-Id: Idd2f6b48976e5ac25f06e40d6cc0cccc0e10c94b
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 46c89c8efa3e56ad8919b3a36663bb12582ed4d0)
2018-01-16 18:16:48 +08:00
Jagan Teki c19af67fed UPSTREAM: rk3288: Add Vyasa initial board support
This patch adds support for Vyasa RK3288 initial board
from Amarula Solutions.

Change-Id: I50cc01993c16caa97a6b0f9019a5433bd30adc80
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit d55af074e5a8dc85fc78f468d1f8bc96ae8b6855)
2018-01-16 18:16:48 +08:00
Philipp Tomsich cd1142b38c UPSTREAM: rockchip: rk3399: spl: remove hard-coded addresses for GRF and SGRF
On the RK3399, we will have either OF_PLATDATA or full OF_CONTROL
enabled: this allows the use of syscon to retrieve the addresses of
GRF and SGRF (except for the early debug UART setup, which runs so
early that the device-model is not initialised).

This removes the hard-coded addresses and goes through syscon to
retrieve the base-addresses of GRF and SGRF. After that, we use
the structure definitions to locate the respective registers.

In addition to this, the inclusion of header files is also cleaned up:
- all headers are included at the beginning (there was a spurious
  inclusion of the grf header from within a function)
- all #include statements for unused headers are removed
- the remaining #include statements are sorted (while keeping common.h
  included in front)

Change-Id: I0ba923da4a178c9109a292e7196f6c4c35e1c24a
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit ba1657338b05337cea516dcfea6614c06f771613)
2018-01-16 18:16:48 +08:00
Philipp Tomsich aac09c6b8c UPSTREAM: rockchip: dts: rk3368-lion: add /chosen/tick-timer
To support bootstage recording, we want to mark our DM timer as the
tick-timer; this triggers the support for 'trying harder' to read the
timer in the Rockchip DM timer driver, even if the device model isn't
ready yet.

Change-Id: If09ee9ad6834bd8be99bc827471363383bce7c43
Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit f041176c4672f2885ff0843f5f7a27c892fcc42c)
2018-01-16 18:16:48 +08:00
Bin Meng 010034028f UPSTREAM: blk: Remove various places that do flush cache after read
All these places seem to inherit the codes from the MMC driver where
a FIXME was put in the comment. However the correct operation after
read should be cache invalidate, not flush.

The underlying drivers should be responsible for the cache operation.
Remove these codes completely.

Change-Id: I8f04c721432753b34e85b19616a0b42d83a633eb
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: York Sun <york.sun@nxp.com>
Reviewed-by: Joe Hershberger <joe.hershberger@ni.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: York Sun <york.sun@nxp.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 723b43daec7ee2ddb600cfcb9b0253d4a71c3915)
2018-01-16 18:16:48 +08:00
Patrice Chotard b048a4dbd0 UPSTREAM: dm: test: replace dm_scan_dt() by of dm_extended_scan_fdt() in dm_do_test
This allows to scan the DT including all "clocks" node's sub-nodes
in which fixed-clock are defined.
All fixed-clock should be defined inside a clocks node which collect all
external oscillators. Until now, all clocks sub-nodes can't be binded except
if the "simple-bus" compatible string is added which is a hack.

Update test.dts by moving clk_fixed node inside clocks.

Change-Id: I9c346d812b0ee270f9b6fc6b6f60af7c28ebb46e
Signed-off-by: Patrice Chotard <patrice.chotard@st.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit ee87a097b0f66158ce2985940a5f28ba15a3552d)
2018-01-16 18:13:59 +08:00
Simon Glass 17c82fdc12 UPSTREAM: dm: core: Add ofnode_for_each_subnode()
Add a convenience macro to iterate over subnodes of a node. Make use of
this where appropriate in the code.

Change-Id: Iae0fb554472d0b5819d26becbbcf8909ff891514
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 3991f42ed2e38aff28ba3c24369bfbd90620bea7)
2018-01-16 18:13:59 +08:00
Masahiro Yamada 9ff3d0147e UPSTREAM: dma: import linux/dma-direction.h to consolidate enum dma_data_direction
Import include/linux/dma-direction.h from Linux 4.13-rc7 and delete
duplicated definitions of enum dma_data_direction.

Change-Id: I9c6569e4ab91ac82fb1c99a38003a1ac48061813
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit b27af39935855c88ef2203dcfc1ff54e013237c4)
2018-01-16 18:13:53 +08:00
Andy Yan 91603e0221 UPSTREAM: armv8: mmu: add space around operator
Add space around operator "+", make it
match the coding style.

Change-Id: I5cb1e3cea056db89d7ac0c16c233228d39bf6675
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 347e30e1720ea6c0231f81d278b076a39280a314)
2018-01-16 18:13:53 +08:00
Andy Yan 3d53e4e680 UPSTREAM: armv8: mmu: remove unused macro definition
Macro VA_BITS and PTE_BLOCK_BITS are not used
in the code, so remove them.

Change-Id: I5a6b900c8d1d145f28d1604c9b614226c20159d5
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: York Sun <york.sun@nxp.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 4f84cb980fdc25d7735fe114021b4a84ea601b9f)
2018-01-16 18:13:53 +08:00
Joseph Chen 15e088ea51 rockchip: boot_mode: setup devtype and devnum env
It helps when enter rockusb mode in setup_boot_mode()
and rockchip_dnl_mode_check().

Change-Id: Iae0a88ab5e971c8d85a59ba2bef077c7c3a9e5ed
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-01-12 16:46:05 +08:00
Joseph Chen 817007c143 armv7: start.S: enable ACTLR.SMP bit
For cortex-A7 core, when ACTLR.SMP is 0 during the processor
power-up and power-down procedures, the caches are disabled
regardless of the SCTLR.C bit setting. It's similar for other
cortex A series core.

Change-Id: I69512787015d651fe5bb5d6961f5ed01c2505058
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2018-01-02 19:05:07 +08:00
Joseph Chen b1fd4f58f3 rockchip: boot_mode: recognise devtype and devnum dynamicly for rockusb
devtype can be "emmc" or "rknand", devnum is usually 0.

Change-Id: Ie90169ab2c164e9d91f3365c3d9c99278bf9c8c4
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-28 15:23:35 +08:00
Joseph Chen b7195498ca rockchip: unify boot mode in rockchip_get_boot_mode()
There are two ways to get boot mode: misc partition and
CONFIG_ROCKCHIP_BOOT_MODE_REG, we unify them in the
rockchip_get_boot_mode() function.

Change-Id: Ia2dd452e8df8a8d736300048f131ed43ec2ec3a3
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-28 15:23:35 +08:00
Joseph Chen 1225f03eaa rockchip: fix blk_dread return value check error
blk_dread returns negtive error code or blocks number
that read successfully.

Change-Id: I0f2afe98cfb64fe8e83a065fa64b91481856f5be
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-28 15:23:35 +08:00
Kever Yang f562460ada rockchip: add a common script for generate fit its
Rockchip release bl31.elf file for armv8 SoCs like rk3399, rk3328,
the elf have more than one section, we need to decode it first and
packed them into u-boot.itb with its file. This script is to generate
the its script.
Need default bl31.elf in root directory of U-Boot source and dtb
as parameter.

Change-Id: Id70181b5d80beaf71458f78d274375efaf871364
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
Acked-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2017-12-27 17:01:55 +08:00
Kever Yang 15974eb4a1 rockchip: add fit source file for pack itb with op-tee
We package U-Boot and OP-TEE into one itb file for SPL,
so that we can support OP-TEE in SPL.

Change-Id: I2c20333d6f3bb11ac1ec4bbb32c901028fb15d64
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-27 17:01:31 +08:00
Kever Yang bfe741ab9e rockchip: rk3328: set ddr as non-secure in tpl
Set ddr as non-secure so that mmc dma can access.

Change-Id: Ia0f51908a8d428b864a9d71b2a3dd8baeb79b952
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-21 15:49:23 +08:00
Kever Yang 3a2e317c25 rockchip: sdram-common: add api to pass dram info to trust os
Trust OS decode this info like this:
https://github.com/ARM-software/arm-trusted-firmware/blob/master/plat/rockchip/common/drivers/parameter/ddr_parameter.c#L19
We have to set a available value, or else we get error info from
Trust OS like this:
"ERROR:   over or zero region, nr=3145987, max=10"

Change-Id: I8adbf0332e8b981cda089177e4c62a9f7d326581
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-21 14:46:32 +08:00
Kever Yang f011305a0a rockchip: rk3128: move timer init to arch_cpu_init
The board init is too late.

Change-Id: Ie63e86c98644123d1f611280784252a0cc0ada2e
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-21 11:06:31 +08:00
Kever Yang 2f773ef544 rockchip: resc_img: return err if some img missing
We are not ablt to go on if we do not able to get some image which
is must.

Change-Id: I1cebd327ec894c688f57627518df85f6ff4aa836
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-21 11:06:31 +08:00
Joseph Chen 882c725118 rockchip: add CRC32 image verify driver
This CRC32 driver is from: remotes/origin/rkdevelop.
RK format images is packed by mkknlimg tool, it adds the
CRC32 checksum which is not standard into image header,
so this CRC32 function is only used for rockchip platforms.

Change-Id: Ia52c6efa9dede148b1cb448691380f2d3184cd5e
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-08 18:13:45 +08:00
Kever Yang ab03cc9f18 rockchip: remove blk and parameter
We use blk_desc instead of interface from BLOCK_API, and move parameter
into disk/ as a standard partition format.

Change-Id: I6923ef1c23fa6ba1d614dfca079599e87c123ccc
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-08 18:13:25 +08:00
Kever Yang 5bd6dc275b rockchip: vendor: update to block api instead of rkblk
Use block API for vendor storage access.

Change-Id: I1e00812688cb1d9264fa4a3e1c1551f179d0a931
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-08 18:13:25 +08:00
Jason Zhu a12bbc3452 rockchip: resource: support gpt via block api
- support both gpt and rkparameter
- using blk_desc for read/write instead of rkblk api
- add a rockchip_get_resource_file() API for those image alread in RAM;
- try to get resource from AOSP boot.img/recovery.img first instead of
  RESOURCE partition.

Change-Id: If7eb53723821b48e26a392bb18a3114faf35748a
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-08 18:13:25 +08:00
Kever Yang 06621a79d4 rockchip: add rkimg bootloader support
Rockchip use rkimg bootloader to boot Android during development cycle and for
other OS, typical content kernel.img with zImage/Image, boot.img and
recovery.img with Ramdisk, packed with 'KNRL' header; and resource.img
with dtb and uboot/kernel logo bmp, vendor storage for custom info
like SN and MAC address.

Change-Id: I400195a5e622437f234f22d6675a5e96db9085c6
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-12-08 18:13:25 +08:00
Xing Zheng 2d1049f50b board: rockchip: add rk3288-evb-rk1608 board support
The rk3288-evb-rk1608 is a development/evaluation for RK3288
and RK1608. The RK3288 as Host AP, and the RK1608 as a
Dual-cores DSP coprocessor, it provides high-performance
professional computing capabilities to Host AP.

They communicate with each other through MIPI and SPI. There
is a good host environment on host RK3288, we can easily debug
RK1608.

Also, the rk3288-evb-rk1608 is different with rk3288-evb, so
we need to add a independent BSP configuration for rk3288-evb-rk1608.

Change-Id: I75ec0e14ee88acd9de7f809d7e88bca97a77a5c2
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
2017-12-08 11:00:43 +08:00
Caesar Wang 8676c3314a rockchip/rk3036: sdram: update the ddr for 400MHz
As the emac need get the 50MHz frequency and the parent clock is dpll,
So we will update this to fix it.

Change-Id: I5b8f344dab263e9e0df72bf521394984b59ea9fe
Signed-off-by: Caesar Wang <wxt@rock-chips.com>
2017-12-08 10:58:36 +08:00
Andy Yan b49168b2b6 rockchip: bootrkp: set return errno when failed to get image
We should return a errno when failed to get a valid image.

Change-Id: I2290539bc5c874312940cedc9325cc16146ce6ce
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2017-12-06 18:08:10 +08:00
Joseph Chen e1ec45d2eb rk312x: add arch_cpu_init implementation
1. set read latency configure;
2. set lcdc cpu axi qos priority level;
3. set GPIO1_C1 iomux to gpio, default sdcard_detn;
4. disable interrupt of rk3126.

Change-Id: Iebd980e68f4a9fccbf8d620bac0f103571e1d4de
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-05 09:34:48 +08:00
Joseph Chen e1048023de rockchip: Kconfig: add ROCKCHIP_RK3126 option
RK3126 can use most code from RK3128, but at some situations we have
to distinguish between RK3126 and RK3128, so this macro gives help.
It is usually selected in rk3126 board defconfig.

Change-Id: Ifd8588efb0441bd58129d9942aaacec8232f1f20
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-05 09:34:48 +08:00
Joseph Chen 965c1b1063 rockchip: rk3128: enable CONFIG_ARM_SMCCC
Change-Id: I4776c9603a91814df3371a55d573d513dbc95dd4
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-05 09:34:48 +08:00
Joseph Chen f270a3f8f1 rockchip: add rockchip smccc support
It supports rockchip platforms individual conversation
between U-Boot and ATF via ARM SMCCC.

Change-Id: I75077219f409e075bd3d0b312b2d85c205d6a96f
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-12-05 09:34:48 +08:00
Jerry Xu 275460b66e rockchip: dts: rk312x: support mipi dsi
Change-Id: I76ec4888c9f66dbab95b6c289270934cd190ef01
Signed-off-by: Jerry Xu <xbl@rock-chips.com>
2017-11-29 16:20:52 +08:00
Kever Yang 2acdadc03f rockchip: rk3036: sdram: correct setting for pll integer mode
According to rk3036 TRM, should be set to '1' for the pll
integer mode, while the '0' means the frac mode.

Change-Id: Ibd35723d471e3091d8846c700aca128ac5ca0327
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-11-29 11:34:31 +08:00
Kever Yang c659cba984 rockchip: rk3036: update clock driver for ddr
After the MASK MACRO update, we need to update the driver at the same time.
This is a fix to:
37943aa rockchip: rk3036: clean mask definition for cru reg

Change-Id: I23504454f5df17cff332ca5096928f1079e83bf6
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-11-29 11:34:26 +08:00
Kever Yang 5ce558eee1 rockchip: rk3036: fix pll config for correct frequency
There is a fixed div-2 between PLL and clk_ddr/clk_ddrphy,
so we need to double to pll output and then ddr can work
in correct frequency.

Change-Id: I53141ddf7679bd6e2f414b2ce0171f8e0df65297
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-11-29 11:34:21 +08:00
Andy Yan d2f2232622 rockchip: blk: add support for rknand and spi
MMC and RKNAND are under blk framework, so they
can be accessed via blk_dread/dwrite, and the SPI
Nor Flash is under spi framework, which need to
accessed by spi_flash_read/write.

Change-Id: Ieaefc571846d29d5ca779c501661378e456fed95
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2017-11-28 16:11:28 +08:00
Andy Yan a039a64ff1 rockchip: fix a variable typo in function get_bootdev_type
Change-Id: I73d5ac6570eff0a0405f14184dbaadd29ba38a99
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>
2017-11-28 08:35:03 +08:00
Kever Yang a25359fbff rockchip: rk3128: update compatible for usb
Use "rockchip,rk3128-usb" for the compatible to both work with
U-Boot and kernel dts.

Change-Id: Ib6016c3961cbc2793ad49ec1be9466b1da914950
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
2017-11-27 09:45:59 +08:00
Joseph Chen f492fc0066 rockchip: rk3126: add bnd-d708 board support
Change-Id: Iaf6c81dcc2eb8623f5234d7f2e32b47e536b1c32
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-11-23 16:59:17 +08:00
Joseph Chen 2ffd0cc647 ARM: dts: rk3128: fix i2c2 address typo
Change-Id: I798374f2c7625c92809aa51613efcb3e6895a177
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
2017-11-23 16:58:37 +08:00
Cody Xie f6762129ce rockchip: rk322x: Fix compile warning.
Change-Id: I52b94730e87bbefb8cccb371c7a246c0980345fc
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
(cherry picked from commit 4ed43066238174127e72758fbed3725eb95c6b97)
2017-11-21 11:05:02 +08:00
Cody Xie 4334dc85d1 gva_rk3229: Use GPIO1_B3 as key for fastboot.
TODO:
Switch back to SoM defined GPIO3_C4 when SoM HW ready.

Change-Id: I58c4fc0b6ec330d3b5ebe62c974605c3a5111c8b
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
2017-11-20 10:33:36 +08:00
Cody Xie 5fbcd8b99c rk322x: fastboot mode: Call fb_set_reboot_flag instead.
Don't set env "preboot", set reboot flag instead.
And let setup_boot_mode to do the mode change.

Change-Id: I3de480fc306255f31a7ae99e2186e6345df36ca8
Signed-off-by: Cody Xie <cody.xie@rock-chips.com>
2017-11-20 10:33:30 +08:00