Convert CONFIG_ATMEL_LCD et al to Kconfig
This converts the following to Kconfig: CONFIG_ATMEL_LCD CONFIG_ATMEL_LCD_BGR555 CONFIG_ATMEL_LCD_RGB565 CONFIG_GURNARD_SPLASH Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
		
							parent
							
								
									cc386f161c
								
							
						
					
					
						commit
						286c4531ad
					
				
							
								
								
									
										4
									
								
								README
								
								
								
								
							
							
						
						
									
										4
									
								
								README
								
								
								
								
							| 
						 | 
					@ -994,10 +994,6 @@ The following options need to be configured:
 | 
				
			||||||
		display); also select one of the supported displays
 | 
							display); also select one of the supported displays
 | 
				
			||||||
		by defining one of these:
 | 
							by defining one of these:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		CONFIG_ATMEL_LCD:
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
			HITACHI TX09D70VM1CCA, 3.5", 240x320.
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
		CONFIG_NEC_NL6448AC33:
 | 
							CONFIG_NEC_NL6448AC33:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
			NEC NL6448AC33-18. Active, color, single scan.
 | 
								NEC NL6448AC33-18. Active, color, single scan.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,8 @@
 | 
				
			||||||
if TARGET_GURNARD
 | 
					if TARGET_GURNARD
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					config GURNARD_SPLASH
 | 
				
			||||||
 | 
						def_bool y
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config SYS_BOARD
 | 
					config SYS_BOARD
 | 
				
			||||||
	default "gurnard"
 | 
						default "gurnard"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,3 +64,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,3 +64,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -62,3 +62,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,3 +68,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -68,3 +68,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -66,3 +66,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -66,3 +66,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -67,3 +67,4 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_TIMER=y
 | 
					CONFIG_TIMER=y
 | 
				
			||||||
CONFIG_ATMEL_PIT_TIMER=y
 | 
					CONFIG_ATMEL_PIT_TIMER=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -59,4 +59,6 @@ CONFIG_USB_EHCI_HCD=y
 | 
				
			||||||
CONFIG_DM_VIDEO=y
 | 
					CONFIG_DM_VIDEO=y
 | 
				
			||||||
# CONFIG_VIDEO_LOGO is not set
 | 
					# CONFIG_VIDEO_LOGO is not set
 | 
				
			||||||
# CONFIG_VIDEO_BPP32 is not set
 | 
					# CONFIG_VIDEO_BPP32 is not set
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD=y
 | 
				
			||||||
 | 
					CONFIG_LCD=y
 | 
				
			||||||
CONFIG_CMD_DHRYSTONE=y
 | 
					CONFIG_CMD_DHRYSTONE=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -60,5 +60,7 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
CONFIG_DM_VIDEO=y
 | 
					CONFIG_DM_VIDEO=y
 | 
				
			||||||
# CONFIG_VIDEO_BPP32 is not set
 | 
					# CONFIG_VIDEO_BPP32 is not set
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
CONFIG_LCD=y
 | 
					CONFIG_LCD=y
 | 
				
			||||||
CONFIG_REGEX=y
 | 
					CONFIG_REGEX=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -64,5 +64,7 @@ CONFIG_DM_SPI=y
 | 
				
			||||||
CONFIG_USB=y
 | 
					CONFIG_USB=y
 | 
				
			||||||
CONFIG_DM_VIDEO=y
 | 
					CONFIG_DM_VIDEO=y
 | 
				
			||||||
# CONFIG_VIDEO_BPP32 is not set
 | 
					# CONFIG_VIDEO_BPP32 is not set
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD=y
 | 
				
			||||||
 | 
					CONFIG_ATMEL_LCD_BGR555=y
 | 
				
			||||||
CONFIG_LCD=y
 | 
					CONFIG_LCD=y
 | 
				
			||||||
