History log of /rk3399_rockchip-uboot/include/common.h (Results 1 – 25 of 698)
Revision Date Author Comments
# e9a93d12 21-Apr-2025 Joseph Chen <chenjh@rock-chips.com>

arm: asm: Add uspinlock.h

Move definition from common.h.

Change-Id: Iac0daaa40cfb97df3e4b3f2395c1f47a400c6a57
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 2f96fde5 04-Feb-2025 Joseph Chen <chenjh@rock-chips.com>

common: Add smp boot support

smp.S from u-boot-tb: #248761 (rk3576: mos: smp.c for dual boot device)

Change-Id: I0f82619f51696b6460f12fcf7912a4a1bfd05746
Signed-off-by: Joseph Chen <chenjh@rock-chi

common: Add smp boot support

smp.S from u-boot-tb: #248761 (rk3576: mos: smp.c for dual boot device)

Change-Id: I0f82619f51696b6460f12fcf7912a4a1bfd05746
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 18cd75b9 04-Feb-2025 Joseph Chen <chenjh@rock-chips.com>

arm: v8: Introduce spinlock support

Change-Id: Ib47aafb5695470464e5d5f176ad35382d19d1bdd
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 9f68846b 03-Nov-2022 Joseph Chen <chenjh@rock-chips.com>

rockchip: spl: Add arch_fpga_init() call

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ibe76088f174cbc28a355195a5e80fac239eeb827


# b3df74d0 25-Nov-2021 Joseph Chen <chenjh@rock-chips.com>

common: Add lz4.h

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I6a4a19847f666f5ccb57013614bbbd65bd44801d


# c785a9da 06-Sep-2021 Joseph Chen <chenjh@rock-chips.com>

cmd: nvedit: add env_update_extract_subset() API

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I383a320c5975b9e54b34c1da11738c15130fc581


# 7cef7918 16-Jul-2021 Joseph Chen <chenjh@rock-chips.com>

irq: simplify the #if expression

Use CONFIG_IS_ENABLED() is better.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: If4f514cc1dfb9e0f52521954158172bba1eb8f85


# 034db995 27-Sep-2020 Joseph Chen <chenjh@rock-chips.com>

dm: serial: support always use uart debug mode

In this mode, uart debug is initialized depends on
configuration from pre-loader or CONFIG_UART_DEBUG_.

The serial is not care about dts "stdout-path"

dm: serial: support always use uart debug mode

In this mode, uart debug is initialized depends on
configuration from pre-loader or CONFIG_UART_DEBUG_.

The serial is not care about dts "stdout-path" and
not register into console framework any more. It's
nice to use pre-loader serial and make serial easy
to configure.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: If4c68229d76b6f1710a35e3ef9a2a91cb306fa9c

show more ...


# 912fa075 25-Oct-2020 Joseph Chen <chenjh@rock-chips.com>

common: board_f.c: add fpga init call

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I5fb507094207b14ad64cf3dee646aaac177bf43d


# 4103a11c 30-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 7fc773a7 28-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

common: add autoboot_command_fail_handle() callback

Maybe user need to do some job when bootcmd failed, they
could override it.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I1c32c1

common: add autoboot_command_fail_handle() callback

Maybe user need to do some job when bootcmd failed, they
could override it.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I1c32c1ad37700e66d45fe033fbfa46d3f350205d

show more ...


# 1a4f6af8 02-Mar-2020 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 9b4285f1 11-Dec-2019 Joseph Chen <chenjh@rock-chips.com>

common.h: include stacktrace.h

dump_stack() is a common function for all modules, place head
file in common.h is convenient for them.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: I

common.h: include stacktrace.h

dump_stack() is a common function for all modules, place head
file in common.h is convenient for them.

Signed-off-by: Joseph Chen <chenjh@rock-chips.com>
Change-Id: Ic36c826617116f204e6e416f09b00a8a2061a93f

show more ...


# 1490eb89 15-Apr-2018 Adam Ford <aford173@gmail.com>

