
On 29 January 2015 at 04:21, Nikita Kiryanov nikita@compulab.co.il wrote:
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 config file is updated to compile the new file.
Signed-off-by: Nikita Kiryanov nikita@compulab.co.il Cc: Simon Glass sjg@chromium.org Cc: Anatolij Gustschin agust@denx.de Cc: Stephen Warren swarren@wwwdotorg.org
Reviewed-by: Simon Glass sjg@chromium.org
Could even go in fdtdec.c if you like.
board/raspberrypi/rpi/rpi.c | 1 + common/Makefile | 1 + common/lcd.c | 50 -------------------------------------- common/lcd_simplefb.c | 59 +++++++++++++++++++++++++++++++++++++++++++++ include/fdt_simplefb.h | 14 +++++++++++ include/lcd.h | 3 --- 6 files changed, 75 insertions(+), 53 deletions(-) create mode 100644 common/lcd_simplefb.c create mode 100644 include/fdt_simplefb.h