Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
reform-boundary-uboot
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jack Humbert
reform-boundary-uboot
Commits
b4746d8b
Commit
b4746d8b
authored
16 years ago
by
Mike Frysinger
Committed by
Wolfgang Denk
16 years ago
Browse files
Options
Downloads
Patches
Plain Diff
drivers/serial/ns16550: move ifdef into Makefile COBJS-$(...)
Signed-off-by:
Mike Frysinger
<
vapier@gentoo.org
>
parent
6bcb4b80
No related branches found
Branches containing commit
No related tags found
Tags containing commit
Loading
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
drivers/serial/Makefile
+2
-2
2 additions, 2 deletions
drivers/serial/Makefile
drivers/serial/ns16550.c
+1
-5
1 addition, 5 deletions
drivers/serial/ns16550.c
drivers/serial/serial.c
+0
-4
0 additions, 4 deletions
drivers/serial/serial.c
with
3 additions
and
11 deletions
drivers/serial/Makefile
+
2
−
2
View file @
b4746d8b
...
@@ -28,10 +28,10 @@ LIB := $(obj)libserial.a
...
@@ -28,10 +28,10 @@ LIB := $(obj)libserial.a
COBJS-$(CONFIG_ATMEL_USART)
+=
atmel_usart.o
COBJS-$(CONFIG_ATMEL_USART)
+=
atmel_usart.o
COBJS-$(CONFIG_MCFUART)
+=
mcfuart.o
COBJS-$(CONFIG_MCFUART)
+=
mcfuart.o
COBJS-$(CONFIG_NS9750_UART)
+=
ns9750_serial.o
COBJS-$(CONFIG_NS9750_UART)
+=
ns9750_serial.o
COBJS-
y
+=
ns16550.o
COBJS-
$(CONFIG_SYS_NS16550)
+=
ns16550.o
COBJS-$(CONFIG_DRIVER_S3C4510_UART)
+=
s3c4510b_uart.o
COBJS-$(CONFIG_DRIVER_S3C4510_UART)
+=
s3c4510b_uart.o
COBJS-$(CONFIG_S3C64XX)
+=
s3c64xx.o
COBJS-$(CONFIG_S3C64XX)
+=
s3c64xx.o
COBJS-
y
+=
serial.o
COBJS-
$(CONFIG_SYS_NS16550_SERIAL)
+=
serial.o
COBJS-$(CONFIG_IXP_SERIAL)
+=
serial_ixp.o
COBJS-$(CONFIG_IXP_SERIAL)
+=
serial_ixp.o
COBJS-$(CONFIG_MAX3100_SERIAL)
+=
serial_max3100.o
COBJS-$(CONFIG_MAX3100_SERIAL)
+=
serial_max3100.o
COBJS-$(CONFIG_PL010_SERIAL)
+=
serial_pl01x.o
COBJS-$(CONFIG_PL010_SERIAL)
+=
serial_pl01x.o
...
...
This diff is collapsed.
Click to expand it.
drivers/serial/ns16550.c
+
1
−
5
View file @
b4746d8b
...
@@ -5,9 +5,6 @@
...
@@ -5,9 +5,6 @@
*/
*/
#include
<config.h>
#include
<config.h>
#ifdef CONFIG_SYS_NS16550
#include
<ns16550.h>
#include
<ns16550.h>
#define LCRVAL LCR_8N1
/* 8 data, 1 stop, no parity */
#define LCRVAL LCR_8N1
/* 8 data, 1 stop, no parity */
...
@@ -36,7 +33,7 @@ void NS16550_init (NS16550_t com_port, int baud_divisor)
...
@@ -36,7 +33,7 @@ void NS16550_init (NS16550_t com_port, int baud_divisor)
#else
#else
com_port
->
mdr1
=
0
;
/* /16 is proper to hit 115200 with 48MHz */
com_port
->
mdr1
=
0
;
/* /16 is proper to hit 115200 with 48MHz */
#endif
#endif
#endif
#endif
/* CONFIG_OMAP */
}
}
#ifndef CONFIG_NS16550_MIN_FUNCTIONS
#ifndef CONFIG_NS16550_MIN_FUNCTIONS
...
@@ -80,4 +77,3 @@ int NS16550_tstc (NS16550_t com_port)
...
@@ -80,4 +77,3 @@ int NS16550_tstc (NS16550_t com_port)
}
}
#endif
/* CONFIG_NS16550_MIN_FUNCTIONS */
#endif
/* CONFIG_NS16550_MIN_FUNCTIONS */
#endif
This diff is collapsed.
Click to expand it.
drivers/serial/serial.c
+
0
−
4
View file @
b4746d8b
...
@@ -23,8 +23,6 @@
...
@@ -23,8 +23,6 @@
#include
<common.h>
#include
<common.h>
#ifdef CONFIG_SYS_NS16550_SERIAL
#include
<ns16550.h>
#include
<ns16550.h>
#ifdef CONFIG_NS87308
#ifdef CONFIG_NS87308
#include
<ns87308.h>
#include
<ns87308.h>
...
@@ -328,5 +326,3 @@ DECLARE_ESERIAL_FUNCTIONS(4);
...
@@ -328,5 +326,3 @@ DECLARE_ESERIAL_FUNCTIONS(4);
struct
serial_device
eserial4_device
=
struct
serial_device
eserial4_device
=
INIT_ESERIAL_STRUCTURE
(
4
,
"eserial3"
,
"EUART4"
);
INIT_ESERIAL_STRUCTURE
(
4
,
"eserial3"
,
"EUART4"
);
#endif
/* CONFIG_SERIAL_MULTI */
#endif
/* CONFIG_SERIAL_MULTI */
#endif
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment