mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-26 06:30:39 +00:00
ti_armv7_common: i2c: do not define DM_I2C for spl
Since omap's spl doesn't support DM currently, do not define DM_I2C for spl build. Signed-off-by: Mugunthan V N <mugunthanvnm@ti.com> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
5142ac7916
commit
eff6b7731b
1 changed files with 8 additions and 0 deletions
|
@ -108,6 +108,14 @@
|
|||
/* Timer information. */
|
||||
#define CONFIG_SYS_PTV 2 /* Divisor: 2^(PTV+1) => 8 */
|
||||
|
||||
/*
|
||||
* Disable DM_* for SPL build and can be re-enabled after adding
|
||||
* DM support in SPL
|
||||
*/
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#undef CONFIG_DM_I2C
|
||||
#endif
|
||||
|
||||
/* I2C IP block */
|
||||
#define CONFIG_I2C
|
||||
#define CONFIG_SYS_I2C
|
||||
|
|
Loading…
Reference in a new issue