UPSTREAM: Convert CONFIG_SPI to Kconfig

This converts the following to Kconfig:
CONFIG_SPI

This partly involves updating code that assumes that CONFIG_SPI implies
things that are specific to the

UPSTREAM: Convert CONFIG_SPI to Kconfig

This converts the following to Kconfig:
CONFIG_SPI

This partly involves updating code that assumes that CONFIG_SPI implies
things that are specific to the MPC8xx SPI driver. For now, just update
the CONFIG tests. This also involves reworking the default for
CONFIG_SYS_DEF_EEPROM_ADDR so that we don't set it when we cannot make a
reasonable default, as it does not cause any compile failures.

Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Tom Rini <trini@konsulko.com>
(cherry picked from commit f1b1f77060beadbfe9f42a3be00019bd025afbd6)
Change-Id: Ie9f15ada869105eb407f41d4df7eecbaa916b940
Signed-off-by: Jon Lin <jon.lin@rock-chips.com>

show more ...


# c1e72b20 05-May-2019 Joseph Chen <chenjh@rock-chips.com>

dm: console/serial: add flushc() support

Flush console data.

Change-Id: If347b6c8d1126452a1f6386040693b30c66eb5fb
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# bc04a3dd 04-Dec-2018 Joseph Chen <chenjh@rock-chips.com>

rockchip: fixup "kernel_addr_r" when bl32 is disabled

some platform which is not determined to enable bl32,
we had better choose kernel load address dynamically in
order to make full use of memory f

rockchip: fixup "kernel_addr_r" when bl32 is disabled

some platform which is not determined to enable bl32,
we had better choose kernel load address dynamically in
order to make full use of memory for kernel.

Change-Id: If5c15a3755dabfff8d3cce8dec38c9215c464ed2
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 064eb493 09-Oct-2018 Joseph Chen <chenjh@rock-chips.com>

serial: ns16550: support using pre-loader serial

- pass pre-loader serial configure by rk atags;
- it depends on serial aliases to find uart port;
- enabled by CONFIG_ROCKCHIP_USING_PRELOADER_SERIAL

serial: ns16550: support using pre-loader serial

- pass pre-loader serial configure by rk atags;
- it depends on serial aliases to find uart port;
- enabled by CONFIG_ROCKCHIP_USING_PRELOADER_SERIAL;

Change-Id: I6723cccc5e1f3dac77203b4cc19cdac631f5133b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# f81a9e78 08-Aug-2018 Joseph Chen <chenjh@rock-chips.com>

env: fix env_exist/append/update() words match issue

solve some words match mistakes due to strstr().

Change-Id: I79ca9bc9ed1e9aeb5472e158650890023afa3da3
Signed-off-by: Joseph Chen <chenjh@rock-ch

env: fix env_exist/append/update() words match issue

solve some words match mistakes due to strstr().

Change-Id: I79ca9bc9ed1e9aeb5472e158650890023afa3da3
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 008aee87 12-Jun-2018 Andy Yan <andy.yan@rock-chips.com>

boot_android: add runtime compatible for un/compressed kernel image

This patch add auto parse the compress format of kernel image.
Then decompress the compressed kernel image for arm64, as for
arm32

boot_android: add runtime compatible for un/compressed kernel image

This patch add auto parse the compress format of kernel image.
Then decompress the compressed kernel image for arm64, as for
arm32 zImage, we only need to load it to a higher memory, then
the kernel will handle the decompress itself.

Test on RK3308 AARCH64 mode (Cortex A35 816 MHZ) boot with eMMC:

------------------------------------------------------------------
Format | Size(Byte) | Ratio | Decomp time(ms) | Boot time(ms) |
-------------------------------------------------------------------
Image | 7720968 | | | 488 |
-------------------------------------------------------------------
Image.lz4 | 4119448 | 53% | 59 | 455 |
-------------------------------------------------------------------
Image.lzo | 3858322 | 49% | 141 | 536 |
-------------------------------------------------------------------
Image.gz | 3529108 | 45% | 222 | 609 |
-------------------------------------------------------------------
Image.bz2 | 3295914 | 42% | 2940 | |
-------------------------------------------------------------------
Image.lzma| 2683750 | 34% | | |
-------------------------------------------------------------------

