from the grf_rk3368.h header
into the pinctrl driver pinctrl_rk3368.c.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- moved bit-definitions pertinent to
(SYS_MALLOC_F_LEN)
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Version-changes: 3
- (new patch) adds changes to SYS_MALLOC_F_LEN for TPL to fix breakage
from rebasing to u-boot-rockchip/master
Version-changes:
).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Tom Rini <tr...@konsulko.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/include/asm/spl.h | 1 +
common/spl/Kc
).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
arch/arm/cpu/armv8/Makefile | 2 ++
common/spl/Kconfig | 8
configs/chromebook_link64_defconfig | 2 +-
To use it with the DM timer driver in SPL and TPL, timer0 needs to be
marked as pre-reloc.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- add 'clock-frequency' prop to timer in the -u-boot.dts
, there will be a dependency from Linux to the ATF
through the ARMv8 generic timer... this seems reasonable, as Linux
will require the ATF (and PSCI) to start up the secondary cores anyway
(in other words: we don't add any new dependencies).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
To allow finer grained selection of features for TPL, we introduce
TPL_RAM (in analogy to SPL_RAM).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes i
The RK3368 needs to have a different base-address and stack-pointer
for its TPL stage. Now that we want to do this via Kconfig, we need
to tick the appropriate 'TPL_NEEDS_...' boxes.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Gl
to allow DTS files including this DTSI to refer
to the symbolic constants for the DDR3 bin and for the
memory-schedule.
Note that the DMC contains both the memory regions for the
(Designware) protocol controller as well as the DDR PHY.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
The GMAC in the RK3368 once again is identical to the incarnation in
the RK3288 and the RK3399, except for where some of the configuration
and control registers are located in the GRF.
This adds the RK3368-specific logic necessary to reuse this driver.
Signed-off-by: Philipp Tomsich
instead of
SCLK_MMC/SCLK_SDMMC: to match this (and to ensure that clock setup
always works), we adjust the driver appropriately.
This includes the changes from:
- rockchip: clk: rk3368: convert MMC_PLL_SEL_* definitions to shifted-value
form
Signed-off-by: Philipp Tomsich <philipp.t
To build TPL and SPL stages for the RK3368, we will also need to
enable the SPL_FRAMEWORK.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Version-changes: 2
- dropped duplicate definition (this in fact dropped one of the
patches in this series) of CONFIG_SYS_SDRA
for the SPL variant.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
common/spl/spl.c| 5 ++
We can finally drop TPL_STACK, TPL_TEXT_BASE and TPL_MAX_SIZE off the
whitelist (this time it's really happening!) and migrate the setting
(only used on the RK3368-uQ7 so far) into Kconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Gl
this code.
Even for a feature-rich TPL (including DM support as for the RK3368),
this equates to a size difference of significantly more than 10% in
TPL binary size.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
C
Adds SPL support for the RK3368 (assuming that our TPL stage has
initialised DRAM and set up the memory firewall).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
C
Set TPL_LDSCRIPT in Kconfig, so we don't have to pollute our
header file.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v4:
- (added) sets TPL_LDSCRIPT via Kconfig
Changes in v3: None
Changes in v2: None
arch/arm/mach-rockchip/Kconfi
With the RK3368's limited TPL size, we'll want to use OF_PLATFDATA for
the SPL stage. This implements support for OF_PLATDATA in the clock
driver for the RK3368.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
..@chromium.org>
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
board/theobroma-systems/puma_rk3399/README | 2 +-
board/theobroma-systems/puma_rk3399/fit_spl_atf.its | 2 +-
2 files cha
This change introduces TPL variants of the REGMAP and SYSCON config
options (i.e. TPL_REGMAP and TPL_SYSCON in analogy to SPL_REGMAP and
SPL_SYSCON) in preparation of a finer-grained feature selection for
building feature-rich TPL variants.
Signed-off-by: Philipp Tomsich <philipp.t
SPL_REGMAP and SPL_SYSCON were marked as depending on DM, when a
stricter dependency of SPL_DM was possible. This commit makes the
prereq more specific.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by:
s Goger (1):
rockchip: board: puma_rk3399: rename ATF firmware
Philipp Tomsich (65):
spl: add a 'return to bootrom' boot method
spl: configure 'return to bootrom' separately for SPL and TPL
rockchip: back-to-bootrom: add 'back-to-bootrom' support for AArch64
rockchip: back-to-boot
a little later (i.e. in SPL).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/clk/rockchip/clk_rk3368.c | 18 +-
1 file
separately for the TPL stage.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
common/spl/Kconfig | 11 +
With the finer-grained control over LIBGENERIC_SUPPORT for TPL/SPL (i.e.
with the newly introduced distinction between TPL_LIBGENERIC_SUPPORT and
SPL_LIBGENERIC_SUPPORT), we can simplify the #ifdef-check to simply use
CONFIG_IS_ENABELD.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
of
the option to give us finer-grained control over when it should be used.
This change is motivated by our RK3368 boot process, which returns to
the boot ROM only from the TPL stage, but not from the SPL stage.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by:
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2: None
configs/lion-rk3368_defconfig | 4
1 file changed, 4 insertions(+)
diff --git a/configs/lion-rk3368_defconfig b/configs/lion-rk3368_defconfig
i
Handling TPL and SPL in the Makefile for mach-rockchip was based on
nested if checks and/or if-else-if paths. This can be simplified and
made more readable by using $(SPL_TPL_) and by introducing
intermediate variables for the aggregation of SPL and TPL features.
Signed-off-by: Philipp Tomsich
-ROM and contain the SP
when the TPL is entered)
- SPL from DRAM at 0x0
- U-Boot from DRAM at 0x20
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes
timer can not work correctly.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
include/configs/rk3368_common.h | 2 ++
1 file changed, 2 insertions(+)
through the $(SPL_TPL_) macro instead of
hard-coding the SPL variant.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v4: None
Changes in v3: None
C
The RK3368 GRF header was still defines with a shifted-mask but with
non-shifted function selectors for the IOMUX defines. As the RK3368
support is still fresh enough to allow a quick change, we do this now
before having more code use this.
Signed-off-by: Philipp Tomsich <philipp.t
This commit adds support for RK3368 SoC in mkimage.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
tools/rkcommon.c | 1 +
1 file changed, 1 insert
This splits the compilation of code modules for TPL and SPL for
OF_CONTROL (and related) features between TPL and SPL. The typical
use-case of this is a TPL stage that uses OF_PLATDATA at TPL and
provides full OF_CONTROL at SPL (e.g. on the RK3368).
Signed-off-by: Philipp Tomsich <philipp.t
SPL_CLK should also depend on SPL_DM (and not just on CLK).
Add the additional dependency.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v4: None
C
be used or whether we try to
inherit whatever SPL uses.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3:
- changes the test to CONFIG_TPL_NEEDS_SEPARATE_STACK, as TPL_STACK
w
and configuration) between stages.
This change adds the definitions for os_reg[0] through os_reg[3] to
the pmugrf structure for the RK3368.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes
To implement pinctrl support for the RK3368, we need to add the
bit-definitions to configure the IOMUX and tie these into the
pinctrl framework. This also adds the mapping from the IRQ# back
onto the periheral id for the SPI devices.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
adds support for the MSCH, PMUGRF and GRF register regions
in syscon, which are necessary for initialising the RK3368's DRAM
controller.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
C
TPL_NAND_SUPPORT, TPL_SERIAL_SUPPORT, TPL_SPI_FLASH_SUPPORT and
TPL_SPI_SUPPORT refer to SPL in their help text. This fixes up
the description to correctly reference TPL.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chr
As include/malloc.h already checks for SYS_MALLOC_SIMPLE using the
CONFIG_IS_ENABLED macro, we need to move to having separate entries
as we switch to fully separate configuration for SPL and TPL.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Gl
.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v2:
- marks blob as maybe_unused (to accomodate the OF_CONTROL case w/o
warnings)
drivers/timer/timer-uclass.c | 8 ++--
1 file changed, 6 inse
Now that we have split up SPL_LDSCRIPT into a SPL and TPL variant and
have started to use the TPL-variant for the RK3368, it's time to clean
up behind ourselves: move both variants into Kconfig and remove them
from the whitelist.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
This adds the TPL_DRIVER_MISC_SUPPORT option to allow activation of
DRIVER_MISC_SUPPORT for devices that need it in the TPL stage.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr.
To implement a TPL stage (incl. its DRAM controller setup) for the
RK3368, we'll want to configure the DPLL (DRAM PLL).
This commit implements setting the DPLL (CLK_DDR) and provides PLL
configuration details for the common DRAM operating speeds found on
RK3368 boards.
Signed-off-by: Philipp
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Version-changes: 2
- added in this version
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
drivers/spi/rk_spi.c | 9 +
1 file changed, 9 insertions(+)
.
This adds pinctrl support for the MMC controller.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2:
- removed the RK3368 prefix on the SD/MMC pin definitio
happen on
an as-needed basis, whenever someone needs a feature/boot-method/etc.
in their TPL.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
Changes in v4: None
C
-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3: None
Changes in v2: None
arch/arm/dts/rk3368.dtsi | 5 +
1 file changed, 5 insertions(+)
diff --git a/arch/arm/dts/rk3368.dtsi b/arch/arm/dts
the early boot-up, as we turn on TPL and SPL.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4:
- use imply for SPL/TPL preselects where SPL/TPL may not be enabled
to avoid warning on applying a defco
' interfaces (e.g. UART, SPI, I2C, I2S, ...)
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3:
- (after rebase) update defconfig
- (after rebase and defconfig update) lion_rk33
Introduce TPL_CLK to allow finer-grained selection of TPL features
for feature-rich (i.e. DM-based) TPL stages.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
Reviewed-by: Tom Rini <tr...@konsulko.com>
---
C
This adds the TPL support for the RK3368, including the u-boot-tpl.lds.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Reviewed-by: Simon Glass <s...@chromium.org>
---
Changes in v4: None
Changes in v3:
- removes the '#define DEBUG'
- uses the syscon API t
; 1 file changed, 1 insertion(+), 1 deletion(-)
>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
; 1 file changed, 1 insertion(+), 1 deletion(-)
>
Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
> Device drivers like debug serial, dmc should be enabled before
> relocation, so add u-boot.dtsi files to contain devices that
> should be marked as dm-pre-reloc.
>
> Signed-off-by: Andy Yan <andy@rock-chips.com>
> Reviewed-by: Philipp Tomsich <philipp.to
h/arm/dts/rk3368-geekbox-u-boot.dtsi
> create mode 100644 arch/arm/dts/rk3368-px5-evb-u-boot.dtsi
> create mode 100644 arch/arm/dts/rk3368-sheep-u-boot.dtsi
>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boo
> Update the tx_deday and rx_delay to match the timing for
> rk3399-firefly board to improve the stability of gmac data
> transfer.
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
With dtoc emitting fdt64_t for addresses (and region sizes), the array
indices for accessing the reg[] array needs to be adjusted. This
adjusts the Rockchip DM timer driver to correctly handle OF_PLATDATA
given this new structure layout.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
here and simply
access of_plat.reg[] directly.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/ram/rockchip/dmc-rk3368.c | 11 ++-
1 file changed, 2 insertions(+), 9 deletions(-)
diff --git a/drivers/ram/rockchip/dmc-rk3368.c
b/drivers/ram/rockch
With dtoc emitting fdt64_t for addresses (and region sizes), the
array indices for accessing the reg[] array needs to be adjusted.
This adjusts the clk_rk3368 driver to correctly handle OF_PLATDATA
given this new structure layout.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
.
Note that the remaining uses of 'regmap_init_mem_platdata' work by
a lucky coincidence only (i.e. that we are little-endian and never
need the region-size correct) on the RK3368.
[1] see https://lists.denx.de/pipermail/u-boot/2017-June/295929.html
Philipp Tomsich (4):
rockchip: clk: rk3368: update
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'.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/dts/rk3368-
On Mon, 19 Jun 2017, Simon Glass wrote:
We need to be able to search back up the tree for #address-cells and
#size-cells. Record the parent of each node to make this easier.
Signed-off-by: Simon Glass <s...@chromium.org>
---
Reviewed-by: Philipp Tomsich <philipp.toms...@
On Mon, 19 Jun 2017, Simon Glass wrote:
When dealing with multi-cell values we need a type that can hold this
value. Add this and a function to process it from a list of cell values.
Signed-off-by: Simon Glass <s...@chromium.org>
---
Reviewed-by: Philipp Tomsich <philipp.toms...@
sntech.de>
Reported-by: Kever Yang <kever.y...@rock-chips.com>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
Tested-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
See below for comments.
---
tools/dtoc/dtb_platdata.py
During the the conversion to $(SPL_TPL_), the SPL_ fragment was
left over for the NOR, XIP and YMODEM boot methods in SPL, making
these unselectable.
This commit fixes this by dropping the spurious 'SPL_' fragment
from each line.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobr
> During the the conversion to $(SPL_TPL_), the SPL_ fragment was
> left over for the NOR, XIP and YMODEM boot methods in SPL, making
> these unselectable.
>
> This commit fixes this by dropping the spurious 'SPL_' fragment
> from each line.
>
> Signed-off-by: Phili
: ARCH: command not found
>
> This change does no longer attempt to source auto.conf, but rather
> passes it through awk to retrieve the values for CONFIG_LOCALVERSION
> and CONFIG_LOCALVERSION_AUTO. This will also mitigate the risk of
> unintended command substitution.
>
> Signed-o
> It shoulb be '<<' instead of '<' for _MASK definition, fix it.
>
> Signed-off-by: Ziyuan Xu <xzy...@rock-chips.com>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
;
> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> ---
>
> Changes in v2:
> - add comment for the change and update the commit message
>
> arch/arm/mach-rockchip
chips.com>
> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> ---
>
> Changes in v2:
> - add comment for mmc clock div 2 internal
> - update the commit message
>
>
> mmc using 15000 as max-frequency like what rk3288 sets.
> This can speed up the mmc read/write, the actual mmc clock is:
> Before this patch: 37.125M
> After this patch: 49.5M
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Reviewed-by: Philipp Tomsich
> Use DIV_ROUND_UP instead RATE_TO_DIV for all Rockchip SoC
> clock driver.
> Add or fix the div-field overflow check at the same time.
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com&g
> add node for sdmmc in dts and rk3229-evb.
>
> Signed-off-by: Kever Yang <kever.y...@rock-chips.com>
> Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> ---
&g
> This removes the unused 'rate' field from both rk3399_pmuclk_priv and
> rk3399_clk_priv. I didn't bother to check where this came from (i.e.
> what the historical context of these was), but only verified that
> these are indeed unused across all code-paths.
>
> Signed-off-b
> The rk3368_clk_priv has two unused fields: rate, has_bwadj. This
> removes them as there's no need for either (i.e. has_bwadj is always
> true for the RK3368, according to its TRM).
>
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Rev
ution wouldn't even require the check whether we are in the
> SPL/TPL build (i.e. CONFIG_SPL_BUILD), but we leave this check in for
> documentation purposes.
>
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Reviewed-by: Simon Glass <s...@chromium.org>
>
s did not cause any pain (except wasting memory).
>
> Fix this by using the correct data structure's size.
>
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> Reviewed-by: Simon Glass <s...@chromium.org>
> ---
>
> drivers/clk/rockchip
to model this dependency.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
cmd/Kconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/Kconfig b/cmd/Kconfig
index 6758db1..a60a568 100644
--- a/cmd/Kconfig
+++ b/cmd/Kconfig
@@ -667,6 +667,7 @@ config C
the SPL build
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/mach-rockchip/Kconfig | 2 ++
include/configs/rk3399_common.h | 2 --
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-rockchip/Kconfig b/arch/arm/mach-rockchip/Kconfig
In order to easily model a that CMD_USB_MASS_STORAGE implies having
USB_FUNCTION_MASS_STORAGE enabled, we first need to migrate
USB_FUNCTION_MASS_STORAGE to Kconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/usb/gadget/Kconfig | 9 +
> We are about to reuse the rockchip timer (header file) for 64bit ARMv8
> chips, so it seems a good time to make the register sizes explicit by
> changing from 'unsigned int' to 'u32'.
>
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> ---
&g
Signed-off-by: Romain Perier <romain.per...@collabora.com>
> ---
> drivers/pinctrl/rockchip/pinctrl_rk3288.c | 4 +---
> 1 file changed, 1 insertion(+), 3 deletions(-)
>
Acked-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
_
ERS_MISC is needed to pass the SPL build
>
> Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
> ---
>
> arch/arm/mach-rockchip/Kconfig | 2 ++
> include/configs/rk3399_common.h | 2 --
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
Acke
nabled
> (!PINTRL_FULL).
>
> Fixes: 2454b719fb87 ("rockchip: rk3288: Add pinctrl support for the...")
> Signed-off-by: Romain Perier <romain.per...@collabora.com>
> ---
> drivers/pinctrl/rockchip/pinctrl_rk3288.c | 4
> 1 file changed, 4 insertions(+)
>
Ac
insertions(+), 22 deletions(-)
>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
c | 363
> +
> drivers/net/phy/phy.c | 7 +-
> include/phy.h | 3 +-
> 6 files changed, 403 insertions(+), 5 deletions(-)
> rename drivers/net/phy/{micrel.c => micrel_ksz8xxx.c} (99%)
> create mode 100
The rk3368_clk_priv has two unused fields: rate, has_bwadj. This
removes them as there's no need for either (i.e. has_bwadj is always
true for the RK3368, according to its TRM).
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/include/asm/arch-ro
(except wasting memory).
Fix this by using the correct data structure's size.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
drivers/clk/rockchip/clk_rk3368.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/clk/rockchip/clk_rk336
This removes the unused 'rate' field from both rk3399_pmuclk_priv and
rk3399_clk_priv. I didn't bother to check where this came from (i.e.
what the historical context of these was), but only verified that
these are indeed unused across all code-paths.
Signed-off-by: Philipp Tomsich <philipp.t
. CONFIG_SPL_BUILD), but we leave this check in for
documentation purposes.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
arch/arm/include/asm/arch-rockchip/boot0.h | 13 -
1 file changed, 12 insertions(+), 1 deletion(-)
diff --git a/arch/arm/include/asm/arch-ro
The include-guard for dm-structs.h was misspelled as __DT_STTUCTS.
Change it.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
include/dt-structs.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/dt-structs.h b/include/dt-structs.h
-
> 1 file changed, 1 insertion(+), 356 deletions(-)
>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
> ---
> drivers/net/phy/Kconfig | 8
> 1 file changed, 8 deletions(-)
>
Reviewed-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
___
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot
> Add dwc2 node for fastboot to init dwc2 controller.
>
> Signed-off-by: Meng Dongyang <daniel.m...@rock-chips.com>
> ---
> arch/arm/dts/rk3229-evb.dts | 4
> arch/arm/dts/rk322x.dtsi| 10 ++
> 2 files changed, 14 insertions(+)
>
Acked-by:
In order to easily model that enabling CMD_USB_MASS_STORAGE implies a
need to have USB_FUNCTION_MASS_STORAGE enabled, we first need to
migrate USB_FUNCTION_MASS_STORAGE to Kconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2:
- ran 'tabify' on
With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE and with
USB_FUNCTION_MASS_STORAGE moved to Kconfig, we can now run moveconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
configs/CHIP_pro_defconfig | 1 +
c
With both an imply from CMD_USB to USB_FUNCTION_MASS_STORAGE and with
USB_FUNCTION_MASS_STORAGE moved to Kconfig, we can now run moveconfig.
Signed-off-by: Philipp Tomsich <philipp.toms...@theobroma-systems.com>
---
Changes in v2: None
configs/CHIP_pro_defconfig
a spaces vs.
tabs issues
Philipp Tomsich (3):
usb: gadget: move USB_FUNCTION_MASS_STORAGE to Kconfig
Kconfig: CMD_USB_MASS_STORAGE implies USB_FUNCTION_MASS_STORAGE
config: move USB_FUNCTION_MASS_STORAGE
cmd/Kconfig| 1 +
configs/CHIP_pro_defconfig
201 - 300 of 3308 matches
Mail list logo