Re: [U-Boot] Moving the rk_board_late_init() hook to a device-model based implementation.

2018-03-20 Thread Alexander Kochetkov
> 20 марта 2018 г., в 17:03, Kever Yang написал(а): > > Maybe we can discuss this again after I send my patches. Hello, Kever! Please cc me on your patch series. Regards, Alexander. ___ U-Boot mailing list

Re: [U-Boot] Moving the rk_board_late_init() hook to a device-model based implementation.

2018-03-20 Thread Kever Yang
Hi Philipp,     Amount all the source code for support Rockchip SoCs which not using DM, I think are all in two kind folder: - arch/arm/mach-rockchip/ - board/vendor/board-name/     Looks like UCLASS_SOC and UCLASS_BOARD can take care of all these source code into DM? Well, it looks like each

Re: [U-Boot] Moving the rk_board_late_init() hook to a device-model based implementation.

2018-03-19 Thread Dr. Philipp Tomsich
Simon, ping? Thanks, Philipp. > On 26 Feb 2018, at 14:02, Dr. Philipp Tomsich > wrote: > > Simon & Kever, > > We have the rk_board_late_init() hook for the Rockchip boards and I’d like to > convert > these to some sort of device-model based

[U-Boot] Moving the rk_board_late_init() hook to a device-model based implementation.

2018-02-26 Thread Dr. Philipp Tomsich
Simon & Kever, We have the rk_board_late_init() hook for the Rockchip boards and I’d like to convert these to some sort of device-model based implementation. Here’s what I’d propose as a minimal implementation: 1. Introduce a new UCLASS_BOARD 2. Trigger on the top-level ‘compatible’