summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2025-11-19 18:01:12 +0100
committerTom Rini <[email protected]>2025-12-05 13:38:09 -0600
commitbb35d28701a3fac735c2dc891643086b80abfab3 (patch)
tree1daf372f472a30139af5034e49ad368c281d1915
parent1a5e3be3aca271901c3d4c5e0d5fd23c27e258b6 (diff)
corvus: remove green led support
green_led_on and green_led_off are only called by the legacy LED command (CONFIG_LED_STATUS_CMD) when CONFIG_LED_STATUS_GREEN is enabled, both of which aren't enabled for corvus, so let's simply remove it as it's dead code. Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Heiko Schocher <[email protected]>
-rw-r--r--board/siemens/corvus/board.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/board/siemens/corvus/board.c b/board/siemens/corvus/board.c
index a8714e055d7..670bcab484c 100644
--- a/board/siemens/corvus/board.c
+++ b/board/siemens/corvus/board.c
@@ -53,7 +53,6 @@ static void corvus_request_gpio(void)
gpio_request(AT91_PIN_PB18, "SPICS1");
gpio_request(AT91_PIN_PB3, "SPICS0");
gpio_request(AT91_PIN_PD31, "red led"); /* this is the user1 led */
- gpio_request(AT91_PIN_PD0, "green led"); /* this is the user2 led */
}
void red_led_on(void)
@@ -66,16 +65,6 @@ void red_led_off(void)
gpio_set_value(AT91_PIN_PD31, 0);
}
-void green_led_on(void)
-{
- gpio_set_value(AT91_PIN_PD0, 0);
-}
-
-void green_led_off(void)
-{
- gpio_set_value(AT91_PIN_PD0, 1);
-}
-
static void corvus_nand_hw_init(void)
{
struct at91_smc *smc = (struct at91_smc *)ATMEL_BASE_SMC;