CONFIG_JFFS2_NAND=y
 | 
					CONFIG_JFFS2_NAND=y
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -421,6 +421,15 @@ config VIDEO_LCD_ANX9804
 | 
				
			||||||
	from a parallel LCD interface and translate it on the fy into a DP
 | 
						from a parallel LCD interface and translate it on the fy into a DP
 | 
				
			||||||
	interface for driving eDP TFT displays. It uses I2C for configuration.
 | 
						interface for driving eDP TFT displays. It uses I2C for configuration.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					config ATMEL_LCD
 | 
				
			||||||
 | 
						bool "Atmel LCD panel support"
 | 
				
			||||||
 | 
						depends on LCD && ARCH_AT91
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					config ATMEL_LCD_BGR555
 | 
				
			||||||
 | 
						bool "Display in BGR555 mode"
 | 
				
			||||||
 | 
						help
 | 
				
			||||||
 | 
						  Use the BGR555 output mode.  Otherwise RGB565 is used.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
config VIDEO_LCD_ORISETECH_OTM8009A
 | 
					config VIDEO_LCD_ORISETECH_OTM8009A
 | 
				
			||||||
	bool "OTM8009A DSI LCD panel support"
 | 
						bool "OTM8009A DSI LCD panel support"
 | 
				
			||||||
	depends on DM_VIDEO
 | 
						depends on DM_VIDEO
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,10 +26,6 @@
 | 
				
			||||||
#undef LCD_TEST_PATTERN
 | 
					#undef LCD_TEST_PATTERN
 | 
				
			||||||
#define CONFIG_LCD_INFO
 | 
					#define CONFIG_LCD_INFO
 | 
				
			||||||
#define CONFIG_LCD_INFO_BELOW_LOGO
 | 
					#define CONFIG_LCD_INFO_BELOW_LOGO
 | 
				
			||||||
#define CONFIG_ATMEL_LCD
 | 
					 | 
				
			||||||
#ifdef CONFIG_AT91SAM9261EK
 | 
					 | 
				
			||||||
#define CONFIG_ATMEL_LCD_BGR555
 | 
					 | 
				
			||||||
#endif
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* SDRAM */
 | 
					/* SDRAM */
 | 
				
			||||||
#define CONFIG_SYS_SDRAM_BASE		0x20000000
 | 
					#define CONFIG_SYS_SDRAM_BASE		0x20000000
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -37,8 +37,6 @@
 | 
				
			||||||
#undef LCD_TEST_PATTERN
 | 
					#undef LCD_TEST_PATTERN
 | 
				
			||||||
#define CONFIG_LCD_INFO			1
 | 
					#define CONFIG_LCD_INFO			1
 | 
				
			||||||
#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
					#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
				
			||||||
#define CONFIG_ATMEL_LCD		1
 | 
					 | 
				
			||||||
#define CONFIG_ATMEL_LCD_BGR555		1
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* SDRAM */
 | 
					/* SDRAM */
 | 
				
			||||||
#define CONFIG_SYS_SDRAM_BASE		ATMEL_BASE_CS1
 | 
					#define CONFIG_SYS_SDRAM_BASE		ATMEL_BASE_CS1
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -22,8 +22,6 @@
 | 
				
			||||||
#undef LCD_TEST_PATTERN
 | 
					#undef LCD_TEST_PATTERN
 | 
				
			||||||
#define CONFIG_LCD_INFO
 | 
					#define CONFIG_LCD_INFO
 | 
				
			||||||
#define CONFIG_LCD_INFO_BELOW_LOGO
 | 
					#define CONFIG_LCD_INFO_BELOW_LOGO
 | 
				
			||||||
#define CONFIG_ATMEL_LCD
 | 
					 | 
				
			||||||
#define CONFIG_ATMEL_LCD_RGB565
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* SDRAM */
 | 
					/* SDRAM */
 | 
				
			||||||
#define CONFIG_SYS_SDRAM_BASE           0x70000000
 | 
					#define CONFIG_SYS_SDRAM_BASE           0x70000000
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -21,7 +21,6 @@
 | 
				
			||||||
