History log of /rk3399_rockchip-uboot/arch/arm/mach-rockchip/param.c (Results 1 – 24 of 24)
Revision Date Author Comments
# 1a7a2cb2 08-Apr-2025 Xuhui Lin <xuhui.lin@rock-chips.com>

rockchip: param: Allow call ddr_mem_get_usable_size beyond param.c

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


# bc113e2a 01-Mar-2024 Yifeng Zhao <yifeng.zhao@rock-chips.com>

rockchip: atags: add ufs boot device support

Signed-off-by: Yifeng Zhao <yifeng.zhao@rock-chips.com>
Change-Id: Ida6b540d6d5232422b462f3f0922ed30c2a05fe3


# 9d10124a 11-May-2022 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: Fix disable uart when no serial atag

rk3036, rk312x doesn't have enough sram size to pass
the serial atag.

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

rockchip: param: Fix disable uart when no serial atag

rk3036, rk312x doesn't have enough sram size to pass
the serial atag.

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

show more ...


# 5029b474 18-Apr-2022 Joseph Chen <chenjh@rock-chips.com>

rockchip: Introduce CONFIG_ROCKCHIP_BOOTDEV

Usually we get boot device from preloader or scan list on the
board with single storage. While for the multiple storage, we
introduce this option to deter

rockchip: Introduce CONFIG_ROCKCHIP_BOOTDEV

Usually we get boot device from preloader or scan list on the
board with single storage. While for the multiple storage, we
introduce this option to determine which we really want to be
the boot device, which contains kernel, rootfs and etc.

When this option is NULL string, we fall through to get boot
device from preloader or scan list.

Example: CONFIG_ROCKCHIP_BOOTDEV="nvme 0".

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

show more ...


# d8e6f8d0 31-Dec-2021 Joseph Chen <chenjh@rock-chips.com>

rockchip: ram: support extend ram top

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


# 1a4d12c4 17-Jan-2022 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: add param_simple_parse_ddr_mem()

Active if no define CONFIG_BIDRAM. Mainly used on critical
size platform.

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

rockchip: param: add param_simple_parse_ddr_mem()

Active if no define CONFIG_BIDRAM. Mainly used on critical
size platform.

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

show more ...


# 045d3eaa 31-Dec-2021 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: move atags parse code to param.c

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


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

rockchip: param: simplify the #if expression

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


# c53a0c58 19-May-2020 Jason Zhu <jason.zhu@rock-chips.com>

rockchip: atags: support parse mtd block dev type

Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Change-Id: Ie446393b6f96667f37b2050e32a366b7d7265a94


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

Merge branch 'next-dev' into thunder-boot


# 0453d738 12-Dec-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: support parse 4GB+ memory size

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


# b8dc613c 19-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

Merge branch 'next-dev' into thunder-boot


# 3ceae109 04-Nov-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: fix get usable size error

fixes: (ced10db rockchip: param: add SDRAM_MAX_SIZE as ram top limit)

Change-Id: I9b27570116d931be484548c440df30f5026de1bd
Signed-off-by: Joseph Chen <che

rockchip: param: fix get usable size error

fixes: (ced10db rockchip: param: add SDRAM_MAX_SIZE as ram top limit)

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

show more ...


# ced10dbe 31-Oct-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: add SDRAM_MAX_SIZE as ram top limit

This patch handles the boot fail for RK3288 4GB machine.

Change-Id: I2be6e532120595a6c10e9e99a779d9ec32f48fb5
Signed-off-by: Joseph Chen <chenjh

rockchip: param: add SDRAM_MAX_SIZE as ram top limit

This patch handles the boot fail for RK3288 4GB machine.

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

show more ...


# 160c99aa 24-May-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: add common memory reserve for most AArch32 mode

The ARMv8 platform enabling AArch32 mode should reserve memory the same
as AArch64 mode(because there is no difference about ATF), on

rockchip: param: add common memory reserve for most AArch32 mode

The ARMv8 platform enabling AArch32 mode should reserve memory the same
as AArch64 mode(because there is no difference about ATF), only some
platform has special request, they are: RK3308.

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

show more ...


# 44f308bd 14-May-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: add CONFIG_RKFLASH for bootdev "rknand 0"

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


# 94aee224 06-May-2019 Jason Zhu <jason.zhu@rock-chips.com>

rockchip: param: use module config to decide whether use atags parameters

We can not call some drivers if this driver is closed. But this time we use
the parameters passed by atags directly but not

rockchip: param: use module config to decide whether use atags parameters

We can not call some drivers if this driver is closed. But this time we use
the parameters passed by atags directly but not test the drivers whether
exist. Add it.

Change-Id: I857ccf3b3e23a9e92502868d1514849770390ebb
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>

show more ...


# c9f547d8 28-Apr-2019 Jason Zhu <jason.zhu@rock-chips.com>

rockchip: param: add sdupdate variable to indicate card function

Add sdupdate variable to receive card function info from preloader atags.
If the sd card is updated-card, set sdupdate to bootargs. o

rockchip: param: add sdupdate variable to indicate card function

Add sdupdate variable to receive card function info from preloader atags.
If the sd card is updated-card, set sdupdate to bootargs. otherwise test
whether the sd cart is ROCKCHIP_SD_UPDATE_CARD or not by rkimgtest cmd.

Change-Id: I6c09ade4a31a2e4c8349245e9e345f735afd11e9
Signed-off-by: Jason Zhu <jason.zhu@rock-chips.com>
Signed-off-by: Joseph Chen <chenjh@rock-chips.com>

show more ...


# 2dd104a5 26-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: set common reserved memory only for ARM64

Follow legacy U-Boot rules(branch: rkdevelop).

Change-Id: Id181baf1b3fe77f2bf5f15405b1a7618920cbed1
Signed-off-by: Joseph Chen <chenjh@roc

rockchip: param: set common reserved memory only for ARM64

Follow legacy U-Boot rules(branch: rkdevelop).

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

show more ...


# 4e92aae1 04-Apr-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: remove some function compile for TPL/SPL

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


# b9bc76b4 18-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: add ddr memory region parse

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


# 6e15146e 14-Mar-2019 Joseph Chen <chenjh@rock-chips.com>

lib: sysmem: refactor code

- import memblk id to manage memory blocks;
- change "sysmem_property" to generic "memblock";
- use alloc instead of reserve for all memory blocks;
- clean up and fix some

lib: sysmem: refactor code

- import memblk id to manage memory blocks;
- change "sysmem_property" to generic "memblock";
- use alloc instead of reserve for all memory blocks;
- clean up and fix some logic;
- add U-Boot cmd for sysmem;

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

show more ...


# 07ea4f34 14-Feb-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: param: fix bl32 enable flag not set when atags effect

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


# dbf8423e 13-Jan-2019 Joseph Chen <chenjh@rock-chips.com>

rockchip: add platform param parse interface to param.c

parse: atf/optee/bootdev and common reserved memory.

Change-Id: I829eb42370b217e567cdafe03de4dab6063aa251
Signed-off-by: Joseph Chen <chenjh@

rockchip: add platform param parse interface to param.c

parse: atf/optee/bootdev and common reserved memory.

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

show more ...