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
d6c662d4
Commit
d6c662d4
authored
Feb 10, 2006
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
git://git.kernel.org/pub/scm/linux/kernel/git/paulus/powerpc-merge
parents
21b4da78
00adbf62
Changes
7
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
72 additions
and
290 deletions
+72
-290
Documentation/powerpc/booting-without-of.txt
Documentation/powerpc/booting-without-of.txt
+59
-1
arch/powerpc/Kconfig
arch/powerpc/Kconfig
+6
-0
arch/powerpc/Makefile
arch/powerpc/Makefile
+1
-0
arch/powerpc/kernel/Makefile
arch/powerpc/kernel/Makefile
+3
-3
arch/powerpc/kernel/systbl.S
arch/powerpc/kernel/systbl.S
+1
-2
arch/ppc/kernel/misc.S
arch/ppc/kernel/misc.S
+0
-283
include/asm-powerpc/unistd.h
include/asm-powerpc/unistd.h
+2
-1
No files found.
Documentation/powerpc/booting-without-of.txt
View file @
d6c662d4
...
@@ -44,7 +44,6 @@
...
@@ -44,7 +44,6 @@
compiler and the textural representation of
compiler and the textural representation of
the tree that can be "compiled" by dtc.
the tree that can be "compiled" by dtc.
November 21, 2005: Rev 0.5
November 21, 2005: Rev 0.5
- Additions/generalizations for 32-bit
- Additions/generalizations for 32-bit
- Changed to reflect the new arch/powerpc
- Changed to reflect the new arch/powerpc
...
@@ -1307,6 +1306,65 @@ platforms are moved over to use the flattened-device-tree model.
...
@@ -1307,6 +1306,65 @@ platforms are moved over to use the flattened-device-tree model.
};
};
f) Freescale SOC USB controllers
The device node for a USB controller that is part of a Freescale
SOC is as described in the document "Open Firmware Recommended
Practice : Universal Serial Bus" with the following modifications
and additions :
Required properties :
- compatible : Should be "fsl-usb2-mph" for multi port host usb
controllers, or "fsl-usb2-dr" for dual role usb controllers
- phy_type : For multi port host usb controllers, should be one of
"ulpi", or "serial". For dual role usb controllers, should be
one of "ulpi", "utmi", "utmi_wide", or "serial".
- reg : Offset and length of the register set for the device
- port0 : boolean; if defined, indicates port0 is connected for
fsl-usb2-mph compatible controllers. Either this property or
"port1" (or both) must be defined for "fsl-usb2-mph" compatible
controllers.
- port1 : boolean; if defined, indicates port1 is connected for
fsl-usb2-mph compatible controllers. Either this property or
"port0" (or both) must be defined for "fsl-usb2-mph" compatible
controllers.
Recommended properties :
- interrupts : <a b> where a is the interrupt number and b is a
field that represents an encoding of the sense and level
information for the interrupt. This should be encoded based on
the information in section 2) depending on the type of interrupt
controller you have.
- interrupt-parent : the phandle for the interrupt controller that
services interrupts for this device.
Example multi port host usb controller device node :
usb@22000 {
device_type = "usb";
compatible = "fsl-usb2-mph";
reg = <22000 1000>;
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <27 1>;
phy_type = "ulpi";
port0;
port1;
};
Example dual role usb controller device node :
usb@23000 {
device_type = "usb";
compatible = "fsl-usb2-dr";
reg = <23000 1000>;
#address-cells = <1>;
#size-cells = <0>;
interrupt-parent = <700>;
interrupts = <26 1>;
phy = "ulpi";
};
More devices will be defined as this spec matures.
More devices will be defined as this spec matures.
...
...
arch/powerpc/Kconfig
View file @
d6c662d4
...
@@ -83,6 +83,12 @@ config GENERIC_TBSYNC
...
@@ -83,6 +83,12 @@ config GENERIC_TBSYNC
default y if PPC32 && SMP
default y if PPC32 && SMP
default n
default n
config DEFAULT_UIMAGE
bool
help
Used to allow a board to specify it wants a uImage built by default
default n
menu "Processor support"
menu "Processor support"
choice
choice
prompt "Processor Type"
prompt "Processor Type"
...
...
arch/powerpc/Makefile
View file @
d6c662d4
...
@@ -142,6 +142,7 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/
...
@@ -142,6 +142,7 @@ drivers-$(CONFIG_OPROFILE) += arch/powerpc/oprofile/
# Default to zImage, override when needed
# Default to zImage, override when needed
defaultimage-y
:=
zImage
defaultimage-y
:=
zImage
defaultimage-$(CONFIG_PPC_ISERIES)
:=
vmlinux
defaultimage-$(CONFIG_PPC_ISERIES)
:=
vmlinux
defaultimage-$(CONFIG_DEFAULT_UIMAGE)
:=
uImage
KBUILD_IMAGE
:=
$
(
defaultimage-y
)
KBUILD_IMAGE
:=
$
(
defaultimage-y
)
all
:
$(KBUILD_IMAGE)
all
:
$(KBUILD_IMAGE)
...
...
arch/powerpc/kernel/Makefile
View file @
d6c662d4
...
@@ -12,10 +12,10 @@ endif
...
@@ -12,10 +12,10 @@ endif
obj-y
:=
semaphore.o cputable.o ptrace.o syscalls.o
\
obj-y
:=
semaphore.o cputable.o ptrace.o syscalls.o
\
irq.o align.o signal_32.o pmc.o vdso.o
\
irq.o align.o signal_32.o pmc.o vdso.o
\
init_task.o process.o
init_task.o process.o
systbl.o
obj-y
+=
vdso32/
obj-y
+=
vdso32/
obj-$(CONFIG_PPC64)
+=
setup_64.o binfmt_elf32.o sys_ppc32.o
\
obj-$(CONFIG_PPC64)
+=
setup_64.o binfmt_elf32.o sys_ppc32.o
\
signal_64.o ptrace32.o
systbl.o
\
signal_64.o ptrace32.o
\
paca.o cpu_setup_power4.o
\
paca.o cpu_setup_power4.o
\
firmware.o sysfs.o idle_64.o
firmware.o sysfs.o idle_64.o
obj-$(CONFIG_PPC64)
+=
vdso64/
obj-$(CONFIG_PPC64)
+=
vdso64/
...
@@ -46,7 +46,7 @@ extra-$(CONFIG_8xx) := head_8xx.o
...
@@ -46,7 +46,7 @@ extra-$(CONFIG_8xx) := head_8xx.o
extra-y
+=
vmlinux.lds
extra-y
+=
vmlinux.lds
obj-y
+=
time.o prom.o traps.o setup-common.o udbg.o
obj-y
+=
time.o prom.o traps.o setup-common.o udbg.o
obj-$(CONFIG_PPC32)
+=
entry_32.o setup_32.o misc_32.o
systbl.o
obj-$(CONFIG_PPC32)
+=
entry_32.o setup_32.o misc_32.o
obj-$(CONFIG_PPC64)
+=
misc_64.o dma_64.o iommu.o
obj-$(CONFIG_PPC64)
+=
misc_64.o dma_64.o iommu.o
obj-$(CONFIG_PPC_MULTIPLATFORM)
+=
prom_init.o
obj-$(CONFIG_PPC_MULTIPLATFORM)
+=
prom_init.o
obj-$(CONFIG_MODULES)
+=
ppc_ksyms.o
obj-$(CONFIG_MODULES)
+=
ppc_ksyms.o
...
...
arch/powerpc/kernel/systbl.S
View file @
d6c662d4
...
@@ -36,8 +36,6 @@
...
@@ -36,8 +36,6 @@
#ifdef CONFIG_PPC64
#ifdef CONFIG_PPC64
#define sys_sigpending sys_ni_syscall
#define sys_sigpending sys_ni_syscall
#define sys_old_getrlimit sys_ni_syscall
#define sys_old_getrlimit sys_ni_syscall
#else
#define ppc_rtas sys_ni_syscall
#endif
#endif
_GLOBAL
(
sys_call_table
)
_GLOBAL
(
sys_call_table
)
...
@@ -323,3 +321,4 @@ SYSCALL(spu_run)
...
@@ -323,3 +321,4 @@ SYSCALL(spu_run)
SYSCALL
(
spu_create
)
SYSCALL
(
spu_create
)
COMPAT_SYS
(
pselect6
)
COMPAT_SYS
(
pselect6
)
COMPAT_SYS
(
ppoll
)
COMPAT_SYS
(
ppoll
)
SYSCALL
(
unshare
)
arch/ppc/kernel/misc.S
View file @
d6c662d4
...
@@ -1048,286 +1048,3 @@ _GLOBAL(name) \
...
@@ -1048,286 +1048,3 @@ _GLOBAL(name) \
blr
blr
SYSCALL
(
execve
)
SYSCALL
(
execve
)
/*
Why
isn
't this a) automatic, b) written in '
C
'? */
.
data
.
align
4
_GLOBAL
(
sys_call_table
)
.
long
sys_restart_syscall
/*
0
*/
.
long
sys_exit
.
long
ppc_fork
.
long
sys_read
.
long
sys_write
.
long
sys_open
/*
5
*/
.
long
sys_close
.
long
sys_waitpid
.
long
sys_creat
.
long
sys_link
.
long
sys_unlink
/*
10
*/
.
long
sys_execve
.
long
sys_chdir
.
long
sys_time
.
long
sys_mknod
.
long
sys_chmod
/*
15
*/
.
long
sys_lchown
.
long
sys_ni_syscall
/*
old
break
syscall
holder
*/
.
long
sys_stat
.
long
sys_lseek
.
long
sys_getpid
/*
20
*/
.
long
sys_mount
.
long
sys_oldumount
.
long
sys_setuid
.
long
sys_getuid
.
long
sys_stime
/*
25
*/
.
long
sys_ptrace
.
long
sys_alarm
.
long
sys_fstat
.
long
sys_pause
.
long
sys_utime
/*
30
*/
.
long
sys_ni_syscall
/*
old
stty
syscall
holder
*/
.
long
sys_ni_syscall
/*
old
gtty
syscall
holder
*/
.
long
sys_access
.
long
sys_nice
.
long
sys_ni_syscall
/*
35
*/
/*
old
ftime
syscall
holder
*/
.
long
sys_sync
.
long
sys_kill
.
long
sys_rename
.
long
sys_mkdir
.
long
sys_rmdir
/*
40
*/
.
long
sys_dup
.
long
sys_pipe
.
long
sys_times
.
long
sys_ni_syscall
/*
old
prof
syscall
holder
*/
.
long
sys_brk
/*
45
*/
.
long
sys_setgid
.
long
sys_getgid
.
long
sys_signal
.
long
sys_geteuid
.
long
sys_getegid
/*
50
*/
.
long
sys_acct
.
long
sys_umount
/*
recycled
never
used
phys
()
*/
.
long
sys_ni_syscall
/*
old
lock
syscall
holder
*/
.
long
sys_ioctl
.
long
sys_fcntl
/*
55
*/
.
long
sys_ni_syscall
/*
old
mpx
syscall
holder
*/
.
long
sys_setpgid
.
long
sys_ni_syscall
/*
old
ulimit
syscall
holder
*/
.
long
sys_olduname
.
long
sys_umask
/*
60
*/
.
long
sys_chroot
.
long
sys_ustat
.
long
sys_dup2
.
long
sys_getppid
.
long
sys_getpgrp
/*
65
*/
.
long
sys_setsid
.
long
sys_sigaction
.
long
sys_sgetmask
.
long
sys_ssetmask
.
long
sys_setreuid
/*
70
*/
.
long
sys_setregid
.
long
sys_sigsuspend
.
long
sys_sigpending
.
long
sys_sethostname
.
long
sys_setrlimit
/*
75
*/
.
long
sys_old_getrlimit
.
long
sys_getrusage
.
long
sys_gettimeofday
.
long
sys_settimeofday
.
long
sys_getgroups
/*
80
*/
.
long
sys_setgroups
.
long
ppc_select
.
long
sys_symlink
.
long
sys_lstat
.
long
sys_readlink
/*
85
*/
.
long
sys_uselib
.
long
sys_swapon
.
long
sys_reboot
.
long
old_readdir
.
long
sys_mmap
/*
90
*/
.
long
sys_munmap
.
long
sys_truncate
.
long
sys_ftruncate
.
long
sys_fchmod
.
long
sys_fchown
/*
95
*/
.
long
sys_getpriority
.
long
sys_setpriority
.
long
sys_ni_syscall
/*
old
profil
syscall
holder
*/
.
long
sys_statfs
.
long
sys_fstatfs
/*
100
*/
.
long
sys_ni_syscall
.
long
sys_socketcall
.
long
sys_syslog
.
long
sys_setitimer
.
long
sys_getitimer
/*
105
*/
.
long
sys_newstat
.
long
sys_newlstat
.
long
sys_newfstat
.
long
sys_uname
.
long
sys_ni_syscall
/*
110
*/
.
long
sys_vhangup
.
long
sys_ni_syscall
/*
old
'idle'
syscall
*/
.
long
sys_ni_syscall
.
long
sys_wait4
.
long
sys_swapoff
/*
115
*/
.
long
sys_sysinfo
.
long
sys_ipc
.
long
sys_fsync
.
long
sys_sigreturn
.
long
ppc_clone
/*
120
*/
.
long
sys_setdomainname
.
long
sys_newuname
.
long
sys_ni_syscall
.
long
sys_adjtimex
.
long
sys_mprotect
/*
125
*/
.
long
sys_sigprocmask
.
long
sys_ni_syscall
/*
old
sys_create_module
*/
.
long
sys_init_module
.
long
sys_delete_module
.
long
sys_ni_syscall
/*
old
sys_get_kernel_syms
*/
/*
130
*/
.
long
sys_quotactl
.
long
sys_getpgid
.
long
sys_fchdir
.
long
sys_bdflush
.
long
sys_sysfs
/*
135
*/
.
long
sys_personality
.
long
sys_ni_syscall
/*
for
afs_syscall
*/
.
long
sys_setfsuid
.
long
sys_setfsgid
.
long
sys_llseek
/*
140
*/
.
long
sys_getdents
.
long
ppc_select
.
long
sys_flock
.
long
sys_msync
.
long
sys_readv
/*
145
*/
.
long
sys_writev
.
long
sys_getsid
.
long
sys_fdatasync
.
long
sys_sysctl
.
long
sys_mlock
/*
150
*/
.
long
sys_munlock
.
long
sys_mlockall
.
long
sys_munlockall
.
long
sys_sched_setparam
.
long
sys_sched_getparam
/*
155
*/
.
long
sys_sched_setscheduler
.
long
sys_sched_getscheduler
.
long
sys_sched_yield
.
long
sys_sched_get_priority_max
.
long
sys_sched_get_priority_min
/*
160
*/
.
long
sys_sched_rr_get_interval
.
long
sys_nanosleep
.
long
sys_mremap
.
long
sys_setresuid
.
long
sys_getresuid
/*
165
*/
.
long
sys_ni_syscall
/*
old
sys_query_module
*/
.
long
sys_poll
.
long
sys_nfsservctl
.
long
sys_setresgid
.
long
sys_getresgid
/*
170
*/
.
long
sys_prctl
.
long
sys_rt_sigreturn
.
long
sys_rt_sigaction
.
long
sys_rt_sigprocmask
.
long
sys_rt_sigpending
/*
175
*/
.
long
sys_rt_sigtimedwait
.
long
sys_rt_sigqueueinfo
.
long
sys_rt_sigsuspend
.
long
sys_pread64
.
long
sys_pwrite64
/*
180
*/
.
long
sys_chown
.
long
sys_getcwd
.
long
sys_capget
.
long
sys_capset
.
long
sys_sigaltstack
/*
185
*/
.
long
sys_sendfile
.
long
sys_ni_syscall
/*
streams1
*/
.
long
sys_ni_syscall
/*
streams2
*/
.
long
ppc_vfork
.
long
sys_getrlimit
/*
190
*/
.
long
sys_readahead
.
long
sys_mmap2
.
long
sys_truncate64
.
long
sys_ftruncate64
.
long
sys_stat64
/*
195
*/
.
long
sys_lstat64
.
long
sys_fstat64
.
long
sys_pciconfig_read
.
long
sys_pciconfig_write
.
long
sys_pciconfig_iobase
/*
200
*/
.
long
sys_ni_syscall
/*
201
-
reserved
-
MacOnLinux
-
new
*/
.
long
sys_getdents64
.
long
sys_pivot_root
.
long
sys_fcntl64
.
long
sys_madvise
/*
205
*/
.
long
sys_mincore
.
long
sys_gettid
.
long
sys_tkill
.
long
sys_setxattr
.
long
sys_lsetxattr
/*
210
*/
.
long
sys_fsetxattr
.
long
sys_getxattr
.
long
sys_lgetxattr
.
long
sys_fgetxattr
.
long
sys_listxattr
/*
215
*/
.
long
sys_llistxattr
.
long
sys_flistxattr
.
long
sys_removexattr
.
long
sys_lremovexattr
.
long
sys_fremovexattr
/*
220
*/
.
long
sys_futex
.
long
sys_sched_setaffinity
.
long
sys_sched_getaffinity
.
long
sys_ni_syscall
.
long
sys_ni_syscall
/*
225
-
reserved
for
Tux
*/
.
long
sys_sendfile64
.
long
sys_io_setup
.
long
sys_io_destroy
.
long
sys_io_getevents
.
long
sys_io_submit
/*
230
*/
.
long
sys_io_cancel
.
long
sys_set_tid_address
.
long
sys_fadvise64
.
long
sys_exit_group
.
long
sys_lookup_dcookie
/*
235
*/
.
long
sys_epoll_create
.
long
sys_epoll_ctl
.
long
sys_epoll_wait
.
long
sys_remap_file_pages
.
long
sys_timer_create
/*
240
*/
.
long
sys_timer_settime
.
long
sys_timer_gettime
.
long
sys_timer_getoverrun
.
long
sys_timer_delete
.
long
sys_clock_settime
/*
245
*/
.
long
sys_clock_gettime
.
long
sys_clock_getres
.
long
sys_clock_nanosleep
.
long
sys_swapcontext
.
long
sys_tgkill
/*
250
*/
.
long
sys_utimes
.
long
sys_statfs64
.
long
sys_fstatfs64
.
long
ppc_fadvise64_64
.
long
sys_ni_syscall
/*
255
-
rtas
(
used
on
ppc64
)
*/
.
long
sys_debug_setcontext
.
long
sys_ni_syscall
/*
257
reserved
for
vserver
*/
.
long
sys_ni_syscall
/*
258
reserved
for
new
sys_remap_file_pages
*/
.
long
sys_ni_syscall
/*
259
reserved
for
new
sys_mbind
*/
.
long
sys_ni_syscall
/*
260
reserved
for
new
sys_get_mempolicy
*/
.
long
sys_ni_syscall
/*
261
reserved
for
new
sys_set_mempolicy
*/
.
long
sys_mq_open
.
long
sys_mq_unlink
.
long
sys_mq_timedsend
.
long
sys_mq_timedreceive
/*
265
*/
.
long
sys_mq_notify
.
long
sys_mq_getsetattr
.
long
sys_kexec_load
.
long
sys_add_key
.
long
sys_request_key
/*
270
*/
.
long
sys_keyctl
.
long
sys_waitid
.
long
sys_ioprio_set
.
long
sys_ioprio_get
.
long
sys_inotify_init
/*
275
*/
.
long
sys_inotify_add_watch
.
long
sys_inotify_rm_watch
include/asm-powerpc/unistd.h
View file @
d6c662d4
...
@@ -300,8 +300,9 @@
...
@@ -300,8 +300,9 @@
#define __NR_spu_create 279
#define __NR_spu_create 279
#define __NR_pselect6 280
#define __NR_pselect6 280
#define __NR_ppoll 281
#define __NR_ppoll 281
#define __NR_unshare 282
#define __NR_syscalls 28
2
#define __NR_syscalls 28
3
#ifdef __KERNEL__
#ifdef __KERNEL__
#define __NR__exit __NR_exit
#define __NR__exit __NR_exit
...
...
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