]> git.sur5r.net Git - u-boot/commit
fdt_support: Add a fdt_setup_simplefb_node helper function
authorHans de Goede <hdegoede@redhat.com>
Mon, 17 Nov 2014 14:29:11 +0000 (15:29 +0100)
committerHans de Goede <hdegoede@redhat.com>
Tue, 25 Nov 2014 12:38:46 +0000 (13:38 +0100)
commitd4f495a881476b557394607665a4deda7158b8c7
tree63baf1bd23842e2911ca5e863712d6829f7db900
parent211717a463ff956da983898ae96e2a7d3d506600
fdt_support: Add a fdt_setup_simplefb_node helper function

Add a generic helper to fill and enable simplefb nodes.

The first user of this will be the sunxi display code.

lcd_dt_simplefb_configure_node is also a good candidate to be converted
to use this, but that requires someone to run some tests first, as
lcd_dt_simplefb_configure_node does not honor #address-cells and #size-cells,
but simply assumes 1 and 1 for both.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Simon Glass <sjg@chromium.org>
common/fdt_support.c
include/fdt_support.h