STM32 LTDC: Move ltdc.h from include/nuttx/video to arch/arm/include/stm32; Trivial updates after general review

This commit is contained in:
Gregory Nutt
2014-12-19 14:52:17 -06:00
parent 44d72c6545
commit 16a302e732
5 changed files with 651 additions and 118 deletions
File diff suppressed because it is too large Load Diff
+9 -12
View File
@@ -48,9 +48,9 @@
#include <debug.h>
#include <nuttx/video/fb.h>
#include <nuttx/video/ltdc.h>
#include <nuttx/kmalloc.h>
#include <arch/chip/ltdc.h>
#include <arch/board/board.h>
#include "up_arch.h"
@@ -109,16 +109,15 @@
****************************************************************************/
int stm32_dma2dblit(FAR struct stm32_ltdc_s *dest,
FAR struct stm32_ltdc_s *fore,
fb_coord_t forexpos, fb_coord_t foreypos,
FAR struct stm32_ltdc_s *back,
FAR const struct ltdc_area_s *backarea)
FAR struct stm32_ltdc_s *fore,
fb_coord_t forexpos, fb_coord_t foreypos,
FAR struct stm32_ltdc_s *back,
FAR const struct ltdc_area_s *backarea)
{
gdbg("Not implemented");
return -ENOSYS;
}
/****************************************************************************
*
* Name: stm32_dma2dblend
@@ -144,16 +143,15 @@ int stm32_dma2dblit(FAR struct stm32_ltdc_s *dest,
****************************************************************************/
int stm32_dma2dblend(FAR struct stm32_ltdc_s *dest,
FAR struct stm32_ltdc_s *fore,
fb_coord_t forexpos, fb_coord_t foreypos,
FAR struct stm32_ltdc_s *back,
FAR const struct ltdc_area_s *backarea)
FAR struct stm32_ltdc_s *fore,
fb_coord_t forexpos, fb_coord_t foreypos,
FAR struct stm32_ltdc_s *back,
FAR const struct ltdc_area_s *backarea)
{
gdbg("Not implemented");
return -ENOSYS;
}
/******************************************************************************
* Name: up_dma2dinitialize
*
@@ -182,4 +180,3 @@ int up_dma2dinitialize(void)
void up_dma2duninitialize(void)
{
}
+1 -1
View File
@@ -42,7 +42,7 @@
#include <nuttx/config.h>
#include <nuttx/video/fb.h>
#include <nuttx/video/ltdc.h>
#include <arch/chip/ltdc.h>
#include "stm32_ltdc.h"
#ifdef CONFIG_STM32_DMA2D
File diff suppressed because it is too large Load Diff
+6 -3
View File
@@ -42,13 +42,17 @@
************************************************************************************/
#include <nuttx/config.h>
#include <stdbool.h>
#include <semaphore.h>
#include <nuttx/video/fb.h>
#include <nuttx/video/ltdc.h>
#include <nuttx/nx/nxglib.h>
#include <arch/chip/ltdc.h>
#ifdef CONFIG_STM32_LTDC
/************************************************************************************
* Pre-processor Definitions
************************************************************************************/
@@ -98,8 +102,7 @@ struct stm32_ltdc_s
/************************************************************************************
* Public Functions
************************************************************************************/
/*
* The STM32 LTDC driver uses the common framebuffer interfaces declared in
/* The STM32 LTDC driver uses the common framebuffer interfaces declared in
* include/nuttx/video/fb.h.
*/