History log of /rk3399_rockchip-uboot/arch/arm/mach-rockchip/tpl.c (Results 1 – 13 of 13)
Revision Date Author Comments
# 13ceb2af 06-Nov-2024 Xuhui Lin <xuhui.lin@rock-chips.com>

rockchip: Add arch timer 1Ghz support

Change-Id: I8e58b15be1823e732852a2aa76cc98813e6b4fe9
Signed-off-by: Xuhui Lin <xuhui.lin@rock-chips.com>


# ad119319 25-Sep-2020 Zhihuan He <huan.he@rock-chips.com>

rockchip: tpl: add arch_cpu_init()

The arch_cpu_init() should be called for cpu early init
for tpl.

Change-Id: I3aad0f284089d8523710a2d24daab44995fa148d
Signed-off-by: Zhihuan He <huan.he@rock-chip

rockchip: tpl: add arch_cpu_init()

The arch_cpu_init() should be called for cpu early init
for tpl.

Change-Id: I3aad0f284089d8523710a2d24daab44995fa148d
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>

show more ...


# 21379abc 26-Mar-2019 Kever Yang <kever.yang@rock-chips.com>

rockchip: tpl: remove arch_cpu_init()

The arch_cpu_init() should be done in SPL only.

Change-Id: If96bad9694dbcb0d9821433d1f2cbead4517633c
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>


# a3f8c59f 28-Aug-2018 Zhihuan He <huan.he@rock-chips.com>

rockchip: ARM: tpl: add TPL_TINY_FRAMEWORK flow for arm

If sram size is small for TPL build, it can defined
CONFIG_TPL_TINY_FRAMEWORK to reduce TPL size.
For ARM if defined CONFIG_TPL_TINY_FRAMEWORK

rockchip: ARM: tpl: add TPL_TINY_FRAMEWORK flow for arm

If sram size is small for TPL build, it can defined
CONFIG_TPL_TINY_FRAMEWORK to reduce TPL size.
For ARM if defined CONFIG_TPL_TINY_FRAMEWORK when build TPL, after
save_boot_params(), it jump to board_init_f() directly, then return to
maskrom. and stack also use maskrom defined result, never change the SP.

Change-Id: I9a90d031a5d200f86c437175e9ea47e8a34062ac
Signed-off-by: Zhihuan He <huan.he@rock-chips.com>

show more ...


# 5dd9d28a 05-Jul-2018 YouMin Chen <cym@rock-chips.com>

rockchip: ARM64: tpl: add timer_init and __udelay in tpl.c

For ARM64,it don't have define timer_init and __udelay except
lib/timer.c.
If undefine CONFIG_TPL_LIBGENERIC_SUPPORT for reduce TPL size,
i

rockchip: ARM64: tpl: add timer_init and __udelay in tpl.c

For ARM64,it don't have define timer_init and __udelay except
lib/timer.c.
If undefine CONFIG_TPL_LIBGENERIC_SUPPORT for reduce TPL size,
it need add timer_init and __udelay to replace.

Change-Id: Ia9fbac7e21675b8d7d6c542d01d3eebc3be245e4
Signed-off-by: YouMin Chen <cym@rock-chips.com>

show more ...


# 37e5dcc8 05-Jul-2018 YouMin Chen <cym@rock-chips.com>

rockchip: ARM64: tpl: modify TPL_TINY_FRAMEWORK flow to reduce code size

If sram size is small for TPL build, it can defined
CONFIG_TPL_TINY_FRAMEWORK to reduce TPL size.
For ARM64 if defined CONFIG

rockchip: ARM64: tpl: modify TPL_TINY_FRAMEWORK flow to reduce code size

If sram size is small for TPL build, it can defined
CONFIG_TPL_TINY_FRAMEWORK to reduce TPL size.
For ARM64 if defined CONFIG_TPL_TINY_FRAMEWORK when build TPL, after
save_boot_params(), it jump to board_init_f() directly, then return to
maskrom. and stack also use maskrom defined result, never change the SP.

Change-Id: I80dc414fcc276f5ea2c09afd6d1eb16e2f2f4cf6
Signed-off-by: YouMin Chen <cym@rock-chips.com>

show more ...


