mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-21 01:18:52 +09:00
![Uri Mashiach](/assets/img/avatar_default.png)
Move all of the status LED feature to drivers/led/Kconfig. The LED status definitions were moved from the board configuration files to the defconfig files. TBD: Move all of the definitions in the include/status_led.h to the relevant board's defconfig files. Tested boards: CL-SOM-AM57x, CM-T335 Signed-off-by: Uri Mashiach <uri.mashiach@compulab.co.il>
53 lines
1.1 KiB
C
53 lines
1.1 KiB
C
/*
|
|
* Copyright (C) 2015 Stefan Roese <sr@denx.de>
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0+
|
|
*/
|
|
|
|
#ifndef __CONFIG_TQMA6_WRU4_H
|
|
#define __CONFIG_TQMA6_WRU4_H
|
|
|
|
/* DTT sensors */
|
|
#define CONFIG_DTT_SENSORS { 0, 1 }
|
|
#define CONFIG_SYS_DTT_BUS_NUM 2
|
|
|
|
/* Ethernet */
|
|
#define CONFIG_FEC_XCV_TYPE RMII
|
|
#define CONFIG_ETHPRIME "FEC"
|
|
#define CONFIG_FEC_MXC_PHYADDR 0x01
|
|
#define CONFIG_PHY_SMSC
|
|
|
|
/* UART */
|
|
#define CONFIG_MXC_UART_BASE UART4_BASE
|
|
#define CONSOLE_DEV "ttymxc3"
|
|
|
|
#define CONFIG_MISC_INIT_R
|
|
|
|
/* Watchdog */
|
|
#define CONFIG_HW_WATCHDOG
|
|
#define CONFIG_IMX_WATCHDOG
|
|
#define CONFIG_WATCHDOG_TIMEOUT_MSECS 60000
|
|
|
|
/* Config on-board RTC */
|
|
#define CONFIG_RTC_DS1337
|
|
#define CONFIG_SYS_RTC_BUS_NUM 2
|
|
#define CONFIG_SYS_I2C_RTC_ADDR 0x68
|
|
/* Turn off RTC square-wave output to save battery */
|
|
#define CONFIG_SYS_RTC_DS1337_NOOSC
|
|
#define CONFIG_CMD_DATE
|
|
|
|
/* LED */
|
|
|
|
/* Bootcounter */
|
|
#define CONFIG_BOOTCOUNT_LIMIT
|
|
#define CONFIG_SYS_BOOTCOUNT_ADDR IRAM_BASE_ADDR
|
|
#define CONFIG_SYS_BOOTCOUNT_BE
|
|
|
|
/*
|
|
* Remove all unused interfaces / commands that are defined in
|
|
* the common header tqms6.h
|
|
*/
|
|
#undef CONFIG_MXC_SPI
|
|
|
|
#endif /* __CONFIG_TQMA6_WRU4_H */
|