From 7d3c22d96b5f30face123fd5aea22e40e717209f Mon Sep 17 00:00:00 2001 From: Donghwa Lee Date: Wed, 8 Dec 2010 16:51:58 +0900 Subject: [PATCH] s5pc110: enable info action --- board/samsung/universal_c110/universal.c | 4 ++++ drivers/misc/info_action.c | 2 ++ include/configs/s5pc110_universal.h | 1 + 3 files changed, 7 insertions(+) diff --git a/board/samsung/universal_c110/universal.c b/board/samsung/universal_c110/universal.c index 9956da4..16ad2bd 100644 --- a/board/samsung/universal_c110/universal.c +++ b/board/samsung/universal_c110/universal.c @@ -2562,6 +2562,10 @@ int misc_init_r(void) /* check fsa9480 */ check_micro_usb(0); +#ifdef CONFIG_INFO_ACTION + info_action_check(); +#endif + return 0; } #endif diff --git a/drivers/misc/info_action.c b/drivers/misc/info_action.c index 5227520..9de356c 100644 --- a/drivers/misc/info_action.c +++ b/drivers/misc/info_action.c @@ -26,8 +26,10 @@ void info_action_check(void) setenv("mmcpart", "0"); break; case INFO_ACTION_LCD_CONSOLE: + printf("lcd console mode\n"); break; case INFO_ACTION_UMS: + printf("ums mode\n"); break; default: break; diff --git a/include/configs/s5pc110_universal.h b/include/configs/s5pc110_universal.h index 9fffc93..fd34421 100644 --- a/include/configs/s5pc110_universal.h +++ b/include/configs/s5pc110_universal.h @@ -139,6 +139,7 @@ #define CONFIG_CMD_DEVICE_POWER #define CONFIG_CMD_FAT #define CONFIG_CMD_RAMOOPS +#define CONFIG_INFO_ACTION /* disabled commands */ //#define CONFIG_CMD_GPIO -- 2.7.4