mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-08 14:14:32 +00:00
69d9eda4da
It is quite confusing that CONFIG_SYS_I2C selects the legacy I2C and CONFIG_DM_I2C selects the current I2C. The deadline to migrate I2C is less than a year away. Also we want to have a CONFIG_I2C for U-Boot proper just like we have CONFIG_SPL_I2C for SPL, so we can simplify the Makefile rules. Rename this symbol so it is clear it is going away. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Heiko Schocher <hs@denx.de>
35 lines
725 B
C
35 lines
725 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright (C) 2015 Stefan Roese <sr@denx.de>
|
|
*/
|
|
|
|
#ifndef __CONFIG_TQMA6_WRU4_H
|
|
#define __CONFIG_TQMA6_WRU4_H
|
|
|
|
/* Ethernet */
|
|
#define CONFIG_FEC_XCV_TYPE RMII
|
|
#define CONFIG_ETHPRIME "FEC"
|
|
#define CONFIG_FEC_MXC_PHYADDR 0x01
|
|
|
|
/* UART */
|
|
#define CONFIG_MXC_UART_BASE UART4_BASE
|
|
#define CONSOLE_DEV "ttymxc3"
|
|
|
|
/* Watchdog */
|
|
|
|
/* 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_RTC_DS1337_NOOSC
|
|
|
|
/* LED */
|
|
|
|
/* Bootcounter */
|
|
#define CONFIG_SYS_BOOTCOUNT_BE
|
|
|
|
/* I2C */
|
|
#define CONFIG_SYS_I2C_LEGACY
|
|
|
|
#endif /* __CONFIG_TQMA6_WRU4_H */
|