Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
6c76c197
Commit
6c76c197
authored
Nov 21, 2008
by
Kevin Hilman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DaVinci: DM644x: remove #ifdefs from board init code
Signed-off-by:
Kevin Hilman
<
khilman@deeprootsystems.com
>
parent
1dd27789
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
25 deletions
+0
-25
arch/arm/mach-davinci/board-dm644x-evm.c
arch/arm/mach-davinci/board-dm644x-evm.c
+0
-25
No files found.
arch/arm/mach-davinci/board-dm644x-evm.c
View file @
6c76c197
...
@@ -48,9 +48,6 @@
...
@@ -48,9 +48,6 @@
#define DAVINCI_ASYNC_EMIF_DATA_CE2_BASE 0x06000000
#define DAVINCI_ASYNC_EMIF_DATA_CE2_BASE 0x06000000
#define DAVINCI_ASYNC_EMIF_DATA_CE3_BASE 0x08000000
#define DAVINCI_ASYNC_EMIF_DATA_CE3_BASE 0x08000000
#if defined(CONFIG_MTD_PHYSMAP) || \
defined(CONFIG_MTD_PHYSMAP_MODULE)
static
struct
mtd_partition
davinci_evm_norflash_partitions
[]
=
{
static
struct
mtd_partition
davinci_evm_norflash_partitions
[]
=
{
/* bootloader (U-Boot, etc) in first 4 sectors */
/* bootloader (U-Boot, etc) in first 4 sectors */
{
{
...
@@ -106,9 +103,6 @@ static struct platform_device davinci_evm_norflash_device = {
...
@@ -106,9 +103,6 @@ static struct platform_device davinci_evm_norflash_device = {
.
resource
=
&
davinci_evm_norflash_resource
,
.
resource
=
&
davinci_evm_norflash_resource
,
};
};
#endif
#if defined(CONFIG_MTD_NAND_DAVINCI) || defined(CONFIG_MTD_NAND_DAVINCI_MODULE)
struct
mtd_partition
davinci_evm_nandflash_partition
[]
=
{
struct
mtd_partition
davinci_evm_nandflash_partition
[]
=
{
/* 5 MB space at the beginning for bootloader and kernel */
/* 5 MB space at the beginning for bootloader and kernel */
{
{
...
@@ -139,9 +133,6 @@ static struct platform_device davinci_evm_nandflash_device = {
...
@@ -139,9 +133,6 @@ static struct platform_device davinci_evm_nandflash_device = {
.
num_resources
=
1
,
.
num_resources
=
1
,
.
resource
=
&
davinci_evm_nandflash_resource
,
.
resource
=
&
davinci_evm_nandflash_resource
,
};
};
#endif
#if defined(CONFIG_FB_DAVINCI) || defined(CONFIG_FB_DAVINCI_MODULE)
static
u64
davinci_fb_dma_mask
=
DMA_32BIT_MASK
;
static
u64
davinci_fb_dma_mask
=
DMA_32BIT_MASK
;
...
@@ -154,16 +145,12 @@ static struct platform_device davinci_fb_device = {
...
@@ -154,16 +145,12 @@ static struct platform_device davinci_fb_device = {
},
},
.
num_resources
=
0
,
.
num_resources
=
0
,
};
};
#endif
static
struct
platform_device
rtc_dev
=
{
static
struct
platform_device
rtc_dev
=
{
.
name
=
"rtc_davinci_evm"
,
.
name
=
"rtc_davinci_evm"
,
.
id
=
-
1
,
.
id
=
-
1
,
};
};
#if defined(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \
defined(CONFIG_BLK_DEV_PALMCHIP_BK3710_MODULE)
static
struct
resource
ide_resources
[]
=
{
static
struct
resource
ide_resources
[]
=
{
{
{
.
start
=
DAVINCI_CFC_ATA_BASE
,
.
start
=
DAVINCI_CFC_ATA_BASE
,
...
@@ -190,8 +177,6 @@ static struct platform_device ide_dev = {
...
@@ -190,8 +177,6 @@ static struct platform_device ide_dev = {
},
},
};
};
#endif
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
/*
/*
...
@@ -481,21 +466,11 @@ static void __init evm_init_i2c(void)
...
@@ -481,21 +466,11 @@ static void __init evm_init_i2c(void)
}
}
static
struct
platform_device
*
davinci_evm_devices
[]
__initdata
=
{
static
struct
platform_device
*
davinci_evm_devices
[]
__initdata
=
{
#if defined(CONFIG_MTD_PHYSMAP) || \
defined(CONFIG_MTD_PHYSMAP_MODULE)
&
davinci_evm_norflash_device
,
&
davinci_evm_norflash_device
,
#endif
#if defined(CONFIG_MTD_NAND_DAVINCI) || defined(CONFIG_MTD_NAND_DAVINCI_MODULE)
&
davinci_evm_nandflash_device
,
&
davinci_evm_nandflash_device
,
#endif
#if defined(CONFIG_FB_DAVINCI) || defined(CONFIG_FB_DAVINCI_MODULE)
&
davinci_fb_device
,
&
davinci_fb_device
,
#endif
&
rtc_dev
,
&
rtc_dev
,
#if defined(CONFIG_BLK_DEV_PALMCHIP_BK3710) || \
defined(CONFIG_BLK_DEV_PALMCHIP_BK3710_MODULE)
&
ide_dev
,
&
ide_dev
,
#endif
};
};
static
struct
davinci_uart_config
davinci_evm_uart_config
__initdata
=
{
static
struct
davinci_uart_config
davinci_evm_uart_config
__initdata
=
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment