Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
Rk3576 Downstream U-Boot
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor 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
Nicolas Frattaroli
Rk3576 Downstream U-Boot
Commits
012d5bab
Commit
012d5bab
authored
16 years ago
by
Jean-Christophe PLAGNIOL-VILLARD
Browse files
Options
Downloads
Patches
Plain Diff
ixp: Move conditional compilation to Makefile
Signed-off-by:
Jean-Christophe PLAGNIOL-VILLARD
<
plagnioj@jcrosoft.com
>
parent
f693f501
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
cpu/ixp/Makefile
+10
-4
10 additions, 4 deletions
cpu/ixp/Makefile
cpu/ixp/pci.c
+0
-4
0 additions, 4 deletions
cpu/ixp/pci.c
cpu/ixp/timer.c
+0
-2
0 additions, 2 deletions
cpu/ixp/timer.c
with
10 additions
and
10 deletions
cpu/ixp/Makefile
+
10
−
4
View file @
012d5bab
...
...
@@ -26,10 +26,16 @@ include $(TOPDIR)/config.mk
LIB
=
$(
obj
)
lib
$(
CPU
)
.a
START
=
start.o
COBJS
=
serial.o interrupts.o cpu.o timer.o pci.o
SRCS
:=
$(
START:.o
=
.S
)
$(
SOBJS:.o
=
.S
)
$(
COBJS:.o
=
.c
)
OBJS
:=
$(
addprefix
$(
obj
)
,
$(
SOBJS
)
$(
COBJS
))
COBJS-y
+=
cpu.o
COBJS-y
+=
interrupts.o
COBJS-$(CONFIG_PCI)
+=
pci.o
COBJS-y
+=
serial.o
ifndef
CONFIG_USE_IRQ
COBJS-y
+=
timer.o
endif
SRCS
:=
$(
START:.o
=
.S
)
$(
SOBJS-y:.o
=
.S
)
$(
COBJS-y:.o
=
.c
)
OBJS
:=
$(
addprefix
$(
obj
)
,
$(
SOBJS-y
)
$(
COBJS-y
))
START
:=
$(
addprefix
$(
obj
)
,
$(
START
))
all
:
$(obj).depend $(START) $(LIB)
...
...
This diff is collapsed.
Click to expand it.
cpu/ixp/pci.c
+
0
−
4
View file @
012d5bab
...
...
@@ -24,9 +24,6 @@
#include
<common.h>
#ifdef CONFIG_PCI
#include
<asm/processor.h>
#include
<asm/io.h>
#include
<pci.h>
...
...
@@ -572,4 +569,3 @@ pci_dev_t pci_find_devices (struct pci_device_id * ids, int devNo)
}
return
-
1
;
}
#endif
/* CONFIG_PCI */
This diff is collapsed.
Click to expand it.
cpu/ixp/timer.c
+
0
−
2
View file @
012d5bab
...
...
@@ -32,7 +32,6 @@
#include
<common.h>
#include
<asm/arch/ixp425.h>
#ifndef CONFIG_USE_IRQ
ulong
get_timer
(
ulong
base
)
{
return
get_timer_masked
()
-
base
;
...
...
@@ -80,4 +79,3 @@ ulong get_timer_masked (void)
}
return
(
reload_constant
-
current
);
}
#endif
/* #ifndef CONFIG_USE_IRQ */
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