[U-Boot] [PATCH RESEND 7/9] video: Allow board hook before video init

Simon Glass sjg at chromium.org
Mon Nov 14 21:44:45 CET 2016


Hi Maxime,

On 14 November 2016 at 13:24, Maxime Ripard
<maxime.ripard at free-electrons.com> wrote:
> Hi Simon,
>
> On Fri, Nov 11, 2016 at 09:17:28AM -0700, Simon Glass wrote:
>> Hi Maxime,
>>
>> On 8 November 2016 at 03:19, Maxime Ripard
>> <maxime.ripard at free-electrons.com> wrote:
>> > Some boards might need to some additional setup right before initialising
>> > the video console.
>> >
>> > Add some hook to allow that.
>>
>> Instead of this, can you use driver model (UCLASS_VIDEO)?
>
> I don't really know the device model that well, hence 'm not really
> sure how would that help. Can a board register a hook to be called
> before a driver is probed?

My suggest would be that the driver can do whatever is required. What
is the board-specific code actually wanting to do?

Regards,
Simon


More information about the U-Boot mailing list