vining_fpga: Drop status-LED code and use LED
This is not used anymore, so drop it. Enable LED and LED_BOOT instead, since this is the new way to access the LED functionality. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -8,7 +8,6 @@
|
||||
#include <env.h>
|
||||
#include <init.h>
|
||||
#include <net.h>
|
||||
#include <status_led.h>
|
||||
#include <asm/arch/reset_manager.h>
|
||||
#include <asm/global_data.h>
|
||||
#include <asm/io.h>
|
||||
@@ -26,9 +25,6 @@ int board_late_init(void)
|
||||
const unsigned int usb_nrst_gpio = 35;
|
||||
int ret;
|
||||
|
||||
status_led_set(1, CONFIG_LED_STATUS_ON);
|
||||
status_led_set(2, CONFIG_LED_STATUS_ON);
|
||||
|
||||
/* Address of boot parameters for ATAG (if ATAG is used) */
|
||||
gd->bd->bi_boot_params = CFG_SYS_SDRAM_BASE + 0x100;
|
||||
|
||||
|
||||
@@ -77,17 +77,8 @@ CONFIG_SYS_DFU_DATA_BUF_SIZE=0x1000000
|
||||
CONFIG_DWAPB_GPIO=y
|
||||
CONFIG_DM_I2C=y
|
||||
CONFIG_SYS_I2C_DW=y
|
||||
CONFIG_LED_STATUS=y
|
||||
CONFIG_LED_STATUS_GPIO=y
|
||||
CONFIG_LED_STATUS0=y
|
||||
CONFIG_LED_STATUS_BIT=48
|
||||
CONFIG_LED_STATUS1=y
|
||||
CONFIG_LED_STATUS_BIT1=53
|
||||
CONFIG_LED_STATUS2=y
|
||||
CONFIG_LED_STATUS_BIT2=54
|
||||
CONFIG_LED_STATUS3=y
|
||||
CONFIG_LED_STATUS_BIT3=65
|
||||
CONFIG_LED_STATUS_CMD=y
|
||||
CONFIG_LED=y
|
||||
CONFIG_LED_BOOT=y
|
||||
CONFIG_MISC=y
|
||||
CONFIG_I2C_EEPROM=y
|
||||
CONFIG_SYS_I2C_EEPROM_ADDR=0x50
|
||||
|
||||
Reference in New Issue
Block a user