Note: the boot time is counted from first ddr init log to first Kernel log.

Change-Id: I73b12ec944fbc8238b0e061a37e2f31aa3093231
Signed-off-by: Andy Yan <andy.yan@rock-chips.com>

show more ...


# 00129fb3 04-Jul-2018 Joseph Chen <chenjh@rock-chips.com>

env: add env_update_filter()

provide ignore option to filter unused key words from a
list of new string which is ready to be appended.

Change-Id: I82d61ee21ec658e73549de42ad94ed259582cb7a
Signed-of

env: add env_update_filter()

provide ignore option to filter unused key words from a
list of new string which is ready to be appended.

Change-Id: I82d61ee21ec658e73549de42ad94ed259582cb7a
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 3c9ee701 31-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

env: add env_delete()

Change-Id: I3a94942b1670e641c8558c64dabca0155e53e2ea
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 046a9310 27-Jan-2018 Joseph Chen <chenjh@rock-chips.com>

env: add env_exist()

Change-Id: I153c700ff45a678832b72031787531efadcdb47b
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>


# 6222c401 21-Nov-2017 Goldschmidt Simon <sgoldschmidt@de.pepperl-fuchs.com>

spl: make CONFIG_OF_EMBED pass dts through fdtgrep

Building spl with CONFIG_OF_EMBED enabled results in an error message
on my board: "SPL image too big". This is because the fdtgrep build
step is o

spl: make CONFIG_OF_EMBED pass dts through fdtgrep

Building spl with CONFIG_OF_EMBED enabled results in an error message
on my board: "SPL image too big". This is because the fdtgrep build
step is only executed for CONFIG_OF_SEPARATE.

Fix this by moving the fdtgrep build step ('cmd_fdtgreo') from
scripts/Makefile.spl to dts/Makefile so that the reduced dtb is
available for all kinds of spl builds.

The resulting variable name for the embedded device tree blob changes,
too, which is why common.h and fdtdec.c have tiny changes.

Change-Id: I2bf2d9780a544ac602752527d17f14aa6b12c5a2
Signed-off-by: Simon Goldschmidt <sgoldschmidt@de.pepperl-fuchs.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>

show more ...


# 44aaaed1 04-Dec-2017 Simon Glass <sjg@chromium.org>

UPSTREAM: Move debug and logging support to a separate header

Before adding new features, move these definitions to a separate header
to avoid further cluttering common.h.

Change-Id: Ib4be207f2536b

UPSTREAM: Move debug and logging support to a separate header

Before adding new features, move these definitions to a separate header
to avoid further cluttering common.h.

Change-Id: Ib4be207f2536b4e9f12f32033c6034cb9fe4ccd7
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 0e98b0a65092d6573eb17d07e04455f9cf545b21)

show more ...


# e3395308 05-Oct-2017 Diego Dorta <diego.dorta@nxp.com>

UPSTREAM: common: Add a prototype for s_init()

When compiling with W=1 the following warning is observed:

arch/arm/mach-imx/mx6/soc.c:590:6: warning: no previous prototype for ‘s_init’ [-Wmissing-p

UPSTREAM: common: Add a prototype for s_init()

When compiling with W=1 the following warning is observed:

arch/arm/mach-imx/mx6/soc.c:590:6: warning: no previous prototype for ‘s_init’ [-Wmissing-prototypes] void s_init(void)

Remove this warning by adding the function prototype into include/common.h file.

Change-Id: Id85724ae2fee5e38816467b8a8e25ca9f238eda7
Signed-off-by: Diego Dorta <diego.dorta@nxp.com>
Signed-off-by: Kever Yang <kever.yang@rock-chips.com>
(cherry picked from commit 026d7958ba6dc5ed4cd2c5ff507f55f3897cf41a)

show more ...


12345678910>>...28