Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
0c1c8511
Commit
0c1c8511
authored
Jan 14, 2011
by
Sascha Hauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARM i.MX51 mx51 3ds: remove unnecessary CONFIG_SERIAL_IMX ifdefs
Signed-off-by:
Sascha Hauer
<
s.hauer@pengutronix.de
>
parent
b49a2a69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
14 deletions
+4
-14
arch/arm/mach-mx5/board-mx51_3ds.c
arch/arm/mach-mx5/board-mx51_3ds.c
+4
-14
No files found.
arch/arm/mach-mx5/board-mx51_3ds.c
View file @
0c1c8511
...
...
@@ -71,23 +71,10 @@ static iomux_v3_cfg_t mx51_3ds_pads[] = {
};
/* Serial ports */
#if defined(CONFIG_SERIAL_IMX) || defined(CONFIG_SERIAL_IMX_MODULE)
static
const
struct
imxuart_platform_data
uart_pdata
__initconst
=
{
.
flags
=
IMXUART_HAVE_RTSCTS
,
};
static
inline
void
mxc_init_imx_uart
(
void
)
{
imx51_add_imx_uart
(
0
,
&
uart_pdata
);
imx51_add_imx_uart
(
1
,
&
uart_pdata
);
imx51_add_imx_uart
(
2
,
&
uart_pdata
);
}
#else
/* !SERIAL_IMX */
static
inline
void
mxc_init_imx_uart
(
void
)
{
}
#endif
/* SERIAL_IMX */
#if defined(CONFIG_KEYBOARD_IMX) || defined(CONFIG_KEYBOARD_IMX_MODULE)
static
int
mx51_3ds_board_keymap
[]
=
{
KEY
(
0
,
0
,
KEY_1
),
...
...
@@ -161,7 +148,10 @@ static void __init mxc_board_init(void)
{
mxc_iomux_v3_setup_multiple_pads
(
mx51_3ds_pads
,
ARRAY_SIZE
(
mx51_3ds_pads
));
mxc_init_imx_uart
();
imx51_add_imx_uart
(
0
,
&
uart_pdata
);
imx51_add_imx_uart
(
1
,
&
uart_pdata
);
imx51_add_imx_uart
(
2
,
&
uart_pdata
);
imx51_add_ecspi
(
1
,
&
mx51_3ds_ecspi2_pdata
);
spi_register_board_info
(
mx51_3ds_spi_nor_device
,
...
...
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