# ba5fd738 06-Jul-2018 YouMin Chen <cym@rock-chips.com>

rockchip: tpl: rename CONFIG_TINY_TPL to CONFIG_TPL_TINY_FRAMEWORK

Change-Id: Ia05a73467578f5620a9ba168e67bcfb02c40e1d0
Signed-off-by: YouMin Chen <cym@rock-chips.com>


# 30129f2f 30-Jan-2018 David Wu <david.wu@rock-chips.com>

config: Add CONFIG_TINY_TPL to disable SPL framework at TPL

Some devices cann't use SPL framework at TPL stage, but the
CONFIG_SPL_FRAMEWORK is still defined at TPL stage, so need
to separate them w

config: Add CONFIG_TINY_TPL to disable SPL framework at TPL

Some devices cann't use SPL framework at TPL stage, but the
CONFIG_SPL_FRAMEWORK is still defined at TPL stage, so need
to separate them with CONFIG_TINY_TPL.

If the SPL framewrok was used both at TPL and SPL stage,
CONFIG_TINY_TPL is not defined.
If the SPL framewrok was used at SPL stage, but not use at
TPL, need to define CONFIG_TINY_TPL.

Change-Id: Iabb7e0377ee00311ca468cb8ff7544c96bd999d6
Signed-off-by: David Wu <david.wu@rock-chips.com>

show more ...


# 56af0010 30-Jan-2018 David Wu <david.wu@rock-chips.com>

ARM: mach-rockchip: tpl: Add hang() and udelay() for rk3036 tpl usage

If CONFIG_TPL_LIBGENERIC_SUPPORT is not defined, we need to implement
the hang() and udelay() for complier error.

Change-Id: I4

ARM: mach-rockchip: tpl: Add hang() and udelay() for rk3036 tpl usage

If CONFIG_TPL_LIBGENERIC_SUPPORT is not defined, we need to implement
the hang() and udelay() for complier error.

Change-Id: I43d4d6c55ba893ef554641b3574297c81dd85c93
Signed-off-by: David Wu <david.wu@rock-chips.com>

show more ...


# 51b91a97 30-Jan-2018 David Wu <david.wu@rock-chips.com>

ARM: mach-rockchip: tpl: Change the LIBCOMMON_SUPPORT config from SPL to TPL

Also we need to define the CONFIG_SYS_NS16550_COM1 compilering warning.

Change-Id: Ib2069820c396d48d70e013cc86bb987822b0

ARM: mach-rockchip: tpl: Change the LIBCOMMON_SUPPORT config from SPL to TPL

Also we need to define the CONFIG_SYS_NS16550_COM1 compilering warning.

Change-Id: Ib2069820c396d48d70e013cc86bb987822b064cb
Signed-off-by: David Wu <david.wu@rock-chips.com>

show more ...


# a09afa08 15-Mar-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: spl/tpl: move stimer_init to very begining

Change-Id: I1e962df10c2893ee66a98201de5beb586fce1fcb
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>


# 2b1cc44f 09-Mar-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: add arch_cpu_init() in tpl

Make sure arch_cpu_init() is called very early,
if TPL exist, call it at the beginning of TPL board_init() and do not
call it again in SPL.

Change-Id: I035bac4c

rockchip: add arch_cpu_init() in tpl

Make sure arch_cpu_init() is called very early,
if TPL exist, call it at the beginning of TPL board_init() and do not
call it again in SPL.

Change-Id: I035bac4c5da28640c866d51d1b7b250eb5912440
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 38771996 22-Jan-2018 Kever Yang <kever.yang@rock-chips.com>

rockchip: add common board file for rockchip platform

We use common board/spl/tpl file for all rockchip SoCs,
- all the SoC spec setting should move into SoC file like rk3288.c;
- tpl is option and

rockchip: add common board file for rockchip platform

We use common board/spl/tpl file for all rockchip SoCs,
- all the SoC spec setting should move into SoC file like rk3288.c;
- tpl is option and only purpose to init DRAM, clock, uart(option);
- spl do secure relate one time init, boot device select, boot into
U-Boot or trust or OS in falcon mode;
- board do boot mode detect, enable regulator, usb init and so on.

Change-Id: I7b5fa1e3e6e5f4a30a382003215425530087a586
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...