]> git.dujemihanovic.xyz Git - u-boot.git/commit
rpi: Conditionally add simple-framebuffer node
authorIvan T. Ivanov <iivanov@suse.de>
Tue, 10 Aug 2021 14:31:14 +0000 (16:31 +0200)
committerMatthias Brugger <mbrugger@suse.com>
Wed, 15 Sep 2021 11:34:06 +0000 (13:34 +0200)
commitacc6987e59137485dbac0ee4a07cc349210954f3
tree94e171cc8b5e1e6ccf78defe3fab966c71620901
parentd28e127171768c618fb4d03ec4d3249527d7dccd
rpi: Conditionally add simple-framebuffer node

It appears that RPi firmware has already added framebuffer
node under /chosen, at least on RPi 2 versions. So check
for this and don't add duplicate node.

Signed-off-by: Ivan T. Ivanov <iivanov@suse.de>
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
board/raspberrypi/rpi/rpi.c