#define CONFIG_LCD_LOGO
 | 
					#define CONFIG_LCD_LOGO
 | 
				
			||||||
#define CONFIG_LCD_INFO
 | 
					#define CONFIG_LCD_INFO
 | 
				
			||||||
#define CONFIG_LCD_INFO_BELOW_LOGO
 | 
					#define CONFIG_LCD_INFO_BELOW_LOGO
 | 
				
			||||||
#define CONFIG_ATMEL_LCD_RGB565
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define CONFIG_SYS_SDRAM_BASE		0x20000000
 | 
					#define CONFIG_SYS_SDRAM_BASE		0x20000000
 | 
				
			||||||
#define CONFIG_SYS_SDRAM_SIZE		0x08000000
 | 
					#define CONFIG_SYS_SDRAM_SIZE		0x08000000
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -26,8 +26,6 @@
 | 
				
			||||||
#undef LCD_TEST_PATTERN
 | 
					#undef LCD_TEST_PATTERN
 | 
				
			||||||
#define CONFIG_LCD_INFO			1
 | 
					#define CONFIG_LCD_INFO			1
 | 
				
			||||||
#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
					#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
				
			||||||
#define CONFIG_ATMEL_LCD		1
 | 
					 | 
				
			||||||
#define CONFIG_ATMEL_LCD_RGB565		1
 | 
					 | 
				
			||||||
/* Let board_init_f handle the framebuffer allocation */
 | 
					/* Let board_init_f handle the framebuffer allocation */
 | 
				
			||||||
#undef CONFIG_FB_ADDR
 | 
					#undef CONFIG_FB_ADDR
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -134,8 +134,6 @@
 | 
				
			||||||
#undef LCD_TEST_PATTERN
 | 
					#undef LCD_TEST_PATTERN
 | 
				
			||||||
#define CONFIG_LCD_INFO			1
 | 
					#define CONFIG_LCD_INFO			1
 | 
				
			||||||
#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
					#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
				
			||||||
#define CONFIG_ATMEL_LCD		1
 | 
					 | 
				
			||||||
#define CONFIG_ATMEL_LCD_BGR555		1
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* SDRAM */
 | 
					/* SDRAM */
 | 
				
			||||||
#define PHYS_SDRAM				0x20000000
 | 
					#define PHYS_SDRAM				0x20000000
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -145,8 +145,6 @@
 | 
				
			||||||
#undef LCD_TEST_PATTERN
 | 
					#undef LCD_TEST_PATTERN
 | 
				
			||||||
#define CONFIG_LCD_INFO			1
 | 
					#define CONFIG_LCD_INFO			1
 | 
				
			||||||
#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
					#define CONFIG_LCD_INFO_BELOW_LOGO	1
 | 
				
			||||||
#define CONFIG_ATMEL_LCD		1
 | 
					 | 
				
			||||||
#define CONFIG_ATMEL_LCD_BGR555		1
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define CONFIG_LCD_IN_PSRAM		1
 | 
					#define CONFIG_LCD_IN_PSRAM		1
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -38,10 +38,6 @@
 | 
				
			||||||
#define CONFIG_SYS_NAND_ENABLE_PIN	AT91_PIN_PC14
 | 
					#define CONFIG_SYS_NAND_ENABLE_PIN	AT91_PIN_PC14
 | 
				
			||||||
#define CONFIG_SYS_NAND_READY_PIN	AT91_PIN_PC8
 | 
					#define CONFIG_SYS_NAND_READY_PIN	AT91_PIN_PC8
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* LCD */
 | 
					 | 
				
			||||||
#define CONFIG_ATMEL_LCD
 | 
					 | 
				
			||||||
#define CONFIG_GURNARD_SPLASH
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
/* UARTs/Serial console */
 | 
					/* UARTs/Serial console */
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/* Boot options */
 | 
					/* Boot options */
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue