ARM: rmobile: Replace CONFIG_RAVB with CONFIG_RENESAS_RAVB in boards
authorMarek Vasut <marek.vasut@gmail.com>
Mon, 28 Aug 2017 12:12:34 +0000 (14:12 +0200)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Mon, 4 Sep 2017 22:51:39 +0000 (07:51 +0900)
The configuration option name is the later, so replace usage of
CONFIG_RAVB in board files with CONFIG_RENESAS_RAVB , otherwise
the RAVB pinmux is not set and ethernet does not work.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
board/renesas/salvator-x/salvator-x.c
board/renesas/ulcb/ulcb.c

index a09cd56d66ce082fed7576faba8764bb64290396..d8a0d7a8a2e702d6b2c62171f456fdaa93946ed1 100644 (file)
@@ -116,7 +116,7 @@ int board_init(void)
        /* USB1 pull-up */
        setbits_le32(PFC_PUEN6, PUEN_USB1_OVC | PUEN_USB1_PWEN);
 
-#ifdef CONFIG_RAVB
+#ifdef CONFIG_RENESAS_RAVB
        /* EtherAVB Enable */
        /* GPSR2 */
        gpio_request(GPIO_GFN_AVB_AVTP_CAPTURE_A, NULL);
index 068cbdea037e5c108b2e9cb68b861781c9233f0f..695cce9465a650cbdb3b4de8dd94c59b040880ec 100644 (file)
@@ -105,7 +105,7 @@ int board_init(void)
        /* USB1 pull-up */
        setbits_le32(PFC_PUEN6, PUEN_USB1_OVC | PUEN_USB1_PWEN);
 
-#ifdef CONFIG_RAVB
+#ifdef CONFIG_RENESAS_RAVB
        /* EtherAVB Enable */
        /* GPSR2 */
        gpio_request(GPIO_GFN_AVB_AVTP_CAPTURE_A, NULL);