diff options
| author | Nikita Kiryanov <[email protected]> | 2015-02-03 13:32:31 +0200 |
|---|---|---|
| committer | Anatolij Gustschin <[email protected]> | 2015-02-10 13:31:26 +0100 |
| commit | 033167c4c5a9a31768f690353ce26be021ad9c36 (patch) | |
| tree | 7d0db9262a447cf9fe137385dad1631bf8867cae /include | |
| parent | bf21a5deb9614898b1f9f12292950ee55f72bedf (diff) | |
lcd: dt: extract simplefb support
We now have api functions that can support compiling simplefb code as its own
module. Since this code is not part of the display functionality, extract it
to its own file.
Raspberry Pi is updated to accommodate the changes.
Signed-off-by: Nikita Kiryanov <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Reviewed-by: Simon Glass <[email protected]>
Tested-by: Bo Shen <[email protected]>
Tested-by: Josh Wu <[email protected]>
Cc: Simon Glass <[email protected]>
Cc: Anatolij Gustschin <[email protected]>
Cc: Stephen Warren <[email protected]>
Diffstat (limited to 'include')
| -rw-r--r-- | include/fdt_simplefb.h | 14 | ||||
| -rw-r--r-- | include/lcd.h | 3 |
2 files changed, 14 insertions, 3 deletions
diff --git a/include/fdt_simplefb.h b/include/fdt_simplefb.h new file mode 100644 index 00000000000..8c89a19b8e0 --- /dev/null +++ b/include/fdt_simplefb.h @@ -0,0 +1,14 @@ +/* + * Simplefb device tree support + * + * (C) Copyright 2015 + * Stephen Warren <[email protected]> + * + * SPDX-License-Identifier: GPL-2.0+ + */ + +#ifndef _FDT_SIMPLEFB_H_ +#define _FDT_SIMPLEFB_H_ +int lcd_dt_simplefb_add_node(void *blob); +int lcd_dt_simplefb_enable_existing_node(void *blob); +#endif diff --git a/include/lcd.h b/include/lcd.h index b0423205bfa..f049fd3489e 100644 --- a/include/lcd.h +++ b/include/lcd.h @@ -128,9 +128,6 @@ void lcd_show_board_info(void); /* Return the size of the LCD frame buffer, and the line length */ int lcd_get_size(int *line_length); -int lcd_dt_simplefb_add_node(void *blob); -int lcd_dt_simplefb_enable_existing_node(void *blob); - /* Update the LCD / flush the cache */ void lcd_sync(void); |
