]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: pine64: pinebook-pro: migrate to rockchip_early_misc_init_r
authorQuentin Schulz <quentin.schulz@theobroma-systems.com>
Mon, 11 Mar 2024 12:01:47 +0000 (13:01 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Wed, 13 Mar 2024 10:14:19 +0000 (18:14 +0800)
commitf4e626dda85779e477095c5dbe959724a43e5ecb
treef836bf9001291e96c3a75f7f2bc447aea2213f17
parentd79a9ef4f7279ad67d221f6b5f9604e1b8a92271
rockchip: pine64: pinebook-pro: migrate to rockchip_early_misc_init_r

Compared to the original misc_init_r from Rockchip mach code,
setup_iodomain() is added and rockchip_setup_macaddr() is not called.

It is assumed adding rockchip_setup_macaddr() back is fine.
Let's use rockchip_early_misc_init_r instead of reimplementing the whole
misc_init_r from Rockchip (the side effect being that
rockchip_setup_macaddr() is back).

Cc: Quentin Schulz <foss+uboot@0leil.net>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
Reviewed-by: Dragan Simic <dsimic@manjaro.org>
Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>
board/pine64/pinebook-pro-rk3399/pinebook-pro-rk3399.c