]> Git Repo - J-u-boot.git/blobdiff - board/work-microwave/work_92105/work_92105_display.c
env: Rename getenv/_f() to env_get()
[J-u-boot.git] / board / work-microwave / work_92105 / work_92105_display.c
index c8b10131f945df775e10d1a72accdbd0e3fc259a..c997cea6f0d971d9466e90118f291f9e5dd58d6c 100644 (file)
@@ -228,7 +228,7 @@ void work_92105_display_init(void)
        i2c_write(0x2c, 0x01, 1, &enable_backlight, 1);
 
        /* set display contrast */
-       display_contrast_str = getenv("fwopt_dispcontrast");
+       display_contrast_str = env_get("fwopt_dispcontrast");
        if (display_contrast_str)
                display_contrast = simple_strtoul(display_contrast_str,
                        NULL, 10);
@@ -311,8 +311,8 @@ U_BOOT_CMD(
  * only HUSH can understand them.
  */
 
-#if !defined(CONFIG_SYS_HUSH_PARSER)
-#error CONFIG_CMD_HD44760 requires CONFIG_SYS_HUSH_PARSER
+#if !defined(CONFIG_HUSH_PARSER)
+#error CONFIG_CMD_HD44760 requires CONFIG_HUSH_PARSER
 #endif
 
 static int do_hd44780(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
@@ -346,4 +346,4 @@ U_BOOT_CMD(
        "HD44780 LCD driver control",
        hd44780_help_text
 );
-#endif /* CONFIG_CMD_HD44780 */
+#endif /* CONFIG_CMD_HD44760 */
This page took 0.026052 seconds and 4 git commands to generate.