Merge branch 'master' of git://git.denx.de/u-boot-spi
This commit is contained in:
@@ -23,8 +23,6 @@
|
||||
* DM support in SPL
|
||||
*/
|
||||
#ifdef CONFIG_SPL_BUILD
|
||||
#undef CONFIG_DM_SPI
|
||||
#undef CONFIG_DM_SPI_FLASH
|
||||
#undef CONFIG_DM_I2C
|
||||
#undef CONFIG_DM_I2C_COMPAT
|
||||
#endif
|
||||
@@ -118,7 +116,6 @@
|
||||
|
||||
#if !CONFIG_IS_ENABLED(DM_SERIAL)
|
||||
#define CONFIG_SYS_NS16550_SERIAL
|
||||
#define CONFIG_SYS_NS16550_REG_SIZE -4 /* NS16550 register size */
|
||||
#define CONFIG_SYS_NS16550_COM1 DAVINCI_UART2_BASE /* Base address of UART2 */
|
||||
#endif
|
||||
#define CONFIG_SYS_NS16550_CLK clk_get(DAVINCI_UART2_CLKID)
|
||||
|
||||
15
include/dm/platform_data/spi_davinci.h
Normal file
15
include/dm/platform_data/spi_davinci.h
Normal file
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* Copyright (C) 2018 Jagan Teki <jagan@amarulasolutions.com>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0+
|
||||
*/
|
||||
|
||||
#ifndef __spi_davinci_h
|
||||
#define __spi_davinci_h
|
||||
|
||||
struct davinci_spi_platdata {
|
||||
struct davinci_spi_regs *regs;
|
||||
u8 num_cs; /* total no. of CS available */
|
||||
};
|
||||
|
||||
#endif /* __spi_davinci_h */
|
||||
Reference in New Issue
Block a user