mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-25 13:43:55 +08:00
7034217467
Currently each DaVinci board file #define's its own version of the EMIFA base addresses (all named DAVINCI_ASYNC_EMIF_*_BASE), which leads to duplication. Move these #define's to the SoC specific headers, changing their prefixes from 'DAVINCI' to the 'DM355', 'DM644X', and 'DM646X' since all these base addresses are SoC specific... And while at it, rename DM646X_ASYNC_EMIF_DATA_CE0_BASE to DM646X_ASYNC_EMIF_CS2_SPACE_BASE in order to match the DM646x datasheet. Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com> Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
33 lines
930 B
C
33 lines
930 B
C
/*
|
|
* Chip specific defines for DM355 SoC
|
|
*
|
|
* Author: Kevin Hilman, Deep Root Systems, LLC
|
|
*
|
|
* 2007 (c) Deep Root Systems, LLC. This file is licensed under
|
|
* the terms of the GNU General Public License version 2. This program
|
|
* is licensed "as is" without any warranty of any kind, whether express
|
|
* or implied.
|
|
*/
|
|
#ifndef __ASM_ARCH_DM355_H
|
|
#define __ASM_ARCH_DM355_H
|
|
|
|
#include <mach/hardware.h>
|
|
#include <mach/asp.h>
|
|
#include <media/davinci/vpfe_capture.h>
|
|
|
|
#define DM355_ASYNC_EMIF_CONTROL_BASE 0x01E10000
|
|
#define DM355_ASYNC_EMIF_DATA_CE0_BASE 0x02000000
|
|
|
|
#define ASP1_TX_EVT_EN 1
|
|
#define ASP1_RX_EVT_EN 2
|
|
|
|
struct spi_board_info;
|
|
|
|
void __init dm355_init(void);
|
|
void dm355_init_spi0(unsigned chipselect_mask,
|
|
struct spi_board_info *info, unsigned len);
|
|
void __init dm355_init_asp1(u32 evt_enable, struct snd_platform_data *pdata);
|
|
void dm355_set_vpfe_config(struct vpfe_config *cfg);
|
|
|
|
#endif /* __ASM_ARCH_DM355_H */
|