We are trying to get rid of the legacy LED API and this is one of the last users. As far as I understood from the code, only one LED is controllable and it is a GPIO led. When initializing the LED, it is always enabled regardless of the passed argument, same for the mask. In addition, the LED is used as a BOOT LED. To keep the same behavior, a GPIO driver should be written, then add a gpio-leds node which makes use of a GPIO from said driver, add the /options/u-boot/boot-led property pointing at this new GPIO LED node and then enable CONFIG_LED as well as CONFIG_LED_BOOT. This should result in the same behavior using the modern framework. Signed-off-by: Quentin Schulz <quentin.schulz@cherry.de>
50 lines
1.2 KiB
Plaintext
50 lines
1.2 KiB
Plaintext
CONFIG_M68K=y
|
|
CONFIG_TEXT_BASE=0xFF000000
|
|
CONFIG_ENV_SIZE=0x20000
|
|
CONFIG_ENV_SECT_SIZE=0x20000
|
|
CONFIG_DEFAULT_DEVICE_TREE="eb_cpu5282"
|
|
CONFIG_SYS_MONITOR_LEN=131072
|
|
CONFIG_SYS_LOAD_ADDR=0x20000
|
|
CONFIG_ENV_ADDR=0xFF040000
|
|
CONFIG_TARGET_EB_CPU5282=y
|
|
CONFIG_SYS_BARGSIZE=1024
|
|
CONFIG_SYS_MONITOR_BASE=0xFF000400
|
|
CONFIG_BOOTDELAY=5
|
|
CONFIG_BOOT_RETRY=y
|
|
CONFIG_BOOT_RETRY_TIME=-1
|
|
CONFIG_RESET_TO_RETRY=y
|
|
CONFIG_USE_BOOTCOMMAND=y
|
|
CONFIG_BOOTCOMMAND="printenv"
|
|
CONFIG_SYS_CBSIZE=1024
|
|
CONFIG_SYS_PBSIZE=1054
|
|
# CONFIG_DISPLAY_BOARDINFO is not set
|
|
CONFIG_MISC_INIT_R=y
|
|
CONFIG_SYS_MALLOC_BOOTPARAMS=y
|
|
# CONFIG_AUTO_COMPLETE is not set
|
|
CONFIG_SYS_PROMPT="\nEB+CPU5282> "
|
|
CONFIG_CMD_IMLS=y
|
|
CONFIG_CMD_I2C=y
|
|
# CONFIG_CMD_LOADB is not set
|
|
# CONFIG_CMD_SETEXPR is not set
|
|
CONFIG_BOOTP_BOOTFILESIZE=y
|
|
CONFIG_CMD_DHCP=y
|
|
CONFIG_CMD_MII=y
|
|
CONFIG_MII_INIT=y
|
|
CONFIG_ENV_OVERWRITE_ETHADDR_ONCE=y
|
|
CONFIG_SYS_RX_ETH_BUFFER=8
|
|
CONFIG_DM_I2C=y
|
|
CONFIG_SYS_I2C_FSL=y
|
|
CONFIG_MTD=y
|
|
CONFIG_MTD_NOR_FLASH=y
|
|
CONFIG_FLASH_CFI_DRIVER=y
|
|
CONFIG_SYS_FLASH_CFI_WIDTH_16BIT=y
|
|
CONFIG_SYS_FLASH_PROTECTION=y
|
|
CONFIG_SYS_FLASH_CFI=y
|
|
CONFIG_SYS_MAX_FLASH_SECT=128
|
|
CONFIG_MCFFEC=y
|
|
CONFIG_MII=y
|
|
CONFIG_DM_RTC=y
|
|
CONFIG_RTC_DS1338=y
|
|
CONFIG_MCFUART=y
|
|
CONFIG_WDT=y
|