]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: ringneck-px30/puma-rk3399: factor out storage medium selection
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Wed, 17 Jan 2024 17:59:10 +0000 (18:59 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Fri, 19 Jan 2024 02:57:36 +0000 (10:57 +0800)
commit56bb09f5022d46d1244ba02680b6a7f2a0317598
tree8df61ec0d502d471549b4fb0063ed7b71b24060c
parent6fdcf006051db7f7b3b373b6ae18e83454e3ae0a
rockchip: ringneck-px30/puma-rk3399: factor out storage medium selection

Ringneck PX30 and Puma RK3399 both have the same expectation with regard
to bootstd device order and U-Boot environment storage device, except
that Puma RK3399 also supports SPI Flash.

Let's move all of this into a common file where common logic can be put.

Cc: Quentin Schulz <foss+uboot@0leil.net>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/theobroma-systems/common/common.c [new file with mode: 0644]
board/theobroma-systems/common/common.h [new file with mode: 0644]
board/theobroma-systems/puma_rk3399/MAINTAINERS
board/theobroma-systems/puma_rk3399/Makefile
board/theobroma-systems/puma_rk3399/puma-rk3399.c
board/theobroma-systems/ringneck_px30/MAINTAINERS
board/theobroma-systems/ringneck_px30/Makefile
board/theobroma-systems/ringneck_px30/ringneck-px30.c