Revert "s5pc1xx: aquila: work around for rev 0.4 (rev 0.3 + CP ES3.1)"
authorMinkyu Kang <mk7.kang@samsung.com>
Fri, 13 Nov 2009 02:33:01 +0000 (11:33 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Fri, 13 Nov 2009 02:33:01 +0000 (11:33 +0900)
This reverts commit 82aa2f09fe0d2b4ec73d048fbeafdd0fd5bfc2ae.

board/samsung/universal/universal.c

index a228a1a..94491c1 100644 (file)
@@ -289,13 +289,8 @@ static unsigned int get_hw_revision(struct s5pc1xx_gpio_bank *bank)
         * Workaround for Rev 0.3 + CP Ver ES 3.1
         * it's Rev 0.4
         */
-       if (rev == 0) {
-               struct s5pc110_gpio *gpio =
-                       (struct s5pc110_gpio *)S5PC110_GPIO_BASE;
-
-               if (gpio_get_value(&gpio->gpio_i, 1))
-                       rev = 0x4;
-       }
+       if (rev == 0)
+               rev = 0x4;
 
        return rev;
 }