Merge commit 'v2.6.37-rc7' into spi/next
This commit is contained in:
commit
752a4a95e3
1739 changed files with 31845 additions and 14924 deletions
22
Documentation/ABI/obsolete/proc-pid-oom_adj
Normal file
22
Documentation/ABI/obsolete/proc-pid-oom_adj
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
What: /proc/<pid>/oom_adj
|
||||||
|
When: August 2012
|
||||||
|
Why: /proc/<pid>/oom_adj allows userspace to influence the oom killer's
|
||||||
|
badness heuristic used to determine which task to kill when the kernel
|
||||||
|
is out of memory.
|
||||||
|
|
||||||
|
The badness heuristic has since been rewritten since the introduction of
|
||||||
|
this tunable such that its meaning is deprecated. The value was
|
||||||
|
implemented as a bitshift on a score generated by the badness()
|
||||||
|
function that did not have any precise units of measure. With the
|
||||||
|
rewrite, the score is given as a proportion of available memory to the
|
||||||
|
task allocating pages, so using a bitshift which grows the score
|
||||||
|
exponentially is, thus, impossible to tune with fine granularity.
|
||||||
|
|
||||||
|
A much more powerful interface, /proc/<pid>/oom_score_adj, was
|
||||||
|
introduced with the oom killer rewrite that allows users to increase or
|
||||||
|
decrease the badness() score linearly. This interface will replace
|
||||||
|
/proc/<pid>/oom_adj.
|
||||||
|
|
||||||
|
A warning will be emitted to the kernel log if an application uses this
|
||||||
|
deprecated interface. After it is printed once, future warnings will be
|
||||||
|
suppressed until the kernel is rebooted.
|
83
Documentation/ABI/testing/sysfs-bus-rbd
Normal file
83
Documentation/ABI/testing/sysfs-bus-rbd
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
What: /sys/bus/rbd/
|
||||||
|
Date: November 2010
|
||||||
|
Contact: Yehuda Sadeh <yehuda@hq.newdream.net>,
|
||||||
|
Sage Weil <sage@newdream.net>
|
||||||
|
Description:
|
||||||
|
|
||||||
|
Being used for adding and removing rbd block devices.
|
||||||
|
|
||||||
|
Usage: <mon ip addr> <options> <pool name> <rbd image name> [snap name]
|
||||||
|
|
||||||
|
$ echo "192.168.0.1 name=admin rbd foo" > /sys/bus/rbd/add
|
||||||
|
|
||||||
|
The snapshot name can be "-" or omitted to map the image read/write. A <dev-id>
|
||||||
|
will be assigned for any registered block device. If snapshot is used, it will
|
||||||
|
be mapped read-only.
|
||||||
|
|
||||||
|
Removal of a device:
|
||||||
|
|
||||||
|
$ echo <dev-id> > /sys/bus/rbd/remove
|
||||||
|
|
||||||
|
Entries under /sys/bus/rbd/devices/<dev-id>/
|
||||||
|
--------------------------------------------
|
||||||
|
|
||||||
|
client_id
|
||||||
|
|
||||||
|
The ceph unique client id that was assigned for this specific session.
|
||||||
|
|
||||||
|
major
|
||||||
|
|
||||||
|
The block device major number.
|
||||||
|
|
||||||
|
name
|
||||||
|
|
||||||
|
The name of the rbd image.
|
||||||
|
|
||||||
|
pool
|
||||||
|
|
||||||
|
The pool where this rbd image resides. The pool-name pair is unique
|
||||||
|
per rados system.
|
||||||
|
|
||||||
|
size
|
||||||
|
|
||||||
|
The size (in bytes) of the mapped block device.
|
||||||
|
|
||||||
|
refresh
|
||||||
|
|
||||||
|
Writing to this file will reread the image header data and set
|
||||||
|
all relevant datastructures accordingly.
|
||||||
|
|
||||||
|
current_snap
|
||||||
|
|
||||||
|
The current snapshot for which the device is mapped.
|
||||||
|
|
||||||
|
create_snap
|
||||||
|
|
||||||
|
Create a snapshot:
|
||||||
|
|
||||||
|
$ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_create
|
||||||
|
|
||||||
|
rollback_snap
|
||||||
|
|
||||||
|
Rolls back data to the specified snapshot. This goes over the entire
|
||||||
|
list of rados blocks and sends a rollback command to each.
|
||||||
|
|
||||||
|
$ echo <snap-name> > /sys/bus/rbd/devices/<dev-id>/snap_rollback
|
||||||
|
|
||||||
|
snap_*
|
||||||
|
|
||||||
|
A directory per each snapshot
|
||||||
|
|
||||||
|
|
||||||
|
Entries under /sys/bus/rbd/devices/<dev-id>/snap_<snap-name>
|
||||||
|
-------------------------------------------------------------
|
||||||
|
|
||||||
|
id
|
||||||
|
|
||||||
|
The rados internal snapshot id assigned for this snapshot
|
||||||
|
|
||||||
|
size
|
||||||
|
|
||||||
|
The size of the image when this snapshot was taken.
|
||||||
|
|
||||||
|
|
|
@ -47,6 +47,20 @@ Date: January 2007
|
||||||
KernelVersion: 2.6.20
|
KernelVersion: 2.6.20
|
||||||
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
||||||
Description:
|
Description:
|
||||||
Control the bluetooth device. 1 means on, 0 means off.
|
Control the wlan device. 1 means on, 0 means off.
|
||||||
This may control the led, the device or both.
|
This may control the led, the device or both.
|
||||||
Users: Lapsus
|
Users: Lapsus
|
||||||
|
|
||||||
|
What: /sys/devices/platform/asus_laptop/wimax
|
||||||
|
Date: October 2010
|
||||||
|
KernelVersion: 2.6.37
|
||||||
|
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
||||||
|
Description:
|
||||||
|
Control the wimax device. 1 means on, 0 means off.
|
||||||
|
|
||||||
|
What: /sys/devices/platform/asus_laptop/wwan
|
||||||
|
Date: October 2010
|
||||||
|
KernelVersion: 2.6.37
|
||||||
|
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
||||||
|
Description:
|
||||||
|
Control the wwan (3G) device. 1 means on, 0 means off.
|
||||||
|
|
10
Documentation/ABI/testing/sysfs-platform-eeepc-wmi
Normal file
10
Documentation/ABI/testing/sysfs-platform-eeepc-wmi
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
What: /sys/devices/platform/eeepc-wmi/cpufv
|
||||||
|
Date: Oct 2010
|
||||||
|
KernelVersion: 2.6.37
|
||||||
|
Contact: "Corentin Chary" <corentincj@iksaif.net>
|
||||||
|
Description:
|
||||||
|
Change CPU clock configuration (write-only).
|
||||||
|
There are three available clock configuration:
|
||||||
|
* 0 -> Super Performance Mode
|
||||||
|
* 1 -> High Performance Mode
|
||||||
|
* 2 -> Power Saving Mode
|
|
@ -79,10 +79,6 @@
|
||||||
</sect2>
|
</sect2>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
<chapter id="clk">
|
|
||||||
<title>Clock Framework Extensions</title>
|
|
||||||
!Iinclude/linux/sh_clk.h
|
|
||||||
</chapter>
|
|
||||||
<chapter id="mach">
|
<chapter id="mach">
|
||||||
<title>Machine Specific Interfaces</title>
|
<title>Machine Specific Interfaces</title>
|
||||||
<sect1 id="dreamcast">
|
<sect1 id="dreamcast">
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
</orgname>
|
</orgname>
|
||||||
|
|
||||||
<address>
|
<address>
|
||||||
<email>hjk@linutronix.de</email>
|
<email>hjk@hansjkoch.de</email>
|
||||||
</address>
|
</address>
|
||||||
</affiliation>
|
</affiliation>
|
||||||
</author>
|
</author>
|
||||||
|
@ -114,7 +114,7 @@ GPL version 2.
|
||||||
|
|
||||||
<para>If you know of any translations for this document, or you are
|
<para>If you know of any translations for this document, or you are
|
||||||
interested in translating it, please email me
|
interested in translating it, please email me
|
||||||
<email>hjk@linutronix.de</email>.
|
<email>hjk@hansjkoch.de</email>.
|
||||||
</para>
|
</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
|
|
||||||
|
@ -171,7 +171,7 @@ interested in translating it, please email me
|
||||||
<title>Feedback</title>
|
<title>Feedback</title>
|
||||||
<para>Find something wrong with this document? (Or perhaps something
|
<para>Find something wrong with this document? (Or perhaps something
|
||||||
right?) I would love to hear from you. Please email me at
|
right?) I would love to hear from you. Please email me at
|
||||||
<email>hjk@linutronix.de</email>.</para>
|
<email>hjk@hansjkoch.de</email>.</para>
|
||||||
</sect1>
|
</sect1>
|
||||||
</chapter>
|
</chapter>
|
||||||
|
|
||||||
|
|
|
@ -255,9 +255,10 @@ framebuffer parameters.
|
||||||
Kernel boot arguments
|
Kernel boot arguments
|
||||||
---------------------
|
---------------------
|
||||||
|
|
||||||
vram=<size>
|
vram=<size>[,<physaddr>]
|
||||||
- Amount of total VRAM to preallocate. For example, "10M". omapfb
|
- Amount of total VRAM to preallocate and optionally a physical start
|
||||||
allocates memory for framebuffers from VRAM.
|
memory address. For example, "10M". omapfb allocates memory for
|
||||||
|
framebuffers from VRAM.
|
||||||
|
|
||||||
omapfb.mode=<display>:<mode>[,...]
|
omapfb.mode=<display>:<mode>[,...]
|
||||||
- Default video mode for specified displays. For example,
|
- Default video mode for specified displays. For example,
|
||||||
|
|
|
@ -16,7 +16,7 @@ you can do so by typing:
|
||||||
As of the Linux 2.6.10 kernel, it is now possible to change the
|
As of the Linux 2.6.10 kernel, it is now possible to change the
|
||||||
IO scheduler for a given block device on the fly (thus making it possible,
|
IO scheduler for a given block device on the fly (thus making it possible,
|
||||||
for instance, to set the CFQ scheduler for the system default, but
|
for instance, to set the CFQ scheduler for the system default, but
|
||||||
set a specific device to use the anticipatory or noop schedulers - which
|
set a specific device to use the deadline or noop schedulers - which
|
||||||
can improve that device's throughput).
|
can improve that device's throughput).
|
||||||
|
|
||||||
To set a specific scheduler, simply do this:
|
To set a specific scheduler, simply do this:
|
||||||
|
@ -31,7 +31,7 @@ a "cat /sys/block/DEV/queue/scheduler" - the list of valid names
|
||||||
will be displayed, with the currently selected scheduler in brackets:
|
will be displayed, with the currently selected scheduler in brackets:
|
||||||
|
|
||||||
# cat /sys/block/hda/queue/scheduler
|
# cat /sys/block/hda/queue/scheduler
|
||||||
noop anticipatory deadline [cfq]
|
noop deadline [cfq]
|
||||||
# echo anticipatory > /sys/block/hda/queue/scheduler
|
# echo deadline > /sys/block/hda/queue/scheduler
|
||||||
# cat /sys/block/hda/queue/scheduler
|
# cat /sys/block/hda/queue/scheduler
|
||||||
noop [anticipatory] deadline cfq
|
noop [deadline] cfq
|
||||||
|
|
|
@ -154,7 +154,7 @@ The stages that a patch goes through are, generally:
|
||||||
inclusion, it should be accepted by a relevant subsystem maintainer -
|
inclusion, it should be accepted by a relevant subsystem maintainer -
|
||||||
though this acceptance is not a guarantee that the patch will make it
|
though this acceptance is not a guarantee that the patch will make it
|
||||||
all the way to the mainline. The patch will show up in the maintainer's
|
all the way to the mainline. The patch will show up in the maintainer's
|
||||||
subsystem tree and into the staging trees (described below). When the
|
subsystem tree and into the -next trees (described below). When the
|
||||||
process works, this step leads to more extensive review of the patch and
|
process works, this step leads to more extensive review of the patch and
|
||||||
the discovery of any problems resulting from the integration of this
|
the discovery of any problems resulting from the integration of this
|
||||||
patch with work being done by others.
|
patch with work being done by others.
|
||||||
|
@ -236,7 +236,7 @@ finding the right maintainer. Sending patches directly to Linus is not
|
||||||
normally the right way to go.
|
normally the right way to go.
|
||||||
|
|
||||||
|
|
||||||
2.4: STAGING TREES
|
2.4: NEXT TREES
|
||||||
|
|
||||||
The chain of subsystem trees guides the flow of patches into the kernel,
|
The chain of subsystem trees guides the flow of patches into the kernel,
|
||||||
but it also raises an interesting question: what if somebody wants to look
|
but it also raises an interesting question: what if somebody wants to look
|
||||||
|
@ -250,7 +250,7 @@ changes land in the mainline kernel. One could pull changes from all of
|
||||||
the interesting subsystem trees, but that would be a big and error-prone
|
the interesting subsystem trees, but that would be a big and error-prone
|
||||||
job.
|
job.
|
||||||
|
|
||||||
The answer comes in the form of staging trees, where subsystem trees are
|
The answer comes in the form of -next trees, where subsystem trees are
|
||||||
collected for testing and review. The older of these trees, maintained by
|
collected for testing and review. The older of these trees, maintained by
|
||||||
Andrew Morton, is called "-mm" (for memory management, which is how it got
|
Andrew Morton, is called "-mm" (for memory management, which is how it got
|
||||||
started). The -mm tree integrates patches from a long list of subsystem
|
started). The -mm tree integrates patches from a long list of subsystem
|
||||||
|
@ -275,7 +275,7 @@ directory at:
|
||||||
Use of the MMOTM tree is likely to be a frustrating experience, though;
|
Use of the MMOTM tree is likely to be a frustrating experience, though;
|
||||||
there is a definite chance that it will not even compile.
|
there is a definite chance that it will not even compile.
|
||||||
|
|
||||||
The other staging tree, started more recently, is linux-next, maintained by
|
The other -next tree, started more recently, is linux-next, maintained by
|
||||||
Stephen Rothwell. The linux-next tree is, by design, a snapshot of what
|
Stephen Rothwell. The linux-next tree is, by design, a snapshot of what
|
||||||
the mainline is expected to look like after the next merge window closes.
|
the mainline is expected to look like after the next merge window closes.
|
||||||
Linux-next trees are announced on the linux-kernel and linux-next mailing
|
Linux-next trees are announced on the linux-kernel and linux-next mailing
|
||||||
|
@ -303,12 +303,25 @@ volatility of linux-next tends to make it a difficult development target.
|
||||||
See http://lwn.net/Articles/289013/ for more information on this topic, and
|
See http://lwn.net/Articles/289013/ for more information on this topic, and
|
||||||
stay tuned; much is still in flux where linux-next is involved.
|
stay tuned; much is still in flux where linux-next is involved.
|
||||||
|
|
||||||
Besides the mmotm and linux-next trees, the kernel source tree now contains
|
2.4.1: STAGING TREES
|
||||||
the drivers/staging/ directory and many sub-directories for drivers or
|
|
||||||
filesystems that are on their way to being added to the kernel tree
|
|
||||||
proper, but they remain in drivers/staging/ while they still need more
|
|
||||||
work.
|
|
||||||
|
|
||||||
|
The kernel source tree now contains the drivers/staging/ directory, where
|
||||||
|
many sub-directories for drivers or filesystems that are on their way to
|
||||||
|
being added to the kernel tree live. They remain in drivers/staging while
|
||||||
|
they still need more work; once complete, they can be moved into the
|
||||||
|
kernel proper. This is a way to keep track of drivers that aren't
|
||||||
|
up to Linux kernel coding or quality standards, but people may want to use
|
||||||
|
them and track development.
|
||||||
|
|
||||||
|
Greg Kroah-Hartman currently (as of 2.6.36) maintains the staging tree.
|
||||||
|
Drivers that still need work are sent to him, with each driver having
|
||||||
|
its own subdirectory in drivers/staging/. Along with the driver source
|
||||||
|
files, a TODO file should be present in the directory as well. The TODO
|
||||||
|
file lists the pending work that the driver needs for acceptance into
|
||||||
|
the kernel proper, as well as a list of people that should be Cc'd for any
|
||||||
|
patches to the driver. Staging drivers that don't currently build should
|
||||||
|
have their config entries depend upon CONFIG_BROKEN. Once they can
|
||||||
|
be successfully built without outside patches, CONFIG_BROKEN can be removed.
|
||||||
|
|
||||||
2.5: TOOLS
|
2.5: TOOLS
|
||||||
|
|
||||||
|
|
|
@ -1,129 +0,0 @@
|
||||||
|
|
||||||
Device Interfaces
|
|
||||||
|
|
||||||
Introduction
|
|
||||||
~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Device interfaces are the logical interfaces of device classes that correlate
|
|
||||||
directly to userspace interfaces, like device nodes.
|
|
||||||
|
|
||||||
Each device class may have multiple interfaces through which you can
|
|
||||||
access the same device. An input device may support the mouse interface,
|
|
||||||
the 'evdev' interface, and the touchscreen interface. A SCSI disk would
|
|
||||||
support the disk interface, the SCSI generic interface, and possibly a raw
|
|
||||||
device interface.
|
|
||||||
|
|
||||||
Device interfaces are registered with the class they belong to. As devices
|
|
||||||
are added to the class, they are added to each interface registered with
|
|
||||||
the class. The interface is responsible for determining whether the device
|
|
||||||
supports the interface or not.
|
|
||||||
|
|
||||||
|
|
||||||
Programming Interface
|
|
||||||
~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
struct device_interface {
|
|
||||||
char * name;
|
|
||||||
rwlock_t lock;
|
|
||||||
u32 devnum;
|
|
||||||
struct device_class * devclass;
|
|
||||||
|
|
||||||
struct list_head node;
|
|
||||||
struct driver_dir_entry dir;
|
|
||||||
|
|
||||||
int (*add_device)(struct device *);
|
|
||||||
int (*add_device)(struct intf_data *);
|
|
||||||
};
|
|
||||||
|
|
||||||
int interface_register(struct device_interface *);
|
|
||||||
void interface_unregister(struct device_interface *);
|
|
||||||
|
|
||||||
|
|
||||||
An interface must specify the device class it belongs to. It is added
|
|
||||||
to that class's list of interfaces on registration.
|
|
||||||
|
|
||||||
|
|
||||||
Interfaces can be added to a device class at any time. Whenever it is
|
|
||||||
added, each device in the class is passed to the interface's
|
|
||||||
add_device callback. When an interface is removed, each device is
|
|
||||||
removed from the interface.
|
|
||||||
|
|
||||||
|
|
||||||
Devices
|
|
||||||
~~~~~~~
|
|
||||||
Once a device is added to a device class, it is added to each
|
|
||||||
interface that is registered with the device class. The class
|
|
||||||
is expected to place a class-specific data structure in
|
|
||||||
struct device::class_data. The interface can use that (along with
|
|
||||||
other fields of struct device) to determine whether or not the driver
|
|
||||||
and/or device support that particular interface.
|
|
||||||
|
|
||||||
|
|
||||||
Data
|
|
||||||
~~~~
|
|
||||||
|
|
||||||
struct intf_data {
|
|
||||||
struct list_head node;
|
|
||||||
struct device_interface * intf;
|
|
||||||
struct device * dev;
|
|
||||||
u32 intf_num;
|
|
||||||
};
|
|
||||||
|
|
||||||
int interface_add_data(struct interface_data *);
|
|
||||||
|
|
||||||
The interface is responsible for allocating and initializing a struct
|
|
||||||
intf_data and calling interface_add_data() to add it to the device's list
|
|
||||||
of interfaces it belongs to. This list will be iterated over when the device
|
|
||||||
is removed from the class (instead of all possible interfaces for a class).
|
|
||||||
This structure should probably be embedded in whatever per-device data
|
|
||||||
structure the interface is allocating anyway.
|
|
||||||
|
|
||||||
Devices are enumerated within the interface. This happens in interface_add_data()
|
|
||||||
and the enumerated value is stored in the struct intf_data for that device.
|
|
||||||
|
|
||||||
sysfs
|
|
||||||
~~~~~
|
|
||||||
Each interface is given a directory in the directory of the device
|
|
||||||
class it belongs to:
|
|
||||||
|
|
||||||
Interfaces get a directory in the class's directory as well:
|
|
||||||
|
|
||||||
class/
|
|
||||||
`-- input
|
|
||||||
|-- devices
|
|
||||||
|-- drivers
|
|
||||||
|-- mouse
|
|
||||||
`-- evdev
|
|
||||||
|
|
||||||
When a device is added to the interface, a symlink is created that points
|
|
||||||
to the device's directory in the physical hierarchy:
|
|
||||||
|
|
||||||
class/
|
|
||||||
`-- input
|
|
||||||
|-- devices
|
|
||||||
| `-- 1 -> ../../../root/pci0/00:1f.0/usb_bus/00:1f.2-1:0/
|
|
||||||
|-- drivers
|
|
||||||
| `-- usb:usb_mouse -> ../../../bus/drivers/usb_mouse/
|
|
||||||
|-- mouse
|
|
||||||
| `-- 1 -> ../../../root/pci0/00:1f.0/usb_bus/00:1f.2-1:0/
|
|
||||||
`-- evdev
|
|
||||||
`-- 1 -> ../../../root/pci0/00:1f.0/usb_bus/00:1f.2-1:0/
|
|
||||||
|
|
||||||
|
|
||||||
Future Plans
|
|
||||||
~~~~~~~~~~~~
|
|
||||||
A device interface is correlated directly with a userspace interface
|
|
||||||
for a device, specifically a device node. For instance, a SCSI disk
|
|
||||||
exposes at least two interfaces to userspace: the standard SCSI disk
|
|
||||||
interface and the SCSI generic interface. It might also export a raw
|
|
||||||
device interface.
|
|
||||||
|
|
||||||
Many interfaces have a major number associated with them and each
|
|
||||||
device gets a minor number. Or, multiple interfaces might share one
|
|
||||||
major number, and each will receive a range of minor numbers (like in
|
|
||||||
the case of input devices).
|
|
||||||
|
|
||||||
These major and minor numbers could be stored in the interface
|
|
||||||
structure. Major and minor allocations could happen when the interface
|
|
||||||
is registered with the class, or via a helper function.
|
|
||||||
|
|
|
@ -196,7 +196,7 @@ csrow3.
|
||||||
The representation of the above is reflected in the directory tree
|
The representation of the above is reflected in the directory tree
|
||||||
in EDAC's sysfs interface. Starting in directory
|
in EDAC's sysfs interface. Starting in directory
|
||||||
/sys/devices/system/edac/mc each memory controller will be represented
|
/sys/devices/system/edac/mc each memory controller will be represented
|
||||||
by its own 'mcX' directory, where 'X" is the index of the MC.
|
by its own 'mcX' directory, where 'X' is the index of the MC.
|
||||||
|
|
||||||
|
|
||||||
..../edac/mc/
|
..../edac/mc/
|
||||||
|
@ -207,7 +207,7 @@ by its own 'mcX' directory, where 'X" is the index of the MC.
|
||||||
....
|
....
|
||||||
|
|
||||||
Under each 'mcX' directory each 'csrowX' is again represented by a
|
Under each 'mcX' directory each 'csrowX' is again represented by a
|
||||||
'csrowX', where 'X" is the csrow index:
|
'csrowX', where 'X' is the csrow index:
|
||||||
|
|
||||||
|
|
||||||
.../mc/mc0/
|
.../mc/mc0/
|
||||||
|
@ -232,7 +232,7 @@ EDAC control and attribute files.
|
||||||
|
|
||||||
|
|
||||||
In 'mcX' directories are EDAC control and attribute files for
|
In 'mcX' directories are EDAC control and attribute files for
|
||||||
this 'X" instance of the memory controllers:
|
this 'X' instance of the memory controllers:
|
||||||
|
|
||||||
|
|
||||||
Counter reset control file:
|
Counter reset control file:
|
||||||
|
@ -343,7 +343,7 @@ Sdram memory scrubbing rate:
|
||||||
'csrowX' DIRECTORIES
|
'csrowX' DIRECTORIES
|
||||||
|
|
||||||
In the 'csrowX' directories are EDAC control and attribute files for
|
In the 'csrowX' directories are EDAC control and attribute files for
|
||||||
this 'X" instance of csrow:
|
this 'X' instance of csrow:
|
||||||
|
|
||||||
|
|
||||||
Total Uncorrectable Errors count attribute file:
|
Total Uncorrectable Errors count attribute file:
|
||||||
|
|
|
@ -4,33 +4,41 @@ please mail me.
|
||||||
Geert Uytterhoeven <geert@linux-m68k.org>
|
Geert Uytterhoeven <geert@linux-m68k.org>
|
||||||
|
|
||||||
00-INDEX
|
00-INDEX
|
||||||
- this file
|
- this file.
|
||||||
arkfb.txt
|
arkfb.txt
|
||||||
- info on the fbdev driver for ARK Logic chips.
|
- info on the fbdev driver for ARK Logic chips.
|
||||||
aty128fb.txt
|
aty128fb.txt
|
||||||
- info on the ATI Rage128 frame buffer driver.
|
- info on the ATI Rage128 frame buffer driver.
|
||||||
cirrusfb.txt
|
cirrusfb.txt
|
||||||
- info on the driver for Cirrus Logic chipsets.
|
- info on the driver for Cirrus Logic chipsets.
|
||||||
|
cmap_xfbdev.txt
|
||||||
|
- an introduction to fbdev's cmap structures.
|
||||||
deferred_io.txt
|
deferred_io.txt
|
||||||
- an introduction to deferred IO.
|
- an introduction to deferred IO.
|
||||||
|
efifb.txt
|
||||||
|
- info on the EFI platform driver for Intel based Apple computers.
|
||||||
|
ep93xx-fb.txt
|
||||||
|
- info on the driver for EP93xx LCD controller.
|
||||||
fbcon.txt
|
fbcon.txt
|
||||||
- intro to and usage guide for the framebuffer console (fbcon).
|
- intro to and usage guide for the framebuffer console (fbcon).
|
||||||
framebuffer.txt
|
framebuffer.txt
|
||||||
- introduction to frame buffer devices.
|
- introduction to frame buffer devices.
|
||||||
imacfb.txt
|
gxfb.txt
|
||||||
- info on the generic EFI platform driver for Intel based Macs.
|
- info on the framebuffer driver for AMD Geode GX2 based processors.
|
||||||
intel810.txt
|
intel810.txt
|
||||||
- documentation for the Intel 810/815 framebuffer driver.
|
- documentation for the Intel 810/815 framebuffer driver.
|
||||||
intelfb.txt
|
intelfb.txt
|
||||||
- docs for Intel 830M/845G/852GM/855GM/865G/915G/945G fb driver.
|
- docs for Intel 830M/845G/852GM/855GM/865G/915G/945G fb driver.
|
||||||
internals.txt
|
internals.txt
|
||||||
- quick overview of frame buffer device internals.
|
- quick overview of frame buffer device internals.
|
||||||
|
lxfb.txt
|
||||||
|
- info on the framebuffer driver for AMD Geode LX based processors.
|
||||||
matroxfb.txt
|
matroxfb.txt
|
||||||
- info on the Matrox framebuffer driver for Alpha, Intel and PPC.
|
- info on the Matrox framebuffer driver for Alpha, Intel and PPC.
|
||||||
|
metronomefb.txt
|
||||||
|
- info on the driver for the Metronome display controller.
|
||||||
modedb.txt
|
modedb.txt
|
||||||
- info on the video mode database.
|
- info on the video mode database.
|
||||||
matroxfb.txt
|
|
||||||
- info on the Matrox frame buffer driver.
|
|
||||||
pvr2fb.txt
|
pvr2fb.txt
|
||||||
- info on the PowerVR 2 frame buffer driver.
|
- info on the PowerVR 2 frame buffer driver.
|
||||||
pxafb.txt
|
pxafb.txt
|
||||||
|
@ -39,13 +47,23 @@ s3fb.txt
|
||||||
- info on the fbdev driver for S3 Trio/Virge chips.
|
- info on the fbdev driver for S3 Trio/Virge chips.
|
||||||
sa1100fb.txt
|
sa1100fb.txt
|
||||||
- information about the driver for the SA-1100 LCD controller.
|
- information about the driver for the SA-1100 LCD controller.
|
||||||
|
sh7760fb.txt
|
||||||
|
- info on the SH7760/SH7763 integrated LCDC Framebuffer driver.
|
||||||
sisfb.txt
|
sisfb.txt
|
||||||
- info on the framebuffer device driver for various SiS chips.
|
- info on the framebuffer device driver for various SiS chips.
|
||||||
sstfb.txt
|
sstfb.txt
|
||||||
- info on the frame buffer driver for 3dfx' Voodoo Graphics boards.
|
- info on the frame buffer driver for 3dfx' Voodoo Graphics boards.
|
||||||
tgafb.txt
|
tgafb.txt
|
||||||
- info on the TGA (DECChip 21030) frame buffer driver
|
- info on the TGA (DECChip 21030) frame buffer driver.
|
||||||
|
tridentfb.txt
|
||||||
|
info on the framebuffer driver for some Trident chip based cards.
|
||||||
|
uvesafb.txt
|
||||||
|
- info on the userspace VESA (VBE2+ compliant) frame buffer device.
|
||||||
vesafb.txt
|
vesafb.txt
|
||||||
- info on the VESA frame buffer device
|
- info on the VESA frame buffer device.
|
||||||
|
viafb.modes
|
||||||
|
- list of modes for VIA Integration Graphic Chip.
|
||||||
|
viafb.txt
|
||||||
|
- info on the VIA Integration Graphic Chip console framebuffer driver.
|
||||||
vt8623fb.txt
|
vt8623fb.txt
|
||||||
- info on the fb driver for the graphics core in VIA VT8623 chipsets.
|
- info on the fb driver for the graphics core in VIA VT8623 chipsets.
|
||||||
|
|
|
@ -554,3 +554,13 @@ Why: This is a legacy interface which have been replaced by a more
|
||||||
Who: NeilBrown <neilb@suse.de>
|
Who: NeilBrown <neilb@suse.de>
|
||||||
|
|
||||||
----------------------------
|
----------------------------
|
||||||
|
|
||||||
|
What: i2c_adapter.id
|
||||||
|
When: June 2011
|
||||||
|
Why: This field is deprecated. I2C device drivers shouldn't change their
|
||||||
|
behavior based on the underlying I2C adapter. Instead, the I2C
|
||||||
|
adapter driver should instantiate the I2C devices and provide the
|
||||||
|
needed platform-specific information.
|
||||||
|
Who: Jean Delvare <khali@linux-fr.org>
|
||||||
|
|
||||||
|
----------------------------
|
||||||
|
|
|
@ -173,12 +173,13 @@ prototypes:
|
||||||
sector_t (*bmap)(struct address_space *, sector_t);
|
sector_t (*bmap)(struct address_space *, sector_t);
|
||||||
int (*invalidatepage) (struct page *, unsigned long);
|
int (*invalidatepage) (struct page *, unsigned long);
|
||||||
int (*releasepage) (struct page *, int);
|
int (*releasepage) (struct page *, int);
|
||||||
|
void (*freepage)(struct page *);
|
||||||
int (*direct_IO)(int, struct kiocb *, const struct iovec *iov,
|
int (*direct_IO)(int, struct kiocb *, const struct iovec *iov,
|
||||||
loff_t offset, unsigned long nr_segs);
|
loff_t offset, unsigned long nr_segs);
|
||||||
int (*launder_page) (struct page *);
|
int (*launder_page) (struct page *);
|
||||||
|
|
||||||
locking rules:
|
locking rules:
|
||||||
All except set_page_dirty may block
|
All except set_page_dirty and freepage may block
|
||||||
|
|
||||||
BKL PageLocked(page) i_mutex
|
BKL PageLocked(page) i_mutex
|
||||||
writepage: no yes, unlocks (see below)
|
writepage: no yes, unlocks (see below)
|
||||||
|
@ -193,6 +194,7 @@ perform_write: no n/a yes
|
||||||
bmap: no
|
bmap: no
|
||||||
invalidatepage: no yes
|
invalidatepage: no yes
|
||||||
releasepage: no yes
|
releasepage: no yes
|
||||||
|
freepage: no yes
|
||||||
direct_IO: no
|
direct_IO: no
|
||||||
launder_page: no yes
|
launder_page: no yes
|
||||||
|
|
||||||
|
@ -288,6 +290,9 @@ buffers from the page in preparation for freeing it. It returns zero to
|
||||||
indicate that the buffers are (or may be) freeable. If ->releasepage is zero,
|
indicate that the buffers are (or may be) freeable. If ->releasepage is zero,
|
||||||
the kernel assumes that the fs has no private interest in the buffers.
|
the kernel assumes that the fs has no private interest in the buffers.
|
||||||
|
|
||||||
|
->freepage() is called when the kernel is done dropping the page
|
||||||
|
from the page cache.
|
||||||
|
|
||||||
->launder_page() may be called prior to releasing a page if
|
->launder_page() may be called prior to releasing a page if
|
||||||
it is still found to be dirty. It returns zero if the page was successfully
|
it is still found to be dirty. It returns zero if the page was successfully
|
||||||
cleaned, or an error value if not. Note that in order to prevent the page
|
cleaned, or an error value if not. Note that in order to prevent the page
|
||||||
|
|
|
@ -89,7 +89,7 @@ static ssize_t childless_storeme_write(struct childless *childless,
|
||||||
char *p = (char *) page;
|
char *p = (char *) page;
|
||||||
|
|
||||||
tmp = simple_strtoul(p, &p, 10);
|
tmp = simple_strtoul(p, &p, 10);
|
||||||
if (!p || (*p && (*p != '\n')))
|
if ((*p != '\0') && (*p != '\n'))
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
|
|
||||||
if (tmp > INT_MAX)
|
if (tmp > INT_MAX)
|
||||||
|
|
|
@ -534,6 +534,7 @@ struct address_space_operations {
|
||||||
sector_t (*bmap)(struct address_space *, sector_t);
|
sector_t (*bmap)(struct address_space *, sector_t);
|
||||||
int (*invalidatepage) (struct page *, unsigned long);
|
int (*invalidatepage) (struct page *, unsigned long);
|
||||||
int (*releasepage) (struct page *, int);
|
int (*releasepage) (struct page *, int);
|
||||||
|
void (*freepage)(struct page *);
|
||||||
ssize_t (*direct_IO)(int, struct kiocb *, const struct iovec *iov,
|
ssize_t (*direct_IO)(int, struct kiocb *, const struct iovec *iov,
|
||||||
loff_t offset, unsigned long nr_segs);
|
loff_t offset, unsigned long nr_segs);
|
||||||
struct page* (*get_xip_page)(struct address_space *, sector_t,
|
struct page* (*get_xip_page)(struct address_space *, sector_t,
|
||||||
|
@ -660,11 +661,10 @@ struct address_space_operations {
|
||||||
releasepage: releasepage is called on PagePrivate pages to indicate
|
releasepage: releasepage is called on PagePrivate pages to indicate
|
||||||
that the page should be freed if possible. ->releasepage
|
that the page should be freed if possible. ->releasepage
|
||||||
should remove any private data from the page and clear the
|
should remove any private data from the page and clear the
|
||||||
PagePrivate flag. It may also remove the page from the
|
PagePrivate flag. If releasepage() fails for some reason, it must
|
||||||
address_space. If this fails for some reason, it may indicate
|
indicate failure with a 0 return value.
|
||||||
failure with a 0 return value.
|
releasepage() is used in two distinct though related cases. The
|
||||||
This is used in two distinct though related cases. The first
|
first is when the VM finds a clean page with no active users and
|
||||||
is when the VM finds a clean page with no active users and
|
|
||||||
wants to make it a free page. If ->releasepage succeeds, the
|
wants to make it a free page. If ->releasepage succeeds, the
|
||||||
page will be removed from the address_space and become free.
|
page will be removed from the address_space and become free.
|
||||||
|
|
||||||
|
@ -679,6 +679,12 @@ struct address_space_operations {
|
||||||
need to ensure this. Possibly it can clear the PageUptodate
|
need to ensure this. Possibly it can clear the PageUptodate
|
||||||
bit if it cannot free private data yet.
|
bit if it cannot free private data yet.
|
||||||
|
|
||||||
|
freepage: freepage is called once the page is no longer visible in
|
||||||
|
the page cache in order to allow the cleanup of any private
|
||||||
|
data. Since it may be called by the memory reclaimer, it
|
||||||
|
should not assume that the original address_space mapping still
|
||||||
|
exists, and it should not block.
|
||||||
|
|
||||||
direct_IO: called by the generic read/write routines to perform
|
direct_IO: called by the generic read/write routines to perform
|
||||||
direct_IO - that is IO requests which bypass the page cache
|
direct_IO - that is IO requests which bypass the page cache
|
||||||
and transfer data directly between the storage and the
|
and transfer data directly between the storage and the
|
||||||
|
|
|
@ -794,17 +794,6 @@ designed.
|
||||||
|
|
||||||
Roadmap:
|
Roadmap:
|
||||||
|
|
||||||
2.6.37 Remove experimental tag from mount option
|
|
||||||
=> should be roughly 6 months after initial merge
|
|
||||||
=> enough time to:
|
|
||||||
=> gain confidence and fix problems reported by early
|
|
||||||
adopters (a.k.a. guinea pigs)
|
|
||||||
=> address worst performance regressions and undesired
|
|
||||||
behaviours
|
|
||||||
=> start tuning/optimising code for parallelism
|
|
||||||
=> start tuning/optimising algorithms consuming
|
|
||||||
excessive CPU time
|
|
||||||
|
|
||||||
2.6.39 Switch default mount option to use delayed logging
|
2.6.39 Switch default mount option to use delayed logging
|
||||||
=> should be roughly 12 months after initial merge
|
=> should be roughly 12 months after initial merge
|
||||||
=> enough time to shake out remaining problems before next round of
|
=> enough time to shake out remaining problems before next round of
|
||||||
|
|
|
@ -617,6 +617,16 @@ and have the following read/write attributes:
|
||||||
is configured as an output, this value may be written;
|
is configured as an output, this value may be written;
|
||||||
any nonzero value is treated as high.
|
any nonzero value is treated as high.
|
||||||
|
|
||||||
|
If the pin can be configured as interrupt-generating interrupt
|
||||||
|
and if it has been configured to generate interrupts (see the
|
||||||
|
description of "edge"), you can poll(2) on that file and
|
||||||
|
poll(2) will return whenever the interrupt was triggered. If
|
||||||
|
you use poll(2), set the events POLLPRI and POLLERR. If you
|
||||||
|
use select(2), set the file descriptor in exceptfds. After
|
||||||
|
poll(2) returns, either lseek(2) to the beginning of the sysfs
|
||||||
|
file and read the new value or close the file and re-open it
|
||||||
|
to read the value.
|
||||||
|
|
||||||
"edge" ... reads as either "none", "rising", "falling", or
|
"edge" ... reads as either "none", "rising", "falling", or
|
||||||
"both". Write these strings to select the signal edge(s)
|
"both". Write these strings to select the signal edge(s)
|
||||||
that will make poll(2) on the "value" file return.
|
that will make poll(2) on the "value" file return.
|
||||||
|
|
|
@ -11,7 +11,7 @@ Authors:
|
||||||
Mark M. Hoffman <mhoffman@lightlink.com>
|
Mark M. Hoffman <mhoffman@lightlink.com>
|
||||||
Ported to 2.6 by Eric J. Bowersox <ericb@aspsys.com>
|
Ported to 2.6 by Eric J. Bowersox <ericb@aspsys.com>
|
||||||
Adapted to 2.6.20 by Carsten Emde <ce@osadl.org>
|
Adapted to 2.6.20 by Carsten Emde <ce@osadl.org>
|
||||||
Modified for mainline integration by Hans J. Koch <hjk@linutronix.de>
|
Modified for mainline integration by Hans J. Koch <hjk@hansjkoch.de>
|
||||||
|
|
||||||
Module Parameters
|
Module Parameters
|
||||||
-----------------
|
-----------------
|
||||||
|
|
|
@ -8,7 +8,7 @@ Supported chips:
|
||||||
Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
|
Datasheet: http://pdfserv.maxim-ic.com/en/ds/MAX6650-MAX6651.pdf
|
||||||
|
|
||||||
Authors:
|
Authors:
|
||||||
Hans J. Koch <hjk@linutronix.de>
|
Hans J. Koch <hjk@hansjkoch.de>
|
||||||
John Morris <john.morris@spirentcom.com>
|
John Morris <john.morris@spirentcom.com>
|
||||||
Claus Gindhart <claus.gindhart@kontron.com>
|
Claus Gindhart <claus.gindhart@kontron.com>
|
||||||
|
|
||||||
|
|
|
@ -706,7 +706,7 @@ and is between 256 and 4096 characters. It is defined in the file
|
||||||
arch/x86/kernel/cpu/cpufreq/elanfreq.c.
|
arch/x86/kernel/cpu/cpufreq/elanfreq.c.
|
||||||
|
|
||||||
elevator= [IOSCHED]
|
elevator= [IOSCHED]
|
||||||
Format: {"anticipatory" | "cfq" | "deadline" | "noop"}
|
Format: {"cfq" | "deadline" | "noop"}
|
||||||
See Documentation/block/as-iosched.txt and
|
See Documentation/block/as-iosched.txt and
|
||||||
Documentation/block/deadline-iosched.txt for details.
|
Documentation/block/deadline-iosched.txt for details.
|
||||||
|
|
||||||
|
@ -2175,11 +2175,6 @@ and is between 256 and 4096 characters. It is defined in the file
|
||||||
reset_devices [KNL] Force drivers to reset the underlying device
|
reset_devices [KNL] Force drivers to reset the underlying device
|
||||||
during initialization.
|
during initialization.
|
||||||
|
|
||||||
resource_alloc_from_bottom
|
|
||||||
Allocate new resources from the beginning of available
|
|
||||||
space, not the end. If you need to use this, please
|
|
||||||
report a bug.
|
|
||||||
|
|
||||||
resume= [SWSUSP]
|
resume= [SWSUSP]
|
||||||
Specify the partition device for software suspend
|
Specify the partition device for software suspend
|
||||||
|
|
||||||
|
@ -2385,6 +2380,11 @@ and is between 256 and 4096 characters. It is defined in the file
|
||||||
improve throughput, but will also increase the
|
improve throughput, but will also increase the
|
||||||
amount of memory reserved for use by the client.
|
amount of memory reserved for use by the client.
|
||||||
|
|
||||||
|
swapaccount[=0|1]
|
||||||
|
[KNL] Enable accounting of swap in memory resource
|
||||||
|
controller if no parameter or 1 is given or disable
|
||||||
|
it if 0 is given (See Documentation/cgroups/memory.txt)
|
||||||
|
|
||||||
swiotlb= [IA-64] Number of I/O TLB slabs
|
swiotlb= [IA-64] Number of I/O TLB slabs
|
||||||
|
|
||||||
switches= [HW,M68k]
|
switches= [HW,M68k]
|
||||||
|
|
|
@ -60,15 +60,18 @@ Hardware accelerated blink of LEDs
|
||||||
|
|
||||||
Some LEDs can be programmed to blink without any CPU interaction. To
|
Some LEDs can be programmed to blink without any CPU interaction. To
|
||||||
support this feature, a LED driver can optionally implement the
|
support this feature, a LED driver can optionally implement the
|
||||||
blink_set() function (see <linux/leds.h>). If implemented, triggers can
|
blink_set() function (see <linux/leds.h>). To set an LED to blinking,
|
||||||
attempt to use it before falling back to software timers. The blink_set()
|
however, it is better to use use the API function led_blink_set(),
|
||||||
function should return 0 if the blink setting is supported, or -EINVAL
|
as it will check and implement software fallback if necessary.
|
||||||
otherwise, which means that LED blinking will be handled by software.
|
|
||||||
|
|
||||||
The blink_set() function should choose a user friendly blinking
|
To turn off blinking again, use the API function led_brightness_set()
|
||||||
value if it is called with *delay_on==0 && *delay_off==0 parameters. In
|
as that will not just set the LED brightness but also stop any software
|
||||||
this case the driver should give back the chosen value through delay_on
|
timers that may have been required for blinking.
|
||||||
and delay_off parameters to the leds subsystem.
|
|
||||||
|
The blink_set() function should choose a user friendly blinking value
|
||||||
|
if it is called with *delay_on==0 && *delay_off==0 parameters. In this
|
||||||
|
case the driver should give back the chosen value through delay_on and
|
||||||
|
delay_off parameters to the leds subsystem.
|
||||||
|
|
||||||
Setting the brightness to zero with brightness_set() callback function
|
Setting the brightness to zero with brightness_set() callback function
|
||||||
should completely turn off the LED and cancel the previously programmed
|
should completely turn off the LED and cancel the previously programmed
|
||||||
|
|
88
Documentation/leds/leds-lp5521.txt
Normal file
88
Documentation/leds/leds-lp5521.txt
Normal file
|
@ -0,0 +1,88 @@
|
||||||
|
Kernel driver for lp5521
|
||||||
|
========================
|
||||||
|
|
||||||
|
* National Semiconductor LP5521 led driver chip
|
||||||
|
* Datasheet: http://www.national.com/pf/LP/LP5521.html
|
||||||
|
|
||||||
|
Authors: Mathias Nyman, Yuri Zaporozhets, Samu Onkalo
|
||||||
|
Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com)
|
||||||
|
|
||||||
|
Description
|
||||||
|
-----------
|
||||||
|
|
||||||
|
LP5521 can drive up to 3 channels. Leds can be controlled directly via
|
||||||
|
the led class control interface. Channels have generic names:
|
||||||
|
lp5521:channelx, where x is 0 .. 2
|
||||||
|
|
||||||
|
All three channels can be also controlled using the engine micro programs.
|
||||||
|
More details of the instructions can be found from the public data sheet.
|
||||||
|
|
||||||
|
Control interface for the engines:
|
||||||
|
x is 1 .. 3
|
||||||
|
enginex_mode : disabled, load, run
|
||||||
|
enginex_load : store program (visible only in engine load mode)
|
||||||
|
|
||||||
|
Example (start to blink the channel 2 led):
|
||||||
|
cd /sys/class/leds/lp5521:channel2/device
|
||||||
|
echo "load" > engine3_mode
|
||||||
|
echo "037f4d0003ff6000" > engine3_load
|
||||||
|
echo "run" > engine3_mode
|
||||||
|
|
||||||
|
stop the engine:
|
||||||
|
echo "disabled" > engine3_mode
|
||||||
|
|
||||||
|
sysfs contains a selftest entry.
|
||||||
|
The test communicates with the chip and checks that
|
||||||
|
the clock mode is automatically set to the requested one.
|
||||||
|
|
||||||
|
Each channel has its own led current settings.
|
||||||
|
/sys/class/leds/lp5521:channel0/led_current - RW
|
||||||
|
/sys/class/leds/lp5521:channel0/max_current - RO
|
||||||
|
Format: 10x mA i.e 10 means 1.0 mA
|
||||||
|
|
||||||
|
example platform data:
|
||||||
|
|
||||||
|
Note: chan_nr can have values between 0 and 2.
|
||||||
|
|
||||||
|
static struct lp5521_led_config lp5521_led_config[] = {
|
||||||
|
{
|
||||||
|
.chan_nr = 0,
|
||||||
|
.led_current = 50,
|
||||||
|
.max_current = 130,
|
||||||
|
}, {
|
||||||
|
.chan_nr = 1,
|
||||||
|
.led_current = 0,
|
||||||
|
.max_current = 130,
|
||||||
|
}, {
|
||||||
|
.chan_nr = 2,
|
||||||
|
.led_current = 0,
|
||||||
|
.max_current = 130,
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
static int lp5521_setup(void)
|
||||||
|
{
|
||||||
|
/* setup HW resources */
|
||||||
|
}
|
||||||
|
|
||||||
|
static void lp5521_release(void)
|
||||||
|
{
|
||||||
|
/* Release HW resources */
|
||||||
|
}
|
||||||
|
|
||||||
|
static void lp5521_enable(bool state)
|
||||||
|
{
|
||||||
|
/* Control of chip enable signal */
|
||||||
|
}
|
||||||
|
|
||||||
|
static struct lp5521_platform_data lp5521_platform_data = {
|
||||||
|
.led_config = lp5521_led_config,
|
||||||
|
.num_channels = ARRAY_SIZE(lp5521_led_config),
|
||||||
|
.clock_mode = LP5521_CLOCK_EXT,
|
||||||
|
.setup_resources = lp5521_setup,
|
||||||
|
.release_resources = lp5521_release,
|
||||||
|
.enable = lp5521_enable,
|
||||||
|
};
|
||||||
|
|
||||||
|
If the current is set to 0 in the platform data, that channel is
|
||||||
|
disabled and it is not visible in the sysfs.
|
83
Documentation/leds/leds-lp5523.txt
Normal file
83
Documentation/leds/leds-lp5523.txt
Normal file
|
@ -0,0 +1,83 @@
|
||||||
|
Kernel driver for lp5523
|
||||||
|
========================
|
||||||
|
|
||||||
|
* National Semiconductor LP5523 led driver chip
|
||||||
|
* Datasheet: http://www.national.com/pf/LP/LP5523.html
|
||||||
|
|
||||||
|
Authors: Mathias Nyman, Yuri Zaporozhets, Samu Onkalo
|
||||||
|
Contact: Samu Onkalo (samu.p.onkalo-at-nokia.com)
|
||||||
|
|
||||||
|
Description
|
||||||
|
-----------
|
||||||
|
LP5523 can drive up to 9 channels. Leds can be controlled directly via
|
||||||
|
the led class control interface. Channels have generic names:
|
||||||
|
lp5523:channelx where x is 0...8
|
||||||
|
|
||||||
|
The chip provides 3 engines. Each engine can control channels without
|
||||||
|
interaction from the main CPU. Details of the micro engine code can be found
|
||||||
|
from the public data sheet. Leds can be muxed to different channels.
|
||||||
|
|
||||||
|
Control interface for the engines:
|
||||||
|
x is 1 .. 3
|
||||||
|
enginex_mode : disabled, load, run
|
||||||
|
enginex_load : microcode load (visible only in load mode)
|
||||||
|
enginex_leds : led mux control (visible only in load mode)
|
||||||
|
|
||||||
|
cd /sys/class/leds/lp5523:channel2/device
|
||||||
|
echo "load" > engine3_mode
|
||||||
|
echo "9d80400004ff05ff437f0000" > engine3_load
|
||||||
|
echo "111111111" > engine3_leds
|
||||||
|
echo "run" > engine3_mode
|
||||||
|
|
||||||
|
sysfs contains a selftest entry. It measures each channel
|
||||||
|
voltage level and checks if it looks reasonable. If the level is too high,
|
||||||
|
the led is missing; if the level is too low, there is a short circuit.
|
||||||
|
|
||||||
|
Selftest uses always the current from the platform data.
|
||||||
|
|
||||||
|
Each channel contains led current settings.
|
||||||
|
/sys/class/leds/lp5523:channel2/led_current - RW
|
||||||
|
/sys/class/leds/lp5523:channel2/max_current - RO
|
||||||
|
Format: 10x mA i.e 10 means 1.0 mA
|
||||||
|
|
||||||
|
Example platform data:
|
||||||
|
|
||||||
|
Note - chan_nr can have values between 0 and 8.
|
||||||
|
|
||||||
|
static struct lp5523_led_config lp5523_led_config[] = {
|
||||||
|
{
|
||||||
|
.chan_nr = 0,
|
||||||
|
.led_current = 50,
|
||||||
|
.max_current = 130,
|
||||||
|
},
|
||||||
|
...
|
||||||
|
}, {
|
||||||
|
.chan_nr = 8,
|
||||||
|
.led_current = 50,
|
||||||
|
.max_current = 130,
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
static int lp5523_setup(void)
|
||||||
|
{
|
||||||
|
/* Setup HW resources */
|
||||||
|
}
|
||||||
|
|
||||||
|
static void lp5523_release(void)
|
||||||
|
{
|
||||||
|
/* Release HW resources */
|
||||||
|
}
|
||||||
|
|
||||||
|
static void lp5523_enable(bool state)
|
||||||
|
{
|
||||||
|
/* Control chip enable signal */
|
||||||
|
}
|
||||||
|
|
||||||
|
static struct lp5523_platform_data lp5523_platform_data = {
|
||||||
|
.led_config = lp5523_led_config,
|
||||||
|
.num_channels = ARRAY_SIZE(lp5523_led_config),
|
||||||
|
.clock_mode = LP5523_CLOCK_EXT,
|
||||||
|
.setup_resources = lp5523_setup,
|
||||||
|
.release_resources = lp5523_release,
|
||||||
|
.enable = lp5523_enable,
|
||||||
|
};
|
|
@ -20,6 +20,15 @@ ip_no_pmtu_disc - BOOLEAN
|
||||||
min_pmtu - INTEGER
|
min_pmtu - INTEGER
|
||||||
default 562 - minimum discovered Path MTU
|
default 562 - minimum discovered Path MTU
|
||||||
|
|
||||||
|
route/max_size - INTEGER
|
||||||
|
Maximum number of routes allowed in the kernel. Increase
|
||||||
|
this when using large numbers of interfaces and/or routes.
|
||||||
|
|
||||||
|
neigh/default/gc_thresh3 - INTEGER
|
||||||
|
Maximum number of neighbor entries allowed. Increase this
|
||||||
|
when using large numbers of interfaces and when communicating
|
||||||
|
with large numbers of directly-connected peers.
|
||||||
|
|
||||||
mtu_expires - INTEGER
|
mtu_expires - INTEGER
|
||||||
Time, in seconds, that cached PMTU information is kept.
|
Time, in seconds, that cached PMTU information is kept.
|
||||||
|
|
||||||
|
@ -135,6 +144,7 @@ tcp_adv_win_scale - INTEGER
|
||||||
Count buffering overhead as bytes/2^tcp_adv_win_scale
|
Count buffering overhead as bytes/2^tcp_adv_win_scale
|
||||||
(if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
|
(if tcp_adv_win_scale > 0) or bytes-bytes/2^(-tcp_adv_win_scale),
|
||||||
if it is <= 0.
|
if it is <= 0.
|
||||||
|
Possible values are [-31, 31], inclusive.
|
||||||
Default: 2
|
Default: 2
|
||||||
|
|
||||||
tcp_allowed_congestion_control - STRING
|
tcp_allowed_congestion_control - STRING
|
||||||
|
|
|
@ -37,6 +37,9 @@ Typical usage of the OPP library is as follows:
|
||||||
SoC framework -> modifies on required cases certain OPPs -> OPP layer
|
SoC framework -> modifies on required cases certain OPPs -> OPP layer
|
||||||
-> queries to search/retrieve information ->
|
-> queries to search/retrieve information ->
|
||||||
|
|
||||||
|
Architectures that provide a SoC framework for OPP should select ARCH_HAS_OPP
|
||||||
|
to make the OPP layer available.
|
||||||
|
|
||||||
OPP layer expects each domain to be represented by a unique device pointer. SoC
|
OPP layer expects each domain to be represented by a unique device pointer. SoC
|
||||||
framework registers a set of initial OPPs per device with the OPP layer. This
|
framework registers a set of initial OPPs per device with the OPP layer. This
|
||||||
list is expected to be an optimally small number typically around 5 per device.
|
list is expected to be an optimally small number typically around 5 per device.
|
||||||
|
|
|
@ -379,8 +379,8 @@ drivers/base/power/runtime.c and include/linux/pm_runtime.h:
|
||||||
zero)
|
zero)
|
||||||
|
|
||||||
bool pm_runtime_suspended(struct device *dev);
|
bool pm_runtime_suspended(struct device *dev);
|
||||||
- return true if the device's runtime PM status is 'suspended', or false
|
- return true if the device's runtime PM status is 'suspended' and its
|
||||||
otherwise
|
'power.disable_depth' field is equal to zero, or false otherwise
|
||||||
|
|
||||||
void pm_runtime_allow(struct device *dev);
|
void pm_runtime_allow(struct device *dev);
|
||||||
- set the power.runtime_auto flag for the device and decrease its usage
|
- set the power.runtime_auto flag for the device and decrease its usage
|
||||||
|
|
|
@ -21,8 +21,8 @@ three rotations, respectively, to balance the tree), with slightly slower
|
||||||
To quote Linux Weekly News:
|
To quote Linux Weekly News:
|
||||||
|
|
||||||
There are a number of red-black trees in use in the kernel.
|
There are a number of red-black trees in use in the kernel.
|
||||||
The anticipatory, deadline, and CFQ I/O schedulers all employ
|
The deadline and CFQ I/O schedulers employ rbtrees to
|
||||||
rbtrees to track requests; the packet CD/DVD driver does the same.
|
track requests; the packet CD/DVD driver does the same.
|
||||||
The high-resolution timer code uses an rbtree to organize outstanding
|
The high-resolution timer code uses an rbtree to organize outstanding
|
||||||
timer requests. The ext3 filesystem tracks directory entries in a
|
timer requests. The ext3 filesystem tracks directory entries in a
|
||||||
red-black tree. Virtual memory areas (VMAs) are tracked with red-black
|
red-black tree. Virtual memory areas (VMAs) are tracked with red-black
|
||||||
|
|
|
@ -1,32 +0,0 @@
|
||||||
Clock framework on SuperH architecture
|
|
||||||
|
|
||||||
The framework on SH extends existing API by the function clk_set_rate_ex,
|
|
||||||
which prototype is as follows:
|
|
||||||
|
|
||||||
clk_set_rate_ex (struct clk *clk, unsigned long rate, int algo_id)
|
|
||||||
|
|
||||||
The algo_id parameter is used to specify algorithm used to recalculate clocks,
|
|
||||||
adjanced to clock, specified as first argument. It is assumed that algo_id==0
|
|
||||||
means no changes to adjanced clock
|
|
||||||
|
|
||||||
Internally, the clk_set_rate_ex forwards request to clk->ops->set_rate method,
|
|
||||||
if it is present in ops structure. The method should set the clock rate and adjust
|
|
||||||
all needed clocks according to the passed algo_id.
|
|
||||||
Exact values for algo_id are machine-dependent. For the sh7722, the following
|
|
||||||
values are defined:
|
|
||||||
|
|
||||||
NO_CHANGE = 0,
|
|
||||||
IUS_N1_N1, /* I:U = N:1, U:Sh = N:1 */
|
|
||||||
IUS_322, /* I:U:Sh = 3:2:2 */
|
|
||||||
IUS_522, /* I:U:Sh = 5:2:2 */
|
|
||||||
IUS_N11, /* I:U:Sh = N:1:1 */
|
|
||||||
SB_N1, /* Sh:B = N:1 */
|
|
||||||
SB3_N1, /* Sh:B3 = N:1 */
|
|
||||||
SB3_32, /* Sh:B3 = 3:2 */
|
|
||||||
SB3_43, /* Sh:B3 = 4:3 */
|
|
||||||
SB3_54, /* Sh:B3 = 5:4 */
|
|
||||||
BP_N1, /* B:P = N:1 */
|
|
||||||
IP_N1 /* I:P = N:1 */
|
|
||||||
|
|
||||||
Each of these constants means relation between clocks that can be set via the FRQCR
|
|
||||||
register
|
|
|
@ -28,6 +28,7 @@ show up in /proc/sys/kernel:
|
||||||
- core_uses_pid
|
- core_uses_pid
|
||||||
- ctrl-alt-del
|
- ctrl-alt-del
|
||||||
- dentry-state
|
- dentry-state
|
||||||
|
- dmesg_restrict
|
||||||
- domainname
|
- domainname
|
||||||
- hostname
|
- hostname
|
||||||
- hotplug
|
- hotplug
|
||||||
|
@ -213,6 +214,19 @@ to decide what to do with it.
|
||||||
|
|
||||||
==============================================================
|
==============================================================
|
||||||
|
|
||||||
|
dmesg_restrict:
|
||||||
|
|
||||||
|
This toggle indicates whether unprivileged users are prevented from using
|
||||||
|
dmesg(8) to view messages from the kernel's log buffer. When
|
||||||
|
dmesg_restrict is set to (0) there are no restrictions. When
|
||||||
|
dmesg_restrict is set set to (1), users must have CAP_SYS_ADMIN to use
|
||||||
|
dmesg(8).
|
||||||
|
|
||||||
|
The kernel config option CONFIG_SECURITY_DMESG_RESTRICT sets the default
|
||||||
|
value of dmesg_restrict.
|
||||||
|
|
||||||
|
==============================================================
|
||||||
|
|
||||||
domainname & hostname:
|
domainname & hostname:
|
||||||
|
|
||||||
These files can be used to set the NIS/YP domainname and the
|
These files can be used to set the NIS/YP domainname and the
|
||||||
|
|
59
MAINTAINERS
59
MAINTAINERS
|
@ -161,7 +161,7 @@ M: Greg Kroah-Hartman <gregkh@suse.de>
|
||||||
L: linux-serial@vger.kernel.org
|
L: linux-serial@vger.kernel.org
|
||||||
W: http://serial.sourceforge.net
|
W: http://serial.sourceforge.net
|
||||||
S: Maintained
|
S: Maintained
|
||||||
T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6.git
|
||||||
F: drivers/serial/8250*
|
F: drivers/serial/8250*
|
||||||
F: include/linux/serial_8250.h
|
F: include/linux/serial_8250.h
|
||||||
|
|
||||||
|
@ -559,14 +559,14 @@ W: http://maxim.org.za/at91_26.html
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
ARM/BCMRING ARM ARCHITECTURE
|
ARM/BCMRING ARM ARCHITECTURE
|
||||||
M: Leo Chen <leochen@broadcom.com>
|
M: Jiandong Zheng <jdzheng@broadcom.com>
|
||||||
M: Scott Branden <sbranden@broadcom.com>
|
M: Scott Branden <sbranden@broadcom.com>
|
||||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: arch/arm/mach-bcmring
|
F: arch/arm/mach-bcmring
|
||||||
|
|
||||||
ARM/BCMRING MTD NAND DRIVER
|
ARM/BCMRING MTD NAND DRIVER
|
||||||
M: Leo Chen <leochen@broadcom.com>
|
M: Jiandong Zheng <jdzheng@broadcom.com>
|
||||||
M: Scott Branden <sbranden@broadcom.com>
|
M: Scott Branden <sbranden@broadcom.com>
|
||||||
L: linux-mtd@lists.infradead.org
|
L: linux-mtd@lists.infradead.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
@ -815,7 +815,7 @@ F: drivers/mmc/host/msm_sdcc.c
|
||||||
F: drivers/mmc/host/msm_sdcc.h
|
F: drivers/mmc/host/msm_sdcc.h
|
||||||
F: drivers/serial/msm_serial.h
|
F: drivers/serial/msm_serial.h
|
||||||
F: drivers/serial/msm_serial.c
|
F: drivers/serial/msm_serial.c
|
||||||
T: git git://codeaurora.org/quic/kernel/dwalker/linux-msm.git
|
T: git git://codeaurora.org/quic/kernel/davidb/linux-msm.git
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
|
||||||
ARM/TOSA MACHINE SUPPORT
|
ARM/TOSA MACHINE SUPPORT
|
||||||
|
@ -945,7 +945,7 @@ M: Magnus Damm <magnus.damm@gmail.com>
|
||||||
L: linux-sh@vger.kernel.org
|
L: linux-sh@vger.kernel.org
|
||||||
W: http://oss.renesas.com
|
W: http://oss.renesas.com
|
||||||
Q: http://patchwork.kernel.org/project/linux-sh/list/
|
Q: http://patchwork.kernel.org/project/linux-sh/list/
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/genesis-2.6.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git rmobile-latest
|
||||||
S: Supported
|
S: Supported
|
||||||
F: arch/arm/mach-shmobile/
|
F: arch/arm/mach-shmobile/
|
||||||
F: drivers/sh/
|
F: drivers/sh/
|
||||||
|
@ -1359,7 +1359,7 @@ F: include/net/bluetooth/
|
||||||
|
|
||||||
BONDING DRIVER
|
BONDING DRIVER
|
||||||
M: Jay Vosburgh <fubar@us.ibm.com>
|
M: Jay Vosburgh <fubar@us.ibm.com>
|
||||||
L: bonding-devel@lists.sourceforge.net
|
L: netdev@vger.kernel.org
|
||||||
W: http://sourceforge.net/projects/bonding/
|
W: http://sourceforge.net/projects/bonding/
|
||||||
S: Supported
|
S: Supported
|
||||||
F: drivers/net/bonding/
|
F: drivers/net/bonding/
|
||||||
|
@ -1829,6 +1829,13 @@ W: http://www.chelsio.com
|
||||||
S: Supported
|
S: Supported
|
||||||
F: drivers/net/cxgb4vf/
|
F: drivers/net/cxgb4vf/
|
||||||
|
|
||||||
|
STMMAC ETHERNET DRIVER
|
||||||
|
M: Giuseppe Cavallaro <peppe.cavallaro@st.com>
|
||||||
|
L: netdev@vger.kernel.org
|
||||||
|
W: http://www.stlinux.com
|
||||||
|
S: Supported
|
||||||
|
F: drivers/net/stmmac/
|
||||||
|
|
||||||
CYBERPRO FB DRIVER
|
CYBERPRO FB DRIVER
|
||||||
M: Russell King <linux@arm.linux.org.uk>
|
M: Russell King <linux@arm.linux.org.uk>
|
||||||
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
|
||||||
|
@ -2008,6 +2015,7 @@ F: drivers/hwmon/dme1737.c
|
||||||
DOCBOOK FOR DOCUMENTATION
|
DOCBOOK FOR DOCUMENTATION
|
||||||
M: Randy Dunlap <rdunlap@xenotime.net>
|
M: Randy Dunlap <rdunlap@xenotime.net>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
|
F: scripts/kernel-doc
|
||||||
|
|
||||||
DOCKING STATION DRIVER
|
DOCKING STATION DRIVER
|
||||||
M: Shaohua Li <shaohua.li@intel.com>
|
M: Shaohua Li <shaohua.li@intel.com>
|
||||||
|
@ -2018,6 +2026,7 @@ F: drivers/acpi/dock.c
|
||||||
DOCUMENTATION
|
DOCUMENTATION
|
||||||
M: Randy Dunlap <rdunlap@xenotime.net>
|
M: Randy Dunlap <rdunlap@xenotime.net>
|
||||||
L: linux-doc@vger.kernel.org
|
L: linux-doc@vger.kernel.org
|
||||||
|
T: quilt oss.oracle.com/~rdunlap/kernel-doc-patches/current/
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: Documentation/
|
F: Documentation/
|
||||||
|
|
||||||
|
@ -2051,7 +2060,7 @@ F: Documentation/blockdev/drbd/
|
||||||
|
|
||||||
DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS
|
DRIVER CORE, KOBJECTS, DEBUGFS AND SYSFS
|
||||||
M: Greg Kroah-Hartman <gregkh@suse.de>
|
M: Greg Kroah-Hartman <gregkh@suse.de>
|
||||||
T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/driver-core-2.6.git
|
||||||
S: Supported
|
S: Supported
|
||||||
F: Documentation/kobject.txt
|
F: Documentation/kobject.txt
|
||||||
F: drivers/base/
|
F: drivers/base/
|
||||||
|
@ -2071,7 +2080,7 @@ F: include/drm/
|
||||||
|
|
||||||
INTEL DRM DRIVERS (excluding Poulsbo, Moorestown and derivative chipsets)
|
INTEL DRM DRIVERS (excluding Poulsbo, Moorestown and derivative chipsets)
|
||||||
M: Chris Wilson <chris@chris-wilson.co.uk>
|
M: Chris Wilson <chris@chris-wilson.co.uk>
|
||||||
L: intel-gfx@lists.freedesktop.org
|
L: intel-gfx@lists.freedesktop.org (subscribers-only)
|
||||||
L: dri-devel@lists.freedesktop.org
|
L: dri-devel@lists.freedesktop.org
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/ickle/drm-intel.git
|
||||||
S: Supported
|
S: Supported
|
||||||
|
@ -2435,9 +2444,12 @@ F: drivers/net/wan/sdla.c
|
||||||
FRAMEBUFFER LAYER
|
FRAMEBUFFER LAYER
|
||||||
L: linux-fbdev@vger.kernel.org
|
L: linux-fbdev@vger.kernel.org
|
||||||
W: http://linux-fbdev.sourceforge.net/
|
W: http://linux-fbdev.sourceforge.net/
|
||||||
|
Q: http://patchwork.kernel.org/project/linux-fbdev/list/
|
||||||
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/fbdev-2.6.git
|
||||||
S: Orphan
|
S: Orphan
|
||||||
F: Documentation/fb/
|
F: Documentation/fb/
|
||||||
F: drivers/video/fb*
|
F: drivers/video/
|
||||||
|
F: include/video/
|
||||||
F: include/linux/fb.h
|
F: include/linux/fb.h
|
||||||
|
|
||||||
FREESCALE DMA DRIVER
|
FREESCALE DMA DRIVER
|
||||||
|
@ -4052,9 +4064,8 @@ F: drivers/scsi/NCR_D700.*
|
||||||
|
|
||||||
NETEFFECT IWARP RNIC DRIVER (IW_NES)
|
NETEFFECT IWARP RNIC DRIVER (IW_NES)
|
||||||
M: Faisal Latif <faisal.latif@intel.com>
|
M: Faisal Latif <faisal.latif@intel.com>
|
||||||
M: Chien Tung <chien.tin.tung@intel.com>
|
|
||||||
L: linux-rdma@vger.kernel.org
|
L: linux-rdma@vger.kernel.org
|
||||||
W: http://www.neteffect.com
|
W: http://www.intel.com/Products/Server/Adapters/Server-Cluster/Server-Cluster-overview.htm
|
||||||
S: Supported
|
S: Supported
|
||||||
F: drivers/infiniband/hw/nes/
|
F: drivers/infiniband/hw/nes/
|
||||||
|
|
||||||
|
@ -5676,7 +5687,7 @@ S: Maintained
|
||||||
|
|
||||||
STAGING SUBSYSTEM
|
STAGING SUBSYSTEM
|
||||||
M: Greg Kroah-Hartman <gregkh@suse.de>
|
M: Greg Kroah-Hartman <gregkh@suse.de>
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-next-2.6.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging-2.6.git
|
||||||
L: devel@driverdev.osuosl.org
|
L: devel@driverdev.osuosl.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/staging/
|
F: drivers/staging/
|
||||||
|
@ -5705,7 +5716,7 @@ M: Paul Mundt <lethal@linux-sh.org>
|
||||||
L: linux-sh@vger.kernel.org
|
L: linux-sh@vger.kernel.org
|
||||||
W: http://www.linux-sh.org
|
W: http://www.linux-sh.org
|
||||||
Q: http://patchwork.kernel.org/project/linux-sh/list/
|
Q: http://patchwork.kernel.org/project/linux-sh/list/
|
||||||
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6.git sh-latest
|
||||||
S: Supported
|
S: Supported
|
||||||
F: Documentation/sh/
|
F: Documentation/sh/
|
||||||
F: arch/sh/
|
F: arch/sh/
|
||||||
|
@ -5827,6 +5838,8 @@ M: Chris Metcalf <cmetcalf@tilera.com>
|
||||||
W: http://www.tilera.com/scm/
|
W: http://www.tilera.com/scm/
|
||||||
S: Supported
|
S: Supported
|
||||||
F: arch/tile/
|
F: arch/tile/
|
||||||
|
F: drivers/char/hvc_tile.c
|
||||||
|
F: drivers/net/tile/
|
||||||
|
|
||||||
TLAN NETWORK DRIVER
|
TLAN NETWORK DRIVER
|
||||||
M: Samuel Chessman <chessman@tux.org>
|
M: Samuel Chessman <chessman@tux.org>
|
||||||
|
@ -5910,7 +5923,7 @@ S: Maintained
|
||||||
TTY LAYER
|
TTY LAYER
|
||||||
M: Greg Kroah-Hartman <gregkh@suse.de>
|
M: Greg Kroah-Hartman <gregkh@suse.de>
|
||||||
S: Maintained
|
S: Maintained
|
||||||
T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/tty-2.6.git
|
||||||
F: drivers/char/tty_*
|
F: drivers/char/tty_*
|
||||||
F: drivers/serial/serial_core.c
|
F: drivers/serial/serial_core.c
|
||||||
F: include/linux/serial_core.h
|
F: include/linux/serial_core.h
|
||||||
|
@ -5919,7 +5932,6 @@ F: include/linux/tty.h
|
||||||
|
|
||||||
TULIP NETWORK DRIVERS
|
TULIP NETWORK DRIVERS
|
||||||
M: Grant Grundler <grundler@parisc-linux.org>
|
M: Grant Grundler <grundler@parisc-linux.org>
|
||||||
M: Kyle McMartin <kyle@mcmartin.ca>
|
|
||||||
L: netdev@vger.kernel.org
|
L: netdev@vger.kernel.org
|
||||||
S: Maintained
|
S: Maintained
|
||||||
F: drivers/net/tulip/
|
F: drivers/net/tulip/
|
||||||
|
@ -6233,7 +6245,7 @@ USB SUBSYSTEM
|
||||||
M: Greg Kroah-Hartman <gregkh@suse.de>
|
M: Greg Kroah-Hartman <gregkh@suse.de>
|
||||||
L: linux-usb@vger.kernel.org
|
L: linux-usb@vger.kernel.org
|
||||||
W: http://www.linux-usb.org
|
W: http://www.linux-usb.org
|
||||||
T: quilt kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6.git
|
||||||
S: Supported
|
S: Supported
|
||||||
F: Documentation/usb/
|
F: Documentation/usb/
|
||||||
F: drivers/net/usb/
|
F: drivers/net/usb/
|
||||||
|
@ -6571,6 +6583,15 @@ F: include/linux/mfd/wm8400*
|
||||||
F: include/sound/wm????.h
|
F: include/sound/wm????.h
|
||||||
F: sound/soc/codecs/wm*
|
F: sound/soc/codecs/wm*
|
||||||
|
|
||||||
|
WORKQUEUE
|
||||||
|
M: Tejun Heo <tj@kernel.org>
|
||||||
|
L: linux-kernel@vger.kernel.org
|
||||||
|
T: git git://git.kernel.org/pub/scm/linux/kernel/git/tj/wq.git
|
||||||
|
S: Maintained
|
||||||
|
F: include/linux/workqueue.h
|
||||||
|
F: kernel/workqueue.c
|
||||||
|
F: Documentation/workqueue.txt
|
||||||
|
|
||||||
X.25 NETWORK LAYER
|
X.25 NETWORK LAYER
|
||||||
M: Andrew Hendry <andrew.hendry@gmail.com>
|
M: Andrew Hendry <andrew.hendry@gmail.com>
|
||||||
L: linux-x25@vger.kernel.org
|
L: linux-x25@vger.kernel.org
|
||||||
|
@ -6598,14 +6619,14 @@ F: drivers/platform/x86
|
||||||
|
|
||||||
XEN PCI SUBSYSTEM
|
XEN PCI SUBSYSTEM
|
||||||
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
||||||
L: xen-devel@lists.xensource.com
|
L: xen-devel@lists.xensource.com (moderated for non-subscribers)
|
||||||
S: Supported
|
S: Supported
|
||||||
F: arch/x86/pci/*xen*
|
F: arch/x86/pci/*xen*
|
||||||
F: drivers/pci/*xen*
|
F: drivers/pci/*xen*
|
||||||
|
|
||||||
XEN SWIOTLB SUBSYSTEM
|
XEN SWIOTLB SUBSYSTEM
|
||||||
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
||||||
L: xen-devel@lists.xensource.com
|
L: xen-devel@lists.xensource.com (moderated for non-subscribers)
|
||||||
S: Supported
|
S: Supported
|
||||||
F: arch/x86/xen/*swiotlb*
|
F: arch/x86/xen/*swiotlb*
|
||||||
F: drivers/xen/*swiotlb*
|
F: drivers/xen/*swiotlb*
|
||||||
|
@ -6613,7 +6634,7 @@ F: drivers/xen/*swiotlb*
|
||||||
XEN HYPERVISOR INTERFACE
|
XEN HYPERVISOR INTERFACE
|
||||||
M: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
|
M: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
|
||||||
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
M: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
|
||||||
L: xen-devel@lists.xen.org
|
L: xen-devel@lists.xensource.com (moderated for non-subscribers)
|
||||||
L: virtualization@lists.osdl.org
|
L: virtualization@lists.osdl.org
|
||||||
S: Supported
|
S: Supported
|
||||||
F: arch/x86/xen/
|
F: arch/x86/xen/
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -1,7 +1,7 @@
|
||||||
VERSION = 2
|
VERSION = 2
|
||||||
PATCHLEVEL = 6
|
PATCHLEVEL = 6
|
||||||
SUBLEVEL = 37
|
SUBLEVEL = 37
|
||||||
EXTRAVERSION = -rc1
|
EXTRAVERSION = -rc7
|
||||||
NAME = Flesh-Eating Bats with Fangs
|
NAME = Flesh-Eating Bats with Fangs
|
||||||
|
|
||||||
# *DOCUMENTATION*
|
# *DOCUMENTATION*
|
||||||
|
|
|
@ -6,10 +6,10 @@ config ARM
|
||||||
select HAVE_MEMBLOCK
|
select HAVE_MEMBLOCK
|
||||||
select RTC_LIB
|
select RTC_LIB
|
||||||
select SYS_SUPPORTS_APM_EMULATION
|
select SYS_SUPPORTS_APM_EMULATION
|
||||||
select GENERIC_ATOMIC64 if (!CPU_32v6K)
|
select GENERIC_ATOMIC64 if (!CPU_32v6K || !AEABI)
|
||||||
select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
|
select HAVE_OPROFILE if (HAVE_PERF_EVENTS)
|
||||||
select HAVE_ARCH_KGDB
|
select HAVE_ARCH_KGDB
|
||||||
select HAVE_KPROBES if (!XIP_KERNEL)
|
select HAVE_KPROBES if (!XIP_KERNEL && !THUMB2_KERNEL)
|
||||||
select HAVE_KRETPROBES if (HAVE_KPROBES)
|
select HAVE_KRETPROBES if (HAVE_KPROBES)
|
||||||
select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
|
select HAVE_FUNCTION_TRACER if (!XIP_KERNEL)
|
||||||
select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
|
select HAVE_FTRACE_MCOUNT_RECORD if (!XIP_KERNEL)
|
||||||
|
@ -646,7 +646,7 @@ config ARCH_S3C2410
|
||||||
select ARCH_HAS_CPUFREQ
|
select ARCH_HAS_CPUFREQ
|
||||||
select HAVE_CLK
|
select HAVE_CLK
|
||||||
select ARCH_USES_GETTIMEOFFSET
|
select ARCH_USES_GETTIMEOFFSET
|
||||||
select HAVE_S3C2410_I2C
|
select HAVE_S3C2410_I2C if I2C
|
||||||
help
|
help
|
||||||
Samsung S3C2410X CPU based systems, such as the Simtec Electronics
|
Samsung S3C2410X CPU based systems, such as the Simtec Electronics
|
||||||
BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
|
BAST (<http://www.simtec.co.uk/products/EB110ITX/>), the IPAQ 1940 or
|
||||||
|
@ -676,8 +676,8 @@ config ARCH_S3C64XX
|
||||||
select S3C_DEV_NAND
|
select S3C_DEV_NAND
|
||||||
select USB_ARCH_HAS_OHCI
|
select USB_ARCH_HAS_OHCI
|
||||||
select SAMSUNG_GPIOLIB_4BIT
|
select SAMSUNG_GPIOLIB_4BIT
|
||||||
select HAVE_S3C2410_I2C
|
select HAVE_S3C2410_I2C if I2C
|
||||||
select HAVE_S3C2410_WATCHDOG
|
select HAVE_S3C2410_WATCHDOG if WATCHDOG
|
||||||
help
|
help
|
||||||
Samsung S3C64XX series based systems
|
Samsung S3C64XX series based systems
|
||||||
|
|
||||||
|
@ -686,10 +686,10 @@ config ARCH_S5P64X0
|
||||||
select CPU_V6
|
select CPU_V6
|
||||||
select GENERIC_GPIO
|
select GENERIC_GPIO
|
||||||
select HAVE_CLK
|
select HAVE_CLK
|
||||||
select HAVE_S3C2410_WATCHDOG
|
select HAVE_S3C2410_WATCHDOG if WATCHDOG
|
||||||
select ARCH_USES_GETTIMEOFFSET
|
select ARCH_USES_GETTIMEOFFSET
|
||||||
select HAVE_S3C2410_I2C
|
select HAVE_S3C2410_I2C if I2C
|
||||||
select HAVE_S3C_RTC
|
select HAVE_S3C_RTC if RTC_CLASS
|
||||||
help
|
help
|
||||||
Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
|
Samsung S5P64X0 CPU based systems, such as the Samsung SMDK6440,
|
||||||
SMDK6450.
|
SMDK6450.
|
||||||
|
@ -700,7 +700,7 @@ config ARCH_S5P6442
|
||||||
select GENERIC_GPIO
|
select GENERIC_GPIO
|
||||||
select HAVE_CLK
|
select HAVE_CLK
|
||||||
select ARCH_USES_GETTIMEOFFSET
|
select ARCH_USES_GETTIMEOFFSET
|
||||||
select HAVE_S3C2410_WATCHDOG
|
select HAVE_S3C2410_WATCHDOG if WATCHDOG
|
||||||
help
|
help
|
||||||
Samsung S5P6442 CPU based systems
|
Samsung S5P6442 CPU based systems
|
||||||
|
|
||||||
|
@ -711,9 +711,9 @@ config ARCH_S5PC100
|
||||||
select CPU_V7
|
select CPU_V7
|
||||||
select ARM_L1_CACHE_SHIFT_6
|
select ARM_L1_CACHE_SHIFT_6
|
||||||
select ARCH_USES_GETTIMEOFFSET
|
select ARCH_USES_GETTIMEOFFSET
|
||||||
select HAVE_S3C2410_I2C
|
select HAVE_S3C2410_I2C if I2C
|
||||||
select HAVE_S3C_RTC
|
select HAVE_S3C_RTC if RTC_CLASS
|
||||||
select HAVE_S3C2410_WATCHDOG
|
select HAVE_S3C2410_WATCHDOG if WATCHDOG
|
||||||
help
|
help
|
||||||
Samsung S5PC100 series based systems
|
Samsung S5PC100 series based systems
|
||||||
|
|
||||||
|
@ -726,9 +726,9 @@ config ARCH_S5PV210
|
||||||
select ARM_L1_CACHE_SHIFT_6
|
select ARM_L1_CACHE_SHIFT_6
|
||||||
select ARCH_HAS_CPUFREQ
|
select ARCH_HAS_CPUFREQ
|
||||||
select ARCH_USES_GETTIMEOFFSET
|
select ARCH_USES_GETTIMEOFFSET
|
||||||
select HAVE_S3C2410_I2C
|
select HAVE_S3C2410_I2C if I2C
|
||||||
select HAVE_S3C_RTC
|
select HAVE_S3C_RTC if RTC_CLASS
|
||||||
select HAVE_S3C2410_WATCHDOG
|
select HAVE_S3C2410_WATCHDOG if WATCHDOG
|
||||||
help
|
help
|
||||||
Samsung S5PV210/S5PC110 series based systems
|
Samsung S5PV210/S5PC110 series based systems
|
||||||
|
|
||||||
|
@ -739,9 +739,9 @@ config ARCH_S5PV310
|
||||||
select GENERIC_GPIO
|
select GENERIC_GPIO
|
||||||
select HAVE_CLK
|
select HAVE_CLK
|
||||||
select GENERIC_CLOCKEVENTS
|
select GENERIC_CLOCKEVENTS
|
||||||
select HAVE_S3C_RTC
|
select HAVE_S3C_RTC if RTC_CLASS
|
||||||
select HAVE_S3C2410_I2C
|
select HAVE_S3C2410_I2C if I2C
|
||||||
select HAVE_S3C2410_WATCHDOG
|
select HAVE_S3C2410_WATCHDOG if WATCHDOG
|
||||||
help
|
help
|
||||||
Samsung S5PV310 series based systems
|
Samsung S5PV310 series based systems
|
||||||
|
|
||||||
|
@ -1311,7 +1311,7 @@ config HZ
|
||||||
|
|
||||||
config THUMB2_KERNEL
|
config THUMB2_KERNEL
|
||||||
bool "Compile the kernel in Thumb-2 mode"
|
bool "Compile the kernel in Thumb-2 mode"
|
||||||
depends on CPU_V7 && EXPERIMENTAL
|
depends on CPU_V7 && !CPU_V6 && EXPERIMENTAL
|
||||||
select AEABI
|
select AEABI
|
||||||
select ARM_ASM_UNIFIED
|
select ARM_ASM_UNIFIED
|
||||||
help
|
help
|
||||||
|
@ -1759,7 +1759,7 @@ comment "At least one emulation must be selected"
|
||||||
|
|
||||||
config FPE_NWFPE
|
config FPE_NWFPE
|
||||||
bool "NWFPE math emulation"
|
bool "NWFPE math emulation"
|
||||||
depends on !AEABI || OABI_COMPAT
|
depends on (!AEABI || OABI_COMPAT) && !THUMB2_KERNEL
|
||||||
---help---
|
---help---
|
||||||
Say Y to include the NWFPE floating point emulator in the kernel.
|
Say Y to include the NWFPE floating point emulator in the kernel.
|
||||||
This is necessary to run most binaries. Linux does not currently
|
This is necessary to run most binaries. Linux does not currently
|
||||||
|
|
|
@ -70,12 +70,7 @@ else
|
||||||
$(obj)/uImage: LOADADDR=$(ZRELADDR)
|
$(obj)/uImage: LOADADDR=$(ZRELADDR)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(CONFIG_THUMB2_KERNEL),y)
|
|
||||||
# Set bit 0 to 1 so that "mov pc, rx" switches to Thumb-2 mode
|
|
||||||
$(obj)/uImage: STARTADDR=$(shell echo $(LOADADDR) | sed -e "s/.$$/1/")
|
|
||||||
else
|
|
||||||
$(obj)/uImage: STARTADDR=$(LOADADDR)
|
$(obj)/uImage: STARTADDR=$(LOADADDR)
|
||||||
endif
|
|
||||||
|
|
||||||
$(obj)/uImage: $(obj)/zImage FORCE
|
$(obj)/uImage: $(obj)/zImage FORCE
|
||||||
$(call if_changed,uimage)
|
$(call if_changed,uimage)
|
||||||
|
|
|
@ -73,6 +73,8 @@ move: ldmia r4!, {r7 - r10} @ move 32-bytes at a time
|
||||||
|
|
||||||
.size _start, . - _start
|
.size _start, . - _start
|
||||||
|
|
||||||
|
.align
|
||||||
|
|
||||||
.type data,#object
|
.type data,#object
|
||||||
data: .word initrd_start @ source initrd address
|
data: .word initrd_start @ source initrd address
|
||||||
.word initrd_phys @ destination initrd address
|
.word initrd_phys @ destination initrd address
|
||||||
|
|
|
@ -125,9 +125,13 @@ wait: mrc p14, 0, pc, c0, c1, 0
|
||||||
* sort out different calling conventions
|
* sort out different calling conventions
|
||||||
*/
|
*/
|
||||||
.align
|
.align
|
||||||
|
.arm @ Always enter in ARM state
|
||||||
start:
|
start:
|
||||||
.type start,#function
|
.type start,#function
|
||||||
.rept 8
|
THUMB( adr r12, BSYM(1f) )
|
||||||
|
THUMB( bx r12 )
|
||||||
|
THUMB( .rept 6 )
|
||||||
|
ARM( .rept 8 )
|
||||||
mov r0, r0
|
mov r0, r0
|
||||||
.endr
|
.endr
|
||||||
|
|
||||||
|
@ -135,6 +139,7 @@ start:
|
||||||
.word 0x016f2818 @ Magic numbers to help the loader
|
.word 0x016f2818 @ Magic numbers to help the loader
|
||||||
.word start @ absolute load/run zImage address
|
.word start @ absolute load/run zImage address
|
||||||
.word _edata @ zImage end address
|
.word _edata @ zImage end address
|
||||||
|
THUMB( .thumb )
|
||||||
1: mov r7, r1 @ save architecture ID
|
1: mov r7, r1 @ save architecture ID
|
||||||
mov r8, r2 @ save atags pointer
|
mov r8, r2 @ save atags pointer
|
||||||
|
|
||||||
|
@ -174,7 +179,8 @@ not_angel:
|
||||||
ldr sp, [r0, #28]
|
ldr sp, [r0, #28]
|
||||||
#ifdef CONFIG_AUTO_ZRELADDR
|
#ifdef CONFIG_AUTO_ZRELADDR
|
||||||
@ determine final kernel image address
|
@ determine final kernel image address
|
||||||
and r4, pc, #0xf8000000
|
mov r4, pc
|
||||||
|
and r4, r4, #0xf8000000
|
||||||
add r4, r4, #TEXT_OFFSET
|
add r4, r4, #TEXT_OFFSET
|
||||||
#else
|
#else
|
||||||
ldr r4, =zreladdr
|
ldr r4, =zreladdr
|
||||||
|
@ -445,7 +451,8 @@ __setup_mmu: sub r3, r4, #16384 @ Page directory size
|
||||||
*/
|
*/
|
||||||
mov r1, #0x1e
|
mov r1, #0x1e
|
||||||
orr r1, r1, #3 << 10
|
orr r1, r1, #3 << 10
|
||||||
mov r2, pc, lsr #20
|
mov r2, pc
|
||||||
|
mov r2, r2, lsr #20
|
||||||
orr r1, r1, r2, lsl #20
|
orr r1, r1, r2, lsl #20
|
||||||
add r0, r3, r2, lsl #2
|
add r0, r3, r2, lsl #2
|
||||||
str r1, [r0], #4
|
str r1, [r0], #4
|
||||||
|
@ -1084,6 +1091,6 @@ memdump: mov r12, r0
|
||||||
reloc_end:
|
reloc_end:
|
||||||
|
|
||||||
.align
|
.align
|
||||||
.section ".stack", "w"
|
.section ".stack", "aw", %nobits
|
||||||
user_stack: .space 4096
|
user_stack: .space 4096
|
||||||
user_stack_end:
|
user_stack_end:
|
||||||
|
|
|
@ -57,7 +57,7 @@ SECTIONS
|
||||||
.bss : { *(.bss) }
|
.bss : { *(.bss) }
|
||||||
_end = .;
|
_end = .;
|
||||||
|
|
||||||
.stack (NOLOAD) : { *(.stack) }
|
.stack : { *(.stack) }
|
||||||
|
|
||||||
.stab 0 : { *(.stab) }
|
.stab 0 : { *(.stab) }
|
||||||
.stabstr 0 : { *(.stabstr) }
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
|
|
@ -146,9 +146,15 @@ static int gic_set_cpu(unsigned int irq, const struct cpumask *mask_val)
|
||||||
unsigned int shift = (irq % 4) * 8;
|
unsigned int shift = (irq % 4) * 8;
|
||||||
unsigned int cpu = cpumask_first(mask_val);
|
unsigned int cpu = cpumask_first(mask_val);
|
||||||
u32 val;
|
u32 val;
|
||||||
|
struct irq_desc *desc;
|
||||||
|
|
||||||
spin_lock(&irq_controller_lock);
|
spin_lock(&irq_controller_lock);
|
||||||
irq_desc[irq].node = cpu;
|
desc = irq_to_desc(irq);
|
||||||
|
if (desc == NULL) {
|
||||||
|
spin_unlock(&irq_controller_lock);
|
||||||
|
return -EINVAL;
|
||||||
|
}
|
||||||
|
desc->node = cpu;
|
||||||
val = readl(reg) & ~(0xff << shift);
|
val = readl(reg) & ~(0xff << shift);
|
||||||
val |= 1 << (cpu + shift);
|
val |= 1 << (cpu + shift);
|
||||||
writel(val, reg);
|
writel(val, reg);
|
||||||
|
@ -210,7 +216,7 @@ void __init gic_cascade_irq(unsigned int gic_nr, unsigned int irq)
|
||||||
void __init gic_dist_init(unsigned int gic_nr, void __iomem *base,
|
void __init gic_dist_init(unsigned int gic_nr, void __iomem *base,
|
||||||
unsigned int irq_start)
|
unsigned int irq_start)
|
||||||
{
|
{
|
||||||
unsigned int max_irq, i;
|
unsigned int gic_irqs, irq_limit, i;
|
||||||
u32 cpumask = 1 << smp_processor_id();
|
u32 cpumask = 1 << smp_processor_id();
|
||||||
|
|
||||||
if (gic_nr >= MAX_GIC_NR)
|
if (gic_nr >= MAX_GIC_NR)
|
||||||
|
@ -226,46 +232,49 @@ void __init gic_dist_init(unsigned int gic_nr, void __iomem *base,
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Find out how many interrupts are supported.
|
* Find out how many interrupts are supported.
|
||||||
*/
|
|
||||||
max_irq = readl(base + GIC_DIST_CTR) & 0x1f;
|
|
||||||
max_irq = (max_irq + 1) * 32;
|
|
||||||
|
|
||||||
/*
|
|
||||||
* The GIC only supports up to 1020 interrupt sources.
|
* The GIC only supports up to 1020 interrupt sources.
|
||||||
* Limit this to either the architected maximum, or the
|
|
||||||
* platform maximum.
|
|
||||||
*/
|
*/
|
||||||
if (max_irq > max(1020, NR_IRQS))
|
gic_irqs = readl(base + GIC_DIST_CTR) & 0x1f;
|
||||||
max_irq = max(1020, NR_IRQS);
|
gic_irqs = (gic_irqs + 1) * 32;
|
||||||
|
if (gic_irqs > 1020)
|
||||||
|
gic_irqs = 1020;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set all global interrupts to be level triggered, active low.
|
* Set all global interrupts to be level triggered, active low.
|
||||||
*/
|
*/
|
||||||
for (i = 32; i < max_irq; i += 16)
|
for (i = 32; i < gic_irqs; i += 16)
|
||||||
writel(0, base + GIC_DIST_CONFIG + i * 4 / 16);
|
writel(0, base + GIC_DIST_CONFIG + i * 4 / 16);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set all global interrupts to this CPU only.
|
* Set all global interrupts to this CPU only.
|
||||||
*/
|
*/
|
||||||
for (i = 32; i < max_irq; i += 4)
|
for (i = 32; i < gic_irqs; i += 4)
|
||||||
writel(cpumask, base + GIC_DIST_TARGET + i * 4 / 4);
|
writel(cpumask, base + GIC_DIST_TARGET + i * 4 / 4);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Set priority on all interrupts.
|
* Set priority on all global interrupts.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < max_irq; i += 4)
|
for (i = 32; i < gic_irqs; i += 4)
|
||||||
writel(0xa0a0a0a0, base + GIC_DIST_PRI + i * 4 / 4);
|
writel(0xa0a0a0a0, base + GIC_DIST_PRI + i * 4 / 4);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable all interrupts.
|
* Disable all interrupts. Leave the PPI and SGIs alone
|
||||||
|
* as these enables are banked registers.
|
||||||
*/
|
*/
|
||||||
for (i = 0; i < max_irq; i += 32)
|
for (i = 32; i < gic_irqs; i += 32)
|
||||||
writel(0xffffffff, base + GIC_DIST_ENABLE_CLEAR + i * 4 / 32);
|
writel(0xffffffff, base + GIC_DIST_ENABLE_CLEAR + i * 4 / 32);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Limit number of interrupts registered to the platform maximum
|
||||||
|
*/
|
||||||
|
irq_limit = gic_data[gic_nr].irq_offset + gic_irqs;
|
||||||
|
if (WARN_ON(irq_limit > NR_IRQS))
|
||||||
|
irq_limit = NR_IRQS;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Setup the Linux IRQ subsystem.
|
* Setup the Linux IRQ subsystem.
|
||||||
*/
|
*/
|
||||||
for (i = irq_start; i < gic_data[gic_nr].irq_offset + max_irq; i++) {
|
for (i = irq_start; i < irq_limit; i++) {
|
||||||
set_irq_chip(i, &gic_chip);
|
set_irq_chip(i, &gic_chip);
|
||||||
set_irq_chip_data(i, &gic_data[gic_nr]);
|
set_irq_chip_data(i, &gic_data[gic_nr]);
|
||||||
set_irq_handler(i, handle_level_irq);
|
set_irq_handler(i, handle_level_irq);
|
||||||
|
@ -277,11 +286,30 @@ void __init gic_dist_init(unsigned int gic_nr, void __iomem *base,
|
||||||
|
|
||||||
void __cpuinit gic_cpu_init(unsigned int gic_nr, void __iomem *base)
|
void __cpuinit gic_cpu_init(unsigned int gic_nr, void __iomem *base)
|
||||||
{
|
{
|
||||||
|
void __iomem *dist_base;
|
||||||
|
int i;
|
||||||
|
|
||||||
if (gic_nr >= MAX_GIC_NR)
|
if (gic_nr >= MAX_GIC_NR)
|
||||||
BUG();
|
BUG();
|
||||||
|
|
||||||
|
dist_base = gic_data[gic_nr].dist_base;
|
||||||
|
BUG_ON(!dist_base);
|
||||||
|
|
||||||
gic_data[gic_nr].cpu_base = base;
|
gic_data[gic_nr].cpu_base = base;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Deal with the banked PPI and SGI interrupts - disable all
|
||||||
|
* PPI interrupts, ensure all SGI interrupts are enabled.
|
||||||
|
*/
|
||||||
|
writel(0xffff0000, dist_base + GIC_DIST_ENABLE_CLEAR);
|
||||||
|
writel(0x0000ffff, dist_base + GIC_DIST_ENABLE_SET);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Set priority on PPI and SGI interrupts
|
||||||
|
*/
|
||||||
|
for (i = 0; i < 32; i += 4)
|
||||||
|
writel(0xa0a0a0a0, dist_base + GIC_DIST_PRI + i * 4 / 4);
|
||||||
|
|
||||||
writel(0xf0, base + GIC_CPU_PRIMASK);
|
writel(0xf0, base + GIC_CPU_PRIMASK);
|
||||||
writel(1, base + GIC_CPU_CTRL);
|
writel(1, base + GIC_CPU_CTRL);
|
||||||
}
|
}
|
||||||
|
|
341
arch/arm/configs/at91rm9200_defconfig
Normal file
341
arch/arm/configs/at91rm9200_defconfig
Normal file
|
@ -0,0 +1,341 @@
|
||||||
|
CONFIG_EXPERIMENTAL=y
|
||||||
|
# CONFIG_LOCALVERSION_AUTO is not set
|
||||||
|
# CONFIG_SWAP is not set
|
||||||
|
CONFIG_SYSVIPC=y
|
||||||
|
CONFIG_IKCONFIG=y
|
||||||
|
CONFIG_IKCONFIG_PROC=y
|
||||||
|
CONFIG_LOG_BUF_SHIFT=14
|
||||||
|
CONFIG_SYSFS_DEPRECATED_V2=y
|
||||||
|
CONFIG_BLK_DEV_INITRD=y
|
||||||
|
CONFIG_MODULES=y
|
||||||
|
CONFIG_MODULE_FORCE_LOAD=y
|
||||||
|
CONFIG_MODULE_UNLOAD=y
|
||||||
|
CONFIG_MODVERSIONS=y
|
||||||
|
CONFIG_MODULE_SRCVERSION_ALL=y
|
||||||
|
# CONFIG_BLK_DEV_BSG is not set
|
||||||
|
# CONFIG_IOSCHED_CFQ is not set
|
||||||
|
CONFIG_ARCH_AT91=y
|
||||||
|
CONFIG_MACH_ONEARM=y
|
||||||
|
CONFIG_ARCH_AT91RM9200DK=y
|
||||||
|
CONFIG_MACH_AT91RM9200EK=y
|
||||||
|
CONFIG_MACH_CSB337=y
|
||||||
|
CONFIG_MACH_CSB637=y
|
||||||
|
CONFIG_MACH_CARMEVA=y
|
||||||
|
CONFIG_MACH_ATEB9200=y
|
||||||
|
CONFIG_MACH_KB9200=y
|
||||||
|
CONFIG_MACH_PICOTUX2XX=y
|
||||||
|
CONFIG_MACH_KAFA=y
|
||||||
|
CONFIG_MACH_ECBAT91=y
|
||||||
|
CONFIG_MACH_YL9200=y
|
||||||
|
CONFIG_MACH_CPUAT91=y
|
||||||
|
CONFIG_MACH_ECO920=y
|
||||||
|
CONFIG_MTD_AT91_DATAFLASH_CARD=y
|
||||||
|
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
||||||
|
CONFIG_AT91_TIMER_HZ=100
|
||||||
|
# CONFIG_ARM_THUMB is not set
|
||||||
|
CONFIG_PCCARD=y
|
||||||
|
CONFIG_AT91_CF=y
|
||||||
|
CONFIG_NO_HZ=y
|
||||||
|
CONFIG_HIGH_RES_TIMERS=y
|
||||||
|
CONFIG_PREEMPT=y
|
||||||
|
CONFIG_AEABI=y
|
||||||
|
CONFIG_LEDS=y
|
||||||
|
CONFIG_LEDS_CPU=y
|
||||||
|
CONFIG_ZBOOT_ROM_TEXT=0x10000000
|
||||||
|
CONFIG_ZBOOT_ROM_BSS=0x20040000
|
||||||
|
CONFIG_KEXEC=y
|
||||||
|
CONFIG_FPE_NWFPE=y
|
||||||
|
CONFIG_BINFMT_MISC=y
|
||||||
|
CONFIG_NET=y
|
||||||
|
CONFIG_PACKET=y
|
||||||
|
CONFIG_UNIX=y
|
||||||
|
CONFIG_XFRM_USER=m
|
||||||
|
CONFIG_INET=y
|
||||||
|
CONFIG_IP_MULTICAST=y
|
||||||
|
CONFIG_IP_PNP=y
|
||||||
|
CONFIG_IP_PNP_DHCP=y
|
||||||
|
CONFIG_IP_PNP_BOOTP=y
|
||||||
|
CONFIG_NET_IPIP=m
|
||||||
|
CONFIG_NET_IPGRE=m
|
||||||
|
CONFIG_INET_AH=m
|
||||||
|
CONFIG_INET_ESP=m
|
||||||
|
CONFIG_INET_IPCOMP=m
|
||||||
|
CONFIG_INET_XFRM_MODE_TRANSPORT=m
|
||||||
|
CONFIG_INET_XFRM_MODE_TUNNEL=m
|
||||||
|
CONFIG_INET_XFRM_MODE_BEET=m
|
||||||
|
CONFIG_IPV6_PRIVACY=y
|
||||||
|
CONFIG_IPV6_ROUTER_PREF=y
|
||||||
|
CONFIG_IPV6_ROUTE_INFO=y
|
||||||
|
CONFIG_INET6_AH=m
|
||||||
|
CONFIG_INET6_ESP=m
|
||||||
|
CONFIG_INET6_IPCOMP=m
|
||||||
|
CONFIG_IPV6_MIP6=m
|
||||||
|
CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
|
||||||
|
CONFIG_IPV6_TUNNEL=m
|
||||||
|
CONFIG_BRIDGE=m
|
||||||
|
CONFIG_VLAN_8021Q=m
|
||||||
|
CONFIG_BT=m
|
||||||
|
CONFIG_BT_L2CAP=m
|
||||||
|
CONFIG_BT_SCO=m
|
||||||
|
CONFIG_BT_RFCOMM=m
|
||||||
|
CONFIG_BT_RFCOMM_TTY=y
|
||||||
|
CONFIG_BT_BNEP=m
|
||||||
|
CONFIG_BT_BNEP_MC_FILTER=y
|
||||||
|
CONFIG_BT_BNEP_PROTO_FILTER=y
|
||||||
|
CONFIG_BT_HIDP=m
|
||||||
|
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
||||||
|
CONFIG_MTD=y
|
||||||
|
CONFIG_MTD_CONCAT=y
|
||||||
|
CONFIG_MTD_PARTITIONS=y
|
||||||
|
CONFIG_MTD_CMDLINE_PARTS=y
|
||||||
|
CONFIG_MTD_AFS_PARTS=y
|
||||||
|
CONFIG_MTD_CHAR=y
|
||||||
|
CONFIG_MTD_BLOCK=y
|
||||||
|
CONFIG_MTD_CFI=y
|
||||||
|
CONFIG_MTD_JEDECPROBE=y
|
||||||
|
CONFIG_MTD_CFI_INTELEXT=y
|
||||||
|
CONFIG_MTD_CFI_AMDSTD=y
|
||||||
|
CONFIG_MTD_COMPLEX_MAPPINGS=y
|
||||||
|
CONFIG_MTD_PHYSMAP=y
|
||||||
|
CONFIG_MTD_PLATRAM=y
|
||||||
|
CONFIG_MTD_DATAFLASH=y
|
||||||
|
CONFIG_MTD_NAND=y
|
||||||
|
CONFIG_MTD_NAND_ATMEL=y
|
||||||
|
CONFIG_MTD_NAND_PLATFORM=y
|
||||||
|
CONFIG_MTD_UBI=y
|
||||||
|
CONFIG_MTD_UBI_GLUEBI=y
|
||||||
|
CONFIG_BLK_DEV_LOOP=y
|
||||||
|
CONFIG_BLK_DEV_NBD=y
|
||||||
|
CONFIG_BLK_DEV_RAM=y
|
||||||
|
CONFIG_BLK_DEV_RAM_SIZE=8192
|
||||||
|
CONFIG_ATMEL_TCLIB=y
|
||||||
|
CONFIG_EEPROM_LEGACY=m
|
||||||
|
CONFIG_SCSI=y
|
||||||
|
CONFIG_BLK_DEV_SD=y
|
||||||
|
CONFIG_BLK_DEV_SR=m
|
||||||
|
CONFIG_BLK_DEV_SR_VENDOR=y
|
||||||
|
CONFIG_CHR_DEV_SG=m
|
||||||
|
CONFIG_SCSI_MULTI_LUN=y
|
||||||
|
# CONFIG_SCSI_LOWLEVEL is not set
|
||||||
|
CONFIG_NETDEVICES=y
|
||||||
|
CONFIG_TUN=m
|
||||||
|
CONFIG_PHYLIB=y
|
||||||
|
CONFIG_DAVICOM_PHY=y
|
||||||
|
CONFIG_SMSC_PHY=y
|
||||||
|
CONFIG_MICREL_PHY=y
|
||||||
|
CONFIG_NET_ETHERNET=y
|
||||||
|
CONFIG_ARM_AT91_ETHER=y
|
||||||
|
# CONFIG_NETDEV_1000 is not set
|
||||||
|
# CONFIG_NETDEV_10000 is not set
|
||||||
|
CONFIG_USB_CATC=m
|
||||||
|
CONFIG_USB_KAWETH=m
|
||||||
|
CONFIG_USB_PEGASUS=m
|
||||||
|
CONFIG_USB_RTL8150=m
|
||||||
|
CONFIG_USB_USBNET=m
|
||||||
|
CONFIG_USB_NET_DM9601=m
|
||||||
|
CONFIG_USB_NET_GL620A=m
|
||||||
|
CONFIG_USB_NET_PLUSB=m
|
||||||
|
CONFIG_USB_NET_RNDIS_HOST=m
|
||||||
|
CONFIG_USB_ALI_M5632=y
|
||||||
|
CONFIG_USB_AN2720=y
|
||||||
|
CONFIG_USB_EPSON2888=y
|
||||||
|
CONFIG_PPP=y
|
||||||
|
CONFIG_PPP_MULTILINK=y
|
||||||
|
CONFIG_PPP_FILTER=y
|
||||||
|
CONFIG_PPP_ASYNC=y
|
||||||
|
CONFIG_PPP_DEFLATE=y
|
||||||
|
CONFIG_PPP_BSDCOMP=y
|
||||||
|
CONFIG_PPP_MPPE=m
|
||||||
|
CONFIG_PPPOE=m
|
||||||
|
CONFIG_SLIP=m
|
||||||
|
CONFIG_SLIP_COMPRESSED=y
|
||||||
|
CONFIG_SLIP_SMART=y
|
||||||
|
CONFIG_SLIP_MODE_SLIP6=y
|
||||||
|
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
||||||
|
CONFIG_INPUT_MOUSEDEV_SCREEN_X=640
|
||||||
|
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=480
|
||||||
|
CONFIG_INPUT_EVDEV=y
|
||||||
|
CONFIG_KEYBOARD_GPIO=y
|
||||||
|
# CONFIG_INPUT_MOUSE is not set
|
||||||
|
CONFIG_INPUT_TOUCHSCREEN=y
|
||||||
|
CONFIG_SERIAL_ATMEL=y
|
||||||
|
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
||||||
|
CONFIG_LEGACY_PTY_COUNT=32
|
||||||
|
CONFIG_HW_RANDOM=y
|
||||||
|
CONFIG_I2C=y
|
||||||
|
CONFIG_I2C_CHARDEV=y
|
||||||
|
CONFIG_I2C_GPIO=y
|
||||||
|
CONFIG_SPI=y
|
||||||
|
CONFIG_SPI_ATMEL=y
|
||||||
|
CONFIG_SPI_BITBANG=y
|
||||||
|
CONFIG_GPIO_SYSFS=y
|
||||||
|
CONFIG_HWMON=m
|
||||||
|
CONFIG_SENSORS_ADM1021=m
|
||||||
|
CONFIG_SENSORS_ADM1025=m
|
||||||
|
CONFIG_SENSORS_ADM1026=m
|
||||||
|
CONFIG_SENSORS_ADM1029=m
|
||||||
|
CONFIG_SENSORS_ADM1031=m
|
||||||
|
CONFIG_SENSORS_ADM9240=m
|
||||||
|
CONFIG_SENSORS_DS1621=m
|
||||||
|
CONFIG_SENSORS_GL518SM=m
|
||||||
|
CONFIG_SENSORS_GL520SM=m
|
||||||
|
CONFIG_SENSORS_IT87=m
|
||||||
|
CONFIG_SENSORS_LM63=m
|
||||||
|
CONFIG_SENSORS_LM73=m
|
||||||
|
CONFIG_SENSORS_LM75=m
|
||||||
|
CONFIG_SENSORS_LM77=m
|
||||||
|
CONFIG_SENSORS_LM78=m
|
||||||
|
CONFIG_SENSORS_LM80=m
|
||||||
|
CONFIG_SENSORS_LM83=m
|
||||||
|
CONFIG_SENSORS_LM85=m
|
||||||
|
CONFIG_SENSORS_LM87=m
|
||||||
|
CONFIG_SENSORS_LM90=m
|
||||||
|
CONFIG_SENSORS_LM92=m
|
||||||
|
CONFIG_SENSORS_MAX1619=m
|
||||||
|
CONFIG_SENSORS_PCF8591=m
|
||||||
|
CONFIG_SENSORS_SMSC47B397=m
|
||||||
|
CONFIG_SENSORS_W83781D=m
|
||||||
|
CONFIG_SENSORS_W83791D=m
|
||||||
|
CONFIG_SENSORS_W83792D=m
|
||||||
|
CONFIG_SENSORS_W83793=m
|
||||||
|
CONFIG_SENSORS_W83L785TS=m
|
||||||
|
CONFIG_WATCHDOG=y
|
||||||
|
CONFIG_WATCHDOG_NOWAYOUT=y
|
||||||
|
CONFIG_AT91RM9200_WATCHDOG=y
|
||||||
|
CONFIG_FB=y
|
||||||
|
CONFIG_FB_MODE_HELPERS=y
|
||||||
|
CONFIG_FB_TILEBLITTING=y
|
||||||
|
CONFIG_FB_S1D13XXX=y
|
||||||
|
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
||||||
|
CONFIG_LCD_CLASS_DEVICE=y
|
||||||
|
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
||||||
|
# CONFIG_BACKLIGHT_GENERIC is not set
|
||||||
|
CONFIG_DISPLAY_SUPPORT=y
|
||||||
|
CONFIG_FRAMEBUFFER_CONSOLE=y
|
||||||
|
CONFIG_FONTS=y
|
||||||
|
CONFIG_FONT_MINI_4x6=y
|
||||||
|
CONFIG_LOGO=y
|
||||||
|
# CONFIG_LOGO_LINUX_MONO is not set
|
||||||
|
# CONFIG_LOGO_LINUX_VGA16 is not set
|
||||||
|
CONFIG_USB=y
|
||||||
|
CONFIG_USB_DEVICEFS=y
|
||||||
|
# CONFIG_USB_DEVICE_CLASS is not set
|
||||||
|
CONFIG_USB_MON=y
|
||||||
|
CONFIG_USB_OHCI_HCD=y
|
||||||
|
CONFIG_USB_ACM=m
|
||||||
|
CONFIG_USB_PRINTER=m
|
||||||
|
CONFIG_USB_STORAGE=y
|
||||||
|
CONFIG_USB_SERIAL=y
|
||||||
|
CONFIG_USB_SERIAL_CONSOLE=y
|
||||||
|
CONFIG_USB_SERIAL_GENERIC=y
|
||||||
|
CONFIG_USB_SERIAL_FTDI_SIO=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_MPR=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA28=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA19=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
|
||||||
|
CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y
|
||||||
|
CONFIG_USB_SERIAL_MCT_U232=y
|
||||||
|
CONFIG_USB_SERIAL_PL2303=y
|
||||||
|
CONFIG_USB_GADGET=y
|
||||||
|
CONFIG_USB_ETH=m
|
||||||
|
CONFIG_USB_MASS_STORAGE=m
|
||||||
|
CONFIG_MMC=y
|
||||||
|
CONFIG_MMC_AT91=y
|
||||||
|
CONFIG_NEW_LEDS=y
|
||||||
|
CONFIG_LEDS_CLASS=y
|
||||||
|
CONFIG_LEDS_GPIO=y
|
||||||
|
CONFIG_LEDS_TRIGGERS=y
|
||||||
|
CONFIG_LEDS_TRIGGER_TIMER=y
|
||||||
|
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
||||||
|
CONFIG_LEDS_TRIGGER_GPIO=y
|
||||||
|
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
||||||
|
CONFIG_RTC_CLASS=y
|
||||||
|
# CONFIG_RTC_HCTOSYS is not set
|
||||||
|
CONFIG_RTC_DRV_DS1307=y
|
||||||
|
CONFIG_RTC_DRV_PCF8563=y
|
||||||
|
CONFIG_RTC_DRV_AT91RM9200=y
|
||||||
|
CONFIG_EXT2_FS=y
|
||||||
|
CONFIG_EXT2_FS_XATTR=y
|
||||||
|
CONFIG_EXT3_FS=y
|
||||||
|
# CONFIG_EXT3_FS_XATTR is not set
|
||||||
|
CONFIG_REISERFS_FS=y
|
||||||
|
CONFIG_AUTOFS4_FS=y
|
||||||
|
CONFIG_ISO9660_FS=y
|
||||||
|
CONFIG_JOLIET=y
|
||||||
|
CONFIG_ZISOFS=y
|
||||||
|
CONFIG_UDF_FS=y
|
||||||
|
CONFIG_MSDOS_FS=y
|
||||||
|
CONFIG_VFAT_FS=y
|
||||||
|
CONFIG_NTFS_FS=m
|
||||||
|
CONFIG_TMPFS=y
|
||||||
|
CONFIG_CONFIGFS_FS=y
|
||||||
|
CONFIG_JFFS2_FS=y
|
||||||
|
CONFIG_JFFS2_SUMMARY=y
|
||||||
|
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
||||||
|
CONFIG_JFFS2_LZO=y
|
||||||
|
CONFIG_JFFS2_RUBIN=y
|
||||||
|
CONFIG_CRAMFS=y
|
||||||
|
CONFIG_MINIX_FS=y
|
||||||
|
CONFIG_NFS_FS=y
|
||||||
|
CONFIG_NFS_V3=y
|
||||||
|
CONFIG_NFS_V3_ACL=y
|
||||||
|
CONFIG_NFS_V4=y
|
||||||
|
CONFIG_ROOT_NFS=y
|
||||||
|
CONFIG_NFSD=y
|
||||||
|
CONFIG_SMB_FS=m
|
||||||
|
CONFIG_CIFS=m
|
||||||
|
CONFIG_PARTITION_ADVANCED=y
|
||||||
|
CONFIG_MAC_PARTITION=y
|
||||||
|
CONFIG_NLS_CODEPAGE_437=y
|
||||||
|
CONFIG_NLS_CODEPAGE_737=m
|
||||||
|
CONFIG_NLS_CODEPAGE_775=m
|
||||||
|
CONFIG_NLS_CODEPAGE_850=m
|
||||||
|
CONFIG_NLS_CODEPAGE_852=m
|
||||||
|
CONFIG_NLS_CODEPAGE_855=m
|
||||||
|
CONFIG_NLS_CODEPAGE_857=m
|
||||||
|
CONFIG_NLS_CODEPAGE_860=m
|
||||||
|
CONFIG_NLS_CODEPAGE_861=m
|
||||||
|
CONFIG_NLS_CODEPAGE_862=m
|
||||||
|
CONFIG_NLS_CODEPAGE_863=m
|
||||||
|
CONFIG_NLS_CODEPAGE_864=m
|
||||||
|
CONFIG_NLS_CODEPAGE_865=m
|
||||||
|
CONFIG_NLS_CODEPAGE_866=m
|
||||||
|
CONFIG_NLS_CODEPAGE_869=m
|
||||||
|
CONFIG_NLS_CODEPAGE_936=m
|
||||||
|
CONFIG_NLS_CODEPAGE_950=m
|
||||||
|
CONFIG_NLS_CODEPAGE_932=m
|
||||||
|
CONFIG_NLS_CODEPAGE_949=m
|
||||||
|
CONFIG_NLS_CODEPAGE_874=m
|
||||||
|
CONFIG_NLS_ISO8859_8=m
|
||||||
|
CONFIG_NLS_CODEPAGE_1250=m
|
||||||
|
CONFIG_NLS_CODEPAGE_1251=m
|
||||||
|
CONFIG_NLS_ASCII=m
|
||||||
|
CONFIG_NLS_ISO8859_1=y
|
||||||
|
CONFIG_NLS_ISO8859_2=m
|
||||||
|
CONFIG_NLS_ISO8859_3=m
|
||||||
|
CONFIG_NLS_ISO8859_4=m
|
||||||
|
CONFIG_NLS_ISO8859_5=m
|
||||||
|
CONFIG_NLS_ISO8859_6=m
|
||||||
|
CONFIG_NLS_ISO8859_7=m
|
||||||
|
CONFIG_NLS_ISO8859_9=m
|
||||||
|
CONFIG_NLS_ISO8859_13=m
|
||||||
|
CONFIG_NLS_ISO8859_14=m
|
||||||
|
CONFIG_NLS_ISO8859_15=m
|
||||||
|
CONFIG_NLS_KOI8_R=m
|
||||||
|
CONFIG_NLS_KOI8_U=m
|
||||||
|
CONFIG_NLS_UTF8=y
|
||||||
|
CONFIG_MAGIC_SYSRQ=y
|
||||||
|
CONFIG_DEBUG_FS=y
|
||||||
|
CONFIG_DEBUG_KERNEL=y
|
||||||
|
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
||||||
|
# CONFIG_FTRACE is not set
|
||||||
|
CONFIG_CRYPTO_PCBC=y
|
||||||
|
CONFIG_CRYPTO_SHA1=y
|
|
@ -1,72 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_ARCH_AT91RM9200DK=y
|
|
||||||
CONFIG_MACH_ECO920=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_PCCARD=y
|
|
||||||
CONFIG_AT91_CF=y
|
|
||||||
CONFIG_LEDS=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x20410000,3145728 root=/dev/ram0 rw"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_BOOTP=y
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_JEDECPROBE=y
|
|
||||||
CONFIG_MTD_CFI_AMDSTD=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_I2C_GPIO=y
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
# CONFIG_USB_HID is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEBUG=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_MON=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
CONFIG_DEBUG_USER=y
|
|
||||||
CONFIG_DEBUG_LL=y
|
|
|
@ -1,73 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_LOCALVERSION_AUTO is not set
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_AT91RM9200EK=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_LEDS=y
|
|
||||||
CONFIG_LEDS_CPU=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x20410000,3145728 root=/dev/ram0 rw"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_BOOTP=y
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_JEDECPROBE=y
|
|
||||||
CONFIG_MTD_CFI_AMDSTD=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_I2C_GPIO=y
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
CONFIG_FB=y
|
|
||||||
CONFIG_FB_S1D13XXX=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
# CONFIG_USB_HID is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEBUG=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_MON=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
CONFIG_DEBUG_USER=y
|
|
||||||
CONFIG_DEBUG_LL=y
|
|
|
@ -1,131 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_EMBEDDED=y
|
|
||||||
CONFIG_SLAB=y
|
|
||||||
CONFIG_PROFILING=y
|
|
||||||
CONFIG_OPROFILE=m
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_ATEB9200=y
|
|
||||||
CONFIG_PCCARD=m
|
|
||||||
CONFIG_AT91_CF=m
|
|
||||||
CONFIG_PREEMPT=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_PM=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_NET_KEY=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_BRIDGE=m
|
|
||||||
CONFIG_VLAN_8021Q=m
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK_RO=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=m
|
|
||||||
CONFIG_BLK_DEV_NBD=m
|
|
||||||
CONFIG_SCSI=m
|
|
||||||
CONFIG_BLK_DEV_SD=m
|
|
||||||
CONFIG_BLK_DEV_SR=m
|
|
||||||
CONFIG_BLK_DEV_SR_VENDOR=y
|
|
||||||
CONFIG_CHR_DEV_SG=m
|
|
||||||
CONFIG_SCSI_MULTI_LUN=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_DUMMY=m
|
|
||||||
CONFIG_TUN=m
|
|
||||||
CONFIG_PHYLIB=y
|
|
||||||
CONFIG_DAVICOM_PHY=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
CONFIG_USB_USBNET=y
|
|
||||||
CONFIG_USB_NET_GL620A=y
|
|
||||||
CONFIG_USB_NET_PLUSB=y
|
|
||||||
CONFIG_USB_NET_RNDIS_HOST=y
|
|
||||||
CONFIG_USB_ALI_M5632=y
|
|
||||||
CONFIG_USB_AN2720=y
|
|
||||||
CONFIG_USB_EPSON2888=y
|
|
||||||
CONFIG_PPP=m
|
|
||||||
CONFIG_PPP_ASYNC=m
|
|
||||||
CONFIG_PPP_SYNC_TTY=m
|
|
||||||
CONFIG_PPP_DEFLATE=m
|
|
||||||
CONFIG_PPP_BSDCOMP=m
|
|
||||||
CONFIG_PPPOE=m
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
CONFIG_I2C=m
|
|
||||||
CONFIG_I2C_CHARDEV=m
|
|
||||||
CONFIG_I2C_GPIO=m
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
CONFIG_SOUND=y
|
|
||||||
CONFIG_USB_HID=m
|
|
||||||
CONFIG_HID_PID=y
|
|
||||||
CONFIG_USB_HIDDEV=y
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_MON=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_ACM=m
|
|
||||||
CONFIG_USB_PRINTER=m
|
|
||||||
CONFIG_USB_STORAGE=m
|
|
||||||
CONFIG_USB_STORAGE_DATAFAB=m
|
|
||||||
CONFIG_USB_STORAGE_FREECOM=m
|
|
||||||
CONFIG_USB_STORAGE_USBAT=m
|
|
||||||
CONFIG_USB_STORAGE_SDDR09=m
|
|
||||||
CONFIG_USB_STORAGE_SDDR55=m
|
|
||||||
CONFIG_USB_STORAGE_JUMPSHOT=m
|
|
||||||
CONFIG_USB_SERIAL=m
|
|
||||||
CONFIG_USB_SERIAL_GENERIC=y
|
|
||||||
CONFIG_USB_SERIAL_FTDI_SIO=m
|
|
||||||
CONFIG_USB_SERIAL_PL2303=m
|
|
||||||
CONFIG_USB_GADGET=m
|
|
||||||
CONFIG_USB_ETH=m
|
|
||||||
CONFIG_USB_GADGETFS=m
|
|
||||||
CONFIG_USB_FILE_STORAGE=m
|
|
||||||
CONFIG_USB_G_SERIAL=m
|
|
||||||
CONFIG_MMC=m
|
|
||||||
CONFIG_MMC_DEBUG=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
# CONFIG_RTC_HCTOSYS is not set
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT2_FS=m
|
|
||||||
CONFIG_EXT3_FS=m
|
|
||||||
CONFIG_REISERFS_FS=m
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_ISO9660_FS=m
|
|
||||||
CONFIG_JOLIET=y
|
|
||||||
CONFIG_ZISOFS=y
|
|
||||||
CONFIG_UDF_FS=m
|
|
||||||
CONFIG_MSDOS_FS=m
|
|
||||||
CONFIG_VFAT_FS=m
|
|
||||||
CONFIG_NTFS_FS=m
|
|
||||||
CONFIG_NTFS_RW=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_NFS_FS=m
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_NFS_V3_ACL=y
|
|
||||||
CONFIG_NFS_V4=y
|
|
||||||
CONFIG_NFSD=m
|
|
||||||
CONFIG_NFSD_V4=y
|
|
||||||
CONFIG_PARTITION_ADVANCED=y
|
|
||||||
CONFIG_MAC_PARTITION=y
|
|
||||||
CONFIG_BSD_DISKLABEL=y
|
|
||||||
CONFIG_MINIX_SUBPARTITION=y
|
|
||||||
CONFIG_SOLARIS_X86_PARTITION=y
|
|
||||||
CONFIG_UNIXWARE_DISKLABEL=y
|
|
||||||
CONFIG_NLS_CODEPAGE_932=m
|
|
||||||
CONFIG_NLS_ASCII=m
|
|
||||||
CONFIG_NLS_ISO8859_15=m
|
|
||||||
CONFIG_NLS_UTF8=m
|
|
||||||
CONFIG_CRYPTO_MD5=y
|
|
||||||
CONFIG_CRYPTO_MICHAEL_MIC=m
|
|
||||||
CONFIG_CRYPTO_ARC4=m
|
|
||||||
CONFIG_CRC16=m
|
|
||||||
CONFIG_LIBCRC32C=m
|
|
|
@ -1,47 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
CONFIG_EMBEDDED=y
|
|
||||||
# CONFIG_HOTPLUG is not set
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
CONFIG_MODULE_FORCE_UNLOAD=y
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_CARMEVA=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_MULTICAST=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
CONFIG_SERIO=m
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
CONFIG_MMC=m
|
|
||||||
CONFIG_MMC_DEBUG=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_EXT2_FS_XATTR=y
|
|
||||||
# CONFIG_DNOTIFY is not set
|
|
||||||
CONFIG_JFFS2_FS=y
|
|
||||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_NFS_V4=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_NFSD=y
|
|
|
@ -1,112 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_LOCALVERSION_AUTO is not set
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_BLK_DEV_BSG is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_CPUAT91=y
|
|
||||||
CONFIG_AT91_TIMER_HZ=100
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_PREEMPT=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_CFI_INTELEXT=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_MTD_PLATRAM=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_BLK_DEV_NBD=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
# CONFIG_MISC_DEVICES is not set
|
|
||||||
CONFIG_SCSI=y
|
|
||||||
CONFIG_BLK_DEV_SD=y
|
|
||||||
CONFIG_SCSI_MULTI_LUN=y
|
|
||||||
# CONFIG_SCSI_LOWLEVEL is not set
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_PHYLIB=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_NETDEV_1000 is not set
|
|
||||||
# CONFIG_NETDEV_10000 is not set
|
|
||||||
CONFIG_PPP=y
|
|
||||||
CONFIG_PPP_ASYNC=y
|
|
||||||
CONFIG_PPP_DEFLATE=y
|
|
||||||
CONFIG_PPP_BSDCOMP=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
CONFIG_LEGACY_PTY_COUNT=32
|
|
||||||
# CONFIG_HW_RANDOM is not set
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_I2C_GPIO=y
|
|
||||||
CONFIG_GPIO_SYSFS=y
|
|
||||||
# CONFIG_HWMON is not set
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
# CONFIG_HID_SUPPORT is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
# CONFIG_USB_DEVICE_CLASS is not set
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_STORAGE=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_USB_ETH=m
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_MMC_AT91=m
|
|
||||||
CONFIG_NEW_LEDS=y
|
|
||||||
CONFIG_LEDS_CLASS=y
|
|
||||||
CONFIG_LEDS_GPIO=y
|
|
||||||
CONFIG_LEDS_TRIGGERS=y
|
|
||||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
|
||||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
||||||
CONFIG_LEDS_TRIGGER_GPIO=y
|
|
||||||
CONFIG_LEDS_TRIGGER_DEFAULT_ON=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
# CONFIG_RTC_HCTOSYS is not set
|
|
||||||
CONFIG_RTC_DRV_DS1307=y
|
|
||||||
CONFIG_RTC_DRV_PCF8563=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
# CONFIG_EXT3_FS_XATTR is not set
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_AUTOFS4_FS=y
|
|
||||||
CONFIG_MSDOS_FS=y
|
|
||||||
CONFIG_VFAT_FS=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_JFFS2_FS=y
|
|
||||||
CONFIG_JFFS2_SUMMARY=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_MINIX_FS=y
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_PARTITION_ADVANCED=y
|
|
||||||
CONFIG_NLS_CODEPAGE_437=y
|
|
||||||
CONFIG_NLS_ISO8859_1=y
|
|
||||||
CONFIG_NLS_UTF8=y
|
|
||||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
|
@ -1,104 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_BLK_DEV_BSG is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_CSB337=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_PCCARD=y
|
|
||||||
CONFIG_AT91_CF=y
|
|
||||||
CONFIG_LEDS=y
|
|
||||||
CONFIG_LEDS_CPU=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="mem=32M console=ttyS0,38400 initrd=0x20410000,3145728 root=/dev/ram0 rw"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_DHCP=y
|
|
||||||
CONFIG_IP_PNP_BOOTP=y
|
|
||||||
# CONFIG_INET_LRO is not set
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_CFI_INTELEXT=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
||||||
CONFIG_ATMEL_SSC=y
|
|
||||||
CONFIG_SCSI=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
# CONFIG_HW_RANDOM is not set
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_I2C_GPIO=y
|
|
||||||
# CONFIG_HWMON is not set
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
# CONFIG_USB_HID is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEBUG=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_MON=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_STORAGE=y
|
|
||||||
CONFIG_USB_SERIAL=y
|
|
||||||
CONFIG_USB_SERIAL_CONSOLE=y
|
|
||||||
CONFIG_USB_SERIAL_GENERIC=y
|
|
||||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_MPR=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y
|
|
||||||
CONFIG_USB_SERIAL_MCT_U232=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_RTC_HCTOSYS_DEVICE="rtc1"
|
|
||||||
# CONFIG_RTC_INTF_SYSFS is not set
|
|
||||||
CONFIG_RTC_DRV_DS1307=y
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_NFS_V4=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
CONFIG_DEBUG_USER=y
|
|
||||||
CONFIG_DEBUG_LL=y
|
|
|
@ -1,98 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_SYSFS_DEPRECATED_V2=y
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_BLK_DEV_BSG is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_CSB637=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_PCCARD=y
|
|
||||||
CONFIG_AT91_CF=y
|
|
||||||
CONFIG_LEDS=y
|
|
||||||
CONFIG_LEDS_CPU=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="mem=32M console=ttyS0,38400 initrd=0x20410000,3145728 root=/dev/ram0 rw"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_DHCP=y
|
|
||||||
CONFIG_IP_PNP_BOOTP=y
|
|
||||||
# CONFIG_INET_LRO is not set
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_CFI_INTELEXT=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
||||||
CONFIG_SCSI=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
# CONFIG_USB_HID is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEBUG=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_MON=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_STORAGE=y
|
|
||||||
CONFIG_USB_SERIAL=y
|
|
||||||
CONFIG_USB_SERIAL_CONSOLE=y
|
|
||||||
CONFIG_USB_SERIAL_GENERIC=y
|
|
||||||
CONFIG_USB_SERIAL_FTDI_SIO=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_MPR=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28X=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28XA=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA28XB=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA18X=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19W=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19QW=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA19QI=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA49W=y
|
|
||||||
CONFIG_USB_SERIAL_KEYSPAN_USA49WLC=y
|
|
||||||
CONFIG_USB_SERIAL_MCT_U232=y
|
|
||||||
CONFIG_NEW_LEDS=y
|
|
||||||
CONFIG_LEDS_CLASS=y
|
|
||||||
CONFIG_LEDS_GPIO=y
|
|
||||||
CONFIG_LEDS_TRIGGERS=y
|
|
||||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_NFS_V4=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
CONFIG_DEBUG_USER=y
|
|
||||||
CONFIG_DEBUG_LL=y
|
|
|
@ -1,99 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_IKCONFIG=y
|
|
||||||
CONFIG_IKCONFIG_PROC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_SLAB=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_ECBAT91=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
CONFIG_PCCARD=y
|
|
||||||
CONFIG_AT91_CF=y
|
|
||||||
CONFIG_PREEMPT=y
|
|
||||||
CONFIG_LEDS=y
|
|
||||||
CONFIG_LEDS_CPU=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="rootfstype=reiserfs root=/dev/mmcblk0p1 console=ttyS0,115200n8 rootdelay=1"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_DHCP=y
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_CFG80211=y
|
|
||||||
CONFIG_MAC80211=y
|
|
||||||
# CONFIG_STANDALONE is not set
|
|
||||||
# CONFIG_PREVENT_FIRMWARE_BUILD is not set
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_AFS_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_DATAFLASH=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_SCSI=y
|
|
||||||
CONFIG_BLK_DEV_SD=y
|
|
||||||
CONFIG_CHR_DEV_SG=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_NETDEV_1000 is not set
|
|
||||||
# CONFIG_NETDEV_10000 is not set
|
|
||||||
CONFIG_PPP=y
|
|
||||||
CONFIG_PPP_MULTILINK=y
|
|
||||||
CONFIG_PPP_FILTER=y
|
|
||||||
CONFIG_PPP_ASYNC=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
CONFIG_HW_RANDOM=y
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_SPI=y
|
|
||||||
CONFIG_SPI_BITBANG=y
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
# CONFIG_USB_HID is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
# CONFIG_USB_DEVICE_CLASS is not set
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_PRINTER=y
|
|
||||||
CONFIG_USB_STORAGE=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_MMC_DEBUG=y
|
|
||||||
CONFIG_MMC_AT91=m
|
|
||||||
CONFIG_NEW_LEDS=y
|
|
||||||
CONFIG_LEDS_CLASS=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
# CONFIG_RTC_HCTOSYS is not set
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
CONFIG_REISERFS_FS=y
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CONFIGFS_FS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_NFS_V3_ACL=y
|
|
||||||
CONFIG_NFS_V4=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_PARTITION_ADVANCED=y
|
|
||||||
CONFIG_DEBUG_USER=y
|
|
||||||
CONFIG_CRYPTO_PCBC=y
|
|
||||||
CONFIG_CRYPTO_SHA1=y
|
|
|
@ -1,61 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_LOCALVERSION_AUTO is not set
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_SLAB=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_KAFA=y
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_PREEMPT=y
|
|
||||||
CONFIG_LEDS=y
|
|
||||||
CONFIG_LEDS_CPU=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x20800000,10M root=/dev/ram0 rw"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_BINFMT_MISC=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
# CONFIG_INET_DIAG is not set
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK_RO=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_PHYLIB=y
|
|
||||||
CONFIG_DAVICOM_PHY=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
CONFIG_LEGACY_PTY_COUNT=32
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_I2C_GPIO=y
|
|
||||||
# CONFIG_HWMON is not set
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
# CONFIG_RTC_HCTOSYS is not set
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
# CONFIG_EXT3_FS_XATTR is not set
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_NFS_FS=m
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_CRYPTO_MD5=y
|
|
||||||
CONFIG_CRYPTO_DES=y
|
|
|
@ -1,127 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_POSIX_MQUEUE=y
|
|
||||||
CONFIG_BSD_PROCESS_ACCT=y
|
|
||||||
CONFIG_AUDIT=y
|
|
||||||
CONFIG_IKCONFIG=y
|
|
||||||
CONFIG_IKCONFIG_PROC=y
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
CONFIG_KALLSYMS_EXTRA_PASS=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
CONFIG_MODVERSIONS=y
|
|
||||||
CONFIG_MODULE_SRCVERSION_ALL=y
|
|
||||||
# CONFIG_BLK_DEV_BSG is not set
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_KB9200=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
CONFIG_NO_HZ=y
|
|
||||||
CONFIG_HIGH_RES_TIMERS=y
|
|
||||||
CONFIG_PREEMPT=y
|
|
||||||
CONFIG_AEABI=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x10000000
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x20040000
|
|
||||||
CONFIG_CMDLINE="noinitrd root=/dev/mtdblock0 rootfstype=jffs2 mem=64M"
|
|
||||||
CONFIG_KEXEC=y
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_BINFMT_MISC=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_DHCP=y
|
|
||||||
CONFIG_IP_PNP_BOOTP=y
|
|
||||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
||||||
# CONFIG_INET_LRO is not set
|
|
||||||
# CONFIG_INET_DIAG is not set
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
||||||
# CONFIG_FIRMWARE_IN_KERNEL is not set
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_CONCAT=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_CFI_INTELEXT=y
|
|
||||||
CONFIG_MTD_COMPLEX_MAPPINGS=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_MTD_NAND=y
|
|
||||||
CONFIG_MTD_NAND_ATMEL=y
|
|
||||||
CONFIG_MTD_UBI=y
|
|
||||||
CONFIG_MTD_UBI_GLUEBI=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=16384
|
|
||||||
CONFIG_ATMEL_TCLIB=y
|
|
||||||
CONFIG_ATMEL_SSC=y
|
|
||||||
CONFIG_SCSI=y
|
|
||||||
CONFIG_BLK_DEV_SD=y
|
|
||||||
CONFIG_CHR_DEV_SG=y
|
|
||||||
CONFIG_SCSI_MULTI_LUN=y
|
|
||||||
CONFIG_SCSI_CONSTANTS=y
|
|
||||||
CONFIG_SCSI_LOGGING=y
|
|
||||||
CONFIG_SCSI_SPI_ATTRS=m
|
|
||||||
# CONFIG_SCSI_LOWLEVEL is not set
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_NETDEV_1000 is not set
|
|
||||||
# CONFIG_NETDEV_10000 is not set
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
# CONFIG_LEGACY_PTYS is not set
|
|
||||||
# CONFIG_HW_RANDOM is not set
|
|
||||||
# CONFIG_HWMON is not set
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
CONFIG_FB=y
|
|
||||||
CONFIG_FB_MODE_HELPERS=y
|
|
||||||
CONFIG_FB_TILEBLITTING=y
|
|
||||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
|
||||||
# CONFIG_LCD_CLASS_DEVICE is not set
|
|
||||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
|
||||||
# CONFIG_BACKLIGHT_GENERIC is not set
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
CONFIG_FRAMEBUFFER_CONSOLE=y
|
|
||||||
CONFIG_FONTS=y
|
|
||||||
CONFIG_FONT_MINI_4x6=y
|
|
||||||
# CONFIG_HID_SUPPORT is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_STORAGE=y
|
|
||||||
CONFIG_USB_LIBUSUAL=y
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_MMC_AT91=m
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
# CONFIG_DNOTIFY is not set
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_VFAT_FS=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CONFIGFS_FS=y
|
|
||||||
CONFIG_JFFS2_FS=y
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_NLS_CODEPAGE_437=y
|
|
||||||
CONFIG_NLS_UTF8=y
|
|
||||||
CONFIG_MAGIC_SYSRQ=y
|
|
||||||
CONFIG_DEBUG_FS=y
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
# CONFIG_SCHED_DEBUG is not set
|
|
||||||
# CONFIG_DEBUG_PREEMPT is not set
|
|
||||||
# CONFIG_RCU_CPU_STALL_DETECTOR is not set
|
|
|
@ -1,80 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
CONFIG_EMBEDDED=y
|
|
||||||
CONFIG_SLAB=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_ONEARM=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_PCCARD=y
|
|
||||||
CONFIG_AT91_CF=y
|
|
||||||
CONFIG_LEDS=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="console=ttyS0,115200 root=/dev/nfs ip=bootp mem=64M"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_BOOTP=y
|
|
||||||
CONFIG_IPV6=y
|
|
||||||
# CONFIG_INET6_XFRM_MODE_TRANSPORT is not set
|
|
||||||
# CONFIG_INET6_XFRM_MODE_TUNNEL is not set
|
|
||||||
# CONFIG_INET6_XFRM_MODE_BEET is not set
|
|
||||||
# CONFIG_IPV6_SIT is not set
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_JEDECPROBE=y
|
|
||||||
CONFIG_MTD_CFI_AMDSTD=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_BLK_DEV_NBD=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
# CONFIG_VT is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
# CONFIG_HW_RANDOM is not set
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_I2C_CHARDEV=y
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=y
|
|
||||||
# CONFIG_USB_HID is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEBUG=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_MON=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_NFS_FS=y
|
|
||||||
CONFIG_NFS_V3=y
|
|
||||||
CONFIG_NFS_V3_ACL=y
|
|
||||||
CONFIG_ROOT_NFS=y
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
CONFIG_DEBUG_USER=y
|
|
||||||
CONFIG_DEBUG_LL=y
|
|
|
@ -1,242 +0,0 @@
|
||||||
CONFIG_EXPERIMENTAL=y
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_IKCONFIG=m
|
|
||||||
CONFIG_IKCONFIG_PROC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_EMBEDDED=y
|
|
||||||
# CONFIG_KALLSYMS is not set
|
|
||||||
CONFIG_SLAB=y
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_MACH_PICOTUX2XX=y
|
|
||||||
CONFIG_AT91_PROGRAMMABLE_CLOCKS=y
|
|
||||||
CONFIG_AEABI=y
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_KEXEC=y
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_BINFMT_MISC=m
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=m
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_XFRM_USER=m
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_BOOTP=y
|
|
||||||
CONFIG_NET_IPIP=m
|
|
||||||
CONFIG_NET_IPGRE=m
|
|
||||||
CONFIG_INET_AH=m
|
|
||||||
CONFIG_INET_ESP=m
|
|
||||||
CONFIG_INET_IPCOMP=m
|
|
||||||
CONFIG_INET_XFRM_MODE_TRANSPORT=m
|
|
||||||
CONFIG_INET_XFRM_MODE_TUNNEL=m
|
|
||||||
CONFIG_INET_XFRM_MODE_BEET=m
|
|
||||||
CONFIG_INET_DIAG=m
|
|
||||||
CONFIG_IPV6_PRIVACY=y
|
|
||||||
CONFIG_IPV6_ROUTER_PREF=y
|
|
||||||
CONFIG_IPV6_ROUTE_INFO=y
|
|
||||||
CONFIG_INET6_AH=m
|
|
||||||
CONFIG_INET6_ESP=m
|
|
||||||
CONFIG_INET6_IPCOMP=m
|
|
||||||
CONFIG_IPV6_MIP6=m
|
|
||||||
CONFIG_INET6_XFRM_MODE_ROUTEOPTIMIZATION=m
|
|
||||||
CONFIG_IPV6_TUNNEL=m
|
|
||||||
CONFIG_BRIDGE=m
|
|
||||||
CONFIG_VLAN_8021Q=m
|
|
||||||
CONFIG_BT=m
|
|
||||||
CONFIG_BT_L2CAP=m
|
|
||||||
CONFIG_BT_SCO=m
|
|
||||||
CONFIG_BT_RFCOMM=m
|
|
||||||
CONFIG_BT_RFCOMM_TTY=y
|
|
||||||
CONFIG_BT_BNEP=m
|
|
||||||
CONFIG_BT_BNEP_MC_FILTER=y
|
|
||||||
CONFIG_BT_BNEP_PROTO_FILTER=y
|
|
||||||
CONFIG_BT_HIDP=m
|
|
||||||
CONFIG_FW_LOADER=m
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_CFI_AMDSTD=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=m
|
|
||||||
CONFIG_EEPROM_LEGACY=m
|
|
||||||
CONFIG_SCSI=m
|
|
||||||
CONFIG_BLK_DEV_SD=m
|
|
||||||
CONFIG_BLK_DEV_SR=m
|
|
||||||
CONFIG_BLK_DEV_SR_VENDOR=y
|
|
||||||
CONFIG_CHR_DEV_SG=m
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_TUN=m
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
CONFIG_USB_CATC=m
|
|
||||||
CONFIG_USB_KAWETH=m
|
|
||||||
CONFIG_USB_PEGASUS=m
|
|
||||||
CONFIG_USB_RTL8150=m
|
|
||||||
CONFIG_USB_USBNET=m
|
|
||||||
CONFIG_USB_NET_DM9601=m
|
|
||||||
CONFIG_USB_NET_GL620A=m
|
|
||||||
CONFIG_USB_NET_PLUSB=m
|
|
||||||
CONFIG_USB_NET_MCS7830=m
|
|
||||||
CONFIG_USB_NET_RNDIS_HOST=m
|
|
||||||
CONFIG_USB_ALI_M5632=y
|
|
||||||
CONFIG_USB_AN2720=y
|
|
||||||
CONFIG_USB_EPSON2888=y
|
|
||||||
CONFIG_USB_KC2190=y
|
|
||||||
CONFIG_PPP=m
|
|
||||||
CONFIG_PPP_FILTER=y
|
|
||||||
CONFIG_PPP_ASYNC=m
|
|
||||||
CONFIG_PPP_DEFLATE=m
|
|
||||||
CONFIG_PPP_BSDCOMP=m
|
|
||||||
CONFIG_PPP_MPPE=m
|
|
||||||
CONFIG_PPPOE=m
|
|
||||||
CONFIG_SLIP=m
|
|
||||||
CONFIG_SLIP_COMPRESSED=y
|
|
||||||
CONFIG_SLIP_SMART=y
|
|
||||||
CONFIG_SLIP_MODE_SLIP6=y
|
|
||||||
# CONFIG_INPUT_MOUSEDEV is not set
|
|
||||||
# CONFIG_INPUT_KEYBOARD is not set
|
|
||||||
# CONFIG_INPUT_MOUSE is not set
|
|
||||||
# CONFIG_SERIO is not set
|
|
||||||
# CONFIG_VT is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
# CONFIG_LEGACY_PTYS is not set
|
|
||||||
CONFIG_I2C=m
|
|
||||||
CONFIG_I2C_CHARDEV=m
|
|
||||||
CONFIG_I2C_GPIO=m
|
|
||||||
CONFIG_HWMON=m
|
|
||||||
CONFIG_SENSORS_ADM1021=m
|
|
||||||
CONFIG_SENSORS_ADM1025=m
|
|
||||||
CONFIG_SENSORS_ADM1026=m
|
|
||||||
CONFIG_SENSORS_ADM1029=m
|
|
||||||
CONFIG_SENSORS_ADM1031=m
|
|
||||||
CONFIG_SENSORS_ADM9240=m
|
|
||||||
CONFIG_SENSORS_DS1621=m
|
|
||||||
CONFIG_SENSORS_GL518SM=m
|
|
||||||
CONFIG_SENSORS_GL520SM=m
|
|
||||||
CONFIG_SENSORS_IT87=m
|
|
||||||
CONFIG_SENSORS_LM63=m
|
|
||||||
CONFIG_SENSORS_LM75=m
|
|
||||||
CONFIG_SENSORS_LM77=m
|
|
||||||
CONFIG_SENSORS_LM78=m
|
|
||||||
CONFIG_SENSORS_LM80=m
|
|
||||||
CONFIG_SENSORS_LM83=m
|
|
||||||
CONFIG_SENSORS_LM85=m
|
|
||||||
CONFIG_SENSORS_LM87=m
|
|
||||||
CONFIG_SENSORS_LM90=m
|
|
||||||
CONFIG_SENSORS_LM92=m
|
|
||||||
CONFIG_SENSORS_MAX1619=m
|
|
||||||
CONFIG_SENSORS_PCF8591=m
|
|
||||||
CONFIG_SENSORS_SMSC47B397=m
|
|
||||||
CONFIG_SENSORS_W83781D=m
|
|
||||||
CONFIG_SENSORS_W83791D=m
|
|
||||||
CONFIG_SENSORS_W83792D=m
|
|
||||||
CONFIG_SENSORS_W83793=m
|
|
||||||
CONFIG_SENSORS_W83L785TS=m
|
|
||||||
CONFIG_WATCHDOG=y
|
|
||||||
CONFIG_WATCHDOG_NOWAYOUT=y
|
|
||||||
CONFIG_AT91RM9200_WATCHDOG=m
|
|
||||||
CONFIG_HID=m
|
|
||||||
CONFIG_USB=m
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
CONFIG_USB_OHCI_HCD=m
|
|
||||||
CONFIG_USB_ACM=m
|
|
||||||
CONFIG_USB_PRINTER=m
|
|
||||||
CONFIG_USB_STORAGE=m
|
|
||||||
CONFIG_USB_SERIAL=m
|
|
||||||
CONFIG_USB_SERIAL_GENERIC=y
|
|
||||||
CONFIG_USB_SERIAL_PL2303=m
|
|
||||||
CONFIG_MMC=m
|
|
||||||
CONFIG_MMC_AT91=m
|
|
||||||
CONFIG_RTC_CLASS=m
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=m
|
|
||||||
CONFIG_EXT2_FS=m
|
|
||||||
CONFIG_EXT3_FS=m
|
|
||||||
# CONFIG_EXT3_FS_XATTR is not set
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_ISO9660_FS=m
|
|
||||||
CONFIG_JOLIET=y
|
|
||||||
CONFIG_UDF_FS=m
|
|
||||||
CONFIG_MSDOS_FS=m
|
|
||||||
CONFIG_VFAT_FS=m
|
|
||||||
CONFIG_NTFS_FS=m
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_JFFS2_FS=y
|
|
||||||
CONFIG_JFFS2_SUMMARY=y
|
|
||||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
|
||||||
CONFIG_NFS_FS=m
|
|
||||||
CONFIG_SMB_FS=m
|
|
||||||
CONFIG_CIFS=m
|
|
||||||
CONFIG_PARTITION_ADVANCED=y
|
|
||||||
CONFIG_AMIGA_PARTITION=y
|
|
||||||
CONFIG_NLS_DEFAULT="utf-8"
|
|
||||||
CONFIG_NLS_CODEPAGE_437=m
|
|
||||||
CONFIG_NLS_CODEPAGE_737=m
|
|
||||||
CONFIG_NLS_CODEPAGE_775=m
|
|
||||||
CONFIG_NLS_CODEPAGE_850=m
|
|
||||||
CONFIG_NLS_CODEPAGE_852=m
|
|
||||||
CONFIG_NLS_CODEPAGE_855=m
|
|
||||||
CONFIG_NLS_CODEPAGE_857=m
|
|
||||||
CONFIG_NLS_CODEPAGE_860=m
|
|
||||||
CONFIG_NLS_CODEPAGE_861=m
|
|
||||||
CONFIG_NLS_CODEPAGE_862=m
|
|
||||||
CONFIG_NLS_CODEPAGE_863=m
|
|
||||||
CONFIG_NLS_CODEPAGE_864=m
|
|
||||||
CONFIG_NLS_CODEPAGE_865=m
|
|
||||||
CONFIG_NLS_CODEPAGE_866=m
|
|
||||||
CONFIG_NLS_CODEPAGE_869=m
|
|
||||||
CONFIG_NLS_CODEPAGE_936=m
|
|
||||||
CONFIG_NLS_CODEPAGE_950=m
|
|
||||||
CONFIG_NLS_CODEPAGE_932=m
|
|
||||||
CONFIG_NLS_CODEPAGE_949=m
|
|
||||||
CONFIG_NLS_CODEPAGE_874=m
|
|
||||||
CONFIG_NLS_ISO8859_8=m
|
|
||||||
CONFIG_NLS_CODEPAGE_1250=m
|
|
||||||
CONFIG_NLS_CODEPAGE_1251=m
|
|
||||||
CONFIG_NLS_ASCII=m
|
|
||||||
CONFIG_NLS_ISO8859_1=m
|
|
||||||
CONFIG_NLS_ISO8859_2=m
|
|
||||||
CONFIG_NLS_ISO8859_3=m
|
|
||||||
CONFIG_NLS_ISO8859_4=m
|
|
||||||
CONFIG_NLS_ISO8859_5=m
|
|
||||||
CONFIG_NLS_ISO8859_6=m
|
|
||||||
CONFIG_NLS_ISO8859_7=m
|
|
||||||
CONFIG_NLS_ISO8859_9=m
|
|
||||||
CONFIG_NLS_ISO8859_13=m
|
|
||||||
CONFIG_NLS_ISO8859_14=m
|
|
||||||
CONFIG_NLS_ISO8859_15=m
|
|
||||||
CONFIG_NLS_KOI8_R=m
|
|
||||||
CONFIG_NLS_KOI8_U=m
|
|
||||||
CONFIG_NLS_UTF8=m
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
# CONFIG_DEBUG_BUGVERBOSE is not set
|
|
||||||
CONFIG_DEBUG_LL=y
|
|
||||||
CONFIG_CRYPTO_NULL=m
|
|
||||||
CONFIG_CRYPTO_TEST=m
|
|
||||||
CONFIG_CRYPTO_LRW=m
|
|
||||||
CONFIG_CRYPTO_PCBC=m
|
|
||||||
CONFIG_CRYPTO_XCBC=m
|
|
||||||
CONFIG_CRYPTO_MD4=m
|
|
||||||
CONFIG_CRYPTO_MICHAEL_MIC=m
|
|
||||||
CONFIG_CRYPTO_SHA256=m
|
|
||||||
CONFIG_CRYPTO_SHA512=m
|
|
||||||
CONFIG_CRYPTO_TGR192=m
|
|
||||||
CONFIG_CRYPTO_WP512=m
|
|
||||||
CONFIG_CRYPTO_ANUBIS=m
|
|
||||||
CONFIG_CRYPTO_BLOWFISH=m
|
|
||||||
CONFIG_CRYPTO_CAMELLIA=m
|
|
||||||
CONFIG_CRYPTO_CAST5=m
|
|
||||||
CONFIG_CRYPTO_CAST6=m
|
|
||||||
CONFIG_CRYPTO_FCRYPT=m
|
|
||||||
CONFIG_CRYPTO_KHAZAD=m
|
|
||||||
CONFIG_CRYPTO_SERPENT=m
|
|
||||||
CONFIG_CRYPTO_TEA=m
|
|
||||||
CONFIG_CRYPTO_TWOFISH=m
|
|
||||||
CONFIG_LIBCRC32C=m
|
|
|
@ -1,137 +0,0 @@
|
||||||
# CONFIG_SWAP is not set
|
|
||||||
CONFIG_SYSVIPC=y
|
|
||||||
CONFIG_LOG_BUF_SHIFT=14
|
|
||||||
CONFIG_BLK_DEV_INITRD=y
|
|
||||||
# CONFIG_CC_OPTIMIZE_FOR_SIZE is not set
|
|
||||||
CONFIG_MODULES=y
|
|
||||||
CONFIG_MODULE_UNLOAD=y
|
|
||||||
# CONFIG_IOSCHED_DEADLINE is not set
|
|
||||||
# CONFIG_IOSCHED_CFQ is not set
|
|
||||||
CONFIG_ARCH_AT91=y
|
|
||||||
CONFIG_ARCH_AT91RM9200DK=y
|
|
||||||
CONFIG_MACH_YL9200=y
|
|
||||||
# CONFIG_ARM_THUMB is not set
|
|
||||||
CONFIG_ZBOOT_ROM_TEXT=0x0
|
|
||||||
CONFIG_ZBOOT_ROM_BSS=0x0
|
|
||||||
CONFIG_CMDLINE="mem=32M console=ttyS0,115200 initrd=0x20410000,3145728 root=/dev/ram0 rw"
|
|
||||||
CONFIG_FPE_NWFPE=y
|
|
||||||
CONFIG_NET=y
|
|
||||||
CONFIG_PACKET=y
|
|
||||||
CONFIG_UNIX=y
|
|
||||||
CONFIG_INET=y
|
|
||||||
CONFIG_IP_PNP=y
|
|
||||||
CONFIG_IP_PNP_DHCP=y
|
|
||||||
# CONFIG_INET_XFRM_MODE_TRANSPORT is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_TUNNEL is not set
|
|
||||||
# CONFIG_INET_XFRM_MODE_BEET is not set
|
|
||||||
# CONFIG_INET_LRO is not set
|
|
||||||
# CONFIG_INET_DIAG is not set
|
|
||||||
# CONFIG_IPV6 is not set
|
|
||||||
CONFIG_UEVENT_HELPER_PATH="/sbin/hotplug"
|
|
||||||
CONFIG_MTD=y
|
|
||||||
CONFIG_MTD_CONCAT=y
|
|
||||||
CONFIG_MTD_PARTITIONS=y
|
|
||||||
CONFIG_MTD_CMDLINE_PARTS=y
|
|
||||||
CONFIG_MTD_CHAR=y
|
|
||||||
CONFIG_MTD_BLOCK=y
|
|
||||||
CONFIG_MTD_CFI=y
|
|
||||||
CONFIG_MTD_JEDECPROBE=y
|
|
||||||
CONFIG_MTD_CFI_INTELEXT=y
|
|
||||||
CONFIG_MTD_COMPLEX_MAPPINGS=y
|
|
||||||
CONFIG_MTD_PHYSMAP=y
|
|
||||||
CONFIG_MTD_PLATRAM=y
|
|
||||||
CONFIG_MTD_NAND=y
|
|
||||||
CONFIG_MTD_NAND_ATMEL=y
|
|
||||||
CONFIG_MTD_NAND_PLATFORM=y
|
|
||||||
CONFIG_BLK_DEV_LOOP=y
|
|
||||||
CONFIG_BLK_DEV_RAM=y
|
|
||||||
CONFIG_BLK_DEV_RAM_COUNT=3
|
|
||||||
CONFIG_BLK_DEV_RAM_SIZE=8192
|
|
||||||
# CONFIG_MISC_DEVICES is not set
|
|
||||||
CONFIG_BLK_DEV_SD=y
|
|
||||||
CONFIG_ATA=y
|
|
||||||
CONFIG_NETDEVICES=y
|
|
||||||
CONFIG_PHYLIB=y
|
|
||||||
CONFIG_DAVICOM_PHY=y
|
|
||||||
CONFIG_NET_ETHERNET=y
|
|
||||||
CONFIG_ARM_AT91_ETHER=y
|
|
||||||
# CONFIG_NETDEV_1000 is not set
|
|
||||||
# CONFIG_NETDEV_10000 is not set
|
|
||||||
# CONFIG_INPUT_MOUSEDEV_PSAUX is not set
|
|
||||||
CONFIG_INPUT_MOUSEDEV_SCREEN_X=640
|
|
||||||
CONFIG_INPUT_MOUSEDEV_SCREEN_Y=480
|
|
||||||
CONFIG_INPUT_EVDEV=y
|
|
||||||
# CONFIG_KEYBOARD_ATKBD is not set
|
|
||||||
CONFIG_KEYBOARD_GPIO=y
|
|
||||||
CONFIG_INPUT_TOUCHSCREEN=y
|
|
||||||
CONFIG_TOUCHSCREEN_ADS7846=y
|
|
||||||
# CONFIG_SERIO_SERPORT is not set
|
|
||||||
CONFIG_SERIAL_ATMEL=y
|
|
||||||
CONFIG_SERIAL_ATMEL_CONSOLE=y
|
|
||||||
# CONFIG_HW_RANDOM is not set
|
|
||||||
CONFIG_I2C=y
|
|
||||||
CONFIG_SPI=y
|
|
||||||
CONFIG_SPI_DEBUG=y
|
|
||||||
CONFIG_SPI_ATMEL=y
|
|
||||||
CONFIG_FB=y
|
|
||||||
CONFIG_BACKLIGHT_LCD_SUPPORT=y
|
|
||||||
CONFIG_LCD_CLASS_DEVICE=y
|
|
||||||
CONFIG_BACKLIGHT_CLASS_DEVICE=y
|
|
||||||
CONFIG_DISPLAY_SUPPORT=y
|
|
||||||
# CONFIG_VGA_CONSOLE is not set
|
|
||||||
CONFIG_LOGO=y
|
|
||||||
# CONFIG_LOGO_LINUX_MONO is not set
|
|
||||||
# CONFIG_LOGO_LINUX_VGA16 is not set
|
|
||||||
CONFIG_USB=y
|
|
||||||
CONFIG_USB_DEBUG=y
|
|
||||||
CONFIG_USB_DEVICEFS=y
|
|
||||||
# CONFIG_USB_DEVICE_CLASS is not set
|
|
||||||
CONFIG_USB_MON=y
|
|
||||||
CONFIG_USB_OHCI_HCD=y
|
|
||||||
CONFIG_USB_STORAGE=y
|
|
||||||
CONFIG_USB_GADGET=y
|
|
||||||
CONFIG_USB_GADGET_M66592=y
|
|
||||||
CONFIG_USB_FILE_STORAGE=m
|
|
||||||
CONFIG_MMC=y
|
|
||||||
CONFIG_MMC_DEBUG=y
|
|
||||||
# CONFIG_MMC_BLOCK_BOUNCE is not set
|
|
||||||
CONFIG_MMC_AT91=m
|
|
||||||
CONFIG_NEW_LEDS=y
|
|
||||||
CONFIG_LEDS_CLASS=y
|
|
||||||
CONFIG_LEDS_GPIO=y
|
|
||||||
CONFIG_LEDS_TRIGGERS=y
|
|
||||||
CONFIG_LEDS_TRIGGER_TIMER=y
|
|
||||||
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
|
|
||||||
CONFIG_RTC_CLASS=y
|
|
||||||
CONFIG_RTC_DRV_AT91RM9200=y
|
|
||||||
CONFIG_EXT2_FS=y
|
|
||||||
CONFIG_EXT2_FS_XATTR=y
|
|
||||||
CONFIG_EXT3_FS=y
|
|
||||||
CONFIG_REISERFS_FS=y
|
|
||||||
CONFIG_INOTIFY=y
|
|
||||||
CONFIG_ISO9660_FS=y
|
|
||||||
CONFIG_JOLIET=y
|
|
||||||
CONFIG_ZISOFS=y
|
|
||||||
CONFIG_UDF_FS=y
|
|
||||||
CONFIG_MSDOS_FS=y
|
|
||||||
CONFIG_VFAT_FS=y
|
|
||||||
CONFIG_TMPFS=y
|
|
||||||
CONFIG_JFFS2_FS=y
|
|
||||||
CONFIG_JFFS2_FS_DEBUG=1
|
|
||||||
CONFIG_JFFS2_COMPRESSION_OPTIONS=y
|
|
||||||
CONFIG_JFFS2_RUBIN=y
|
|
||||||
CONFIG_CRAMFS=y
|
|
||||||
CONFIG_PARTITION_ADVANCED=y
|
|
||||||
CONFIG_MAC_PARTITION=y
|
|
||||||
CONFIG_NLS_CODEPAGE_437=y
|
|
||||||
CONFIG_NLS_ISO8859_1=y
|
|
||||||
# CONFIG_ENABLE_MUST_CHECK is not set
|
|
||||||
CONFIG_DEBUG_FS=y
|
|
||||||
CONFIG_DEBUG_KERNEL=y
|
|
||||||
CONFIG_SLUB_DEBUG_ON=y
|
|
||||||
CONFIG_DEBUG_KOBJECT=y
|
|
||||||
CONFIG_DEBUG_INFO=y
|
|
||||||
CONFIG_DEBUG_LIST=y
|
|
||||||
CONFIG_DEBUG_USER=y
|
|
||||||
CONFIG_DEBUG_ERRORS=y
|
|
||||||
CONFIG_DEBUG_LL=y
|
|
|
@ -238,7 +238,7 @@
|
||||||
@ Slightly optimised to avoid incrementing the pointer twice
|
@ Slightly optimised to avoid incrementing the pointer twice
|
||||||
usraccoff \instr, \reg, \ptr, \inc, 0, \cond, \abort
|
usraccoff \instr, \reg, \ptr, \inc, 0, \cond, \abort
|
||||||
.if \rept == 2
|
.if \rept == 2
|
||||||
usraccoff \instr, \reg, \ptr, \inc, 4, \cond, \abort
|
usraccoff \instr, \reg, \ptr, \inc, \inc, \cond, \abort
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
add\cond \ptr, #\rept * \inc
|
add\cond \ptr, #\rept * \inc
|
||||||
|
|
|
@ -75,7 +75,7 @@ extern unsigned long it8152_base_address;
|
||||||
IT8152_PD_IRQ(1) USB (USBR)
|
IT8152_PD_IRQ(1) USB (USBR)
|
||||||
IT8152_PD_IRQ(0) Audio controller (ACR)
|
IT8152_PD_IRQ(0) Audio controller (ACR)
|
||||||
*/
|
*/
|
||||||
#define IT8152_IRQ(x) (IRQ_BOARD_END + (x))
|
#define IT8152_IRQ(x) (IRQ_BOARD_START + (x))
|
||||||
|
|
||||||
/* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */
|
/* IRQ-sources in 3 groups - local devices, LPC (serial), and external PCI */
|
||||||
#define IT8152_LD_IRQ_COUNT 9
|
#define IT8152_LD_IRQ_COUNT 9
|
||||||
|
|
|
@ -13,6 +13,10 @@ typedef struct {
|
||||||
|
|
||||||
#ifdef CONFIG_CPU_HAS_ASID
|
#ifdef CONFIG_CPU_HAS_ASID
|
||||||
#define ASID(mm) ((mm)->context.id & 255)
|
#define ASID(mm) ((mm)->context.id & 255)
|
||||||
|
|
||||||
|
/* init_mm.context.id_lock should be initialized. */
|
||||||
|
#define INIT_MM_CONTEXT(name) \
|
||||||
|
.context.id_lock = __SPIN_LOCK_UNLOCKED(name.context.id_lock),
|
||||||
#else
|
#else
|
||||||
#define ASID(mm) (0)
|
#define ASID(mm) (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -374,6 +374,9 @@ static inline pte_t *pmd_page_vaddr(pmd_t pmd)
|
||||||
|
|
||||||
#define pmd_page(pmd) pfn_to_page(__phys_to_pfn(pmd_val(pmd)))
|
#define pmd_page(pmd) pfn_to_page(__phys_to_pfn(pmd_val(pmd)))
|
||||||
|
|
||||||
|
/* we don't need complex calculations here as the pmd is folded into the pgd */
|
||||||
|
#define pmd_addr_end(addr,end) (end)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Conversion functions: convert a page and protection to a page entry,
|
* Conversion functions: convert a page and protection to a page entry,
|
||||||
* and a page entry and page directory to the page they refer to.
|
* and a page entry and page directory to the page they refer to.
|
||||||
|
|
|
@ -911,7 +911,7 @@ __kuser_cmpxchg: @ 0xffff0fc0
|
||||||
* A special ghost syscall is used for that (see traps.c).
|
* A special ghost syscall is used for that (see traps.c).
|
||||||
*/
|
*/
|
||||||
stmfd sp!, {r7, lr}
|
stmfd sp!, {r7, lr}
|
||||||
ldr r7, =1f @ it's 20 bits
|
ldr r7, 1f @ it's 20 bits
|
||||||
swi __ARM_NR_cmpxchg
|
swi __ARM_NR_cmpxchg
|
||||||
ldmfd sp!, {r7, pc}
|
ldmfd sp!, {r7, pc}
|
||||||
1: .word __ARM_NR_cmpxchg
|
1: .word __ARM_NR_cmpxchg
|
||||||
|
|
|
@ -85,9 +85,11 @@ ENTRY(stext)
|
||||||
mrc p15, 0, r9, c0, c0 @ get processor id
|
mrc p15, 0, r9, c0, c0 @ get processor id
|
||||||
bl __lookup_processor_type @ r5=procinfo r9=cpuid
|
bl __lookup_processor_type @ r5=procinfo r9=cpuid
|
||||||
movs r10, r5 @ invalid processor (r5=0)?
|
movs r10, r5 @ invalid processor (r5=0)?
|
||||||
|
THUMB( it eq ) @ force fixup-able long branch encoding
|
||||||
beq __error_p @ yes, error 'p'
|
beq __error_p @ yes, error 'p'
|
||||||
bl __lookup_machine_type @ r5=machinfo
|
bl __lookup_machine_type @ r5=machinfo
|
||||||
movs r8, r5 @ invalid machine (r5=0)?
|
movs r8, r5 @ invalid machine (r5=0)?
|
||||||
|
THUMB( it eq ) @ force fixup-able long branch encoding
|
||||||
beq __error_a @ yes, error 'a'
|
beq __error_a @ yes, error 'a'
|
||||||
bl __vet_atags
|
bl __vet_atags
|
||||||
#ifdef CONFIG_SMP_ON_UP
|
#ifdef CONFIG_SMP_ON_UP
|
||||||
|
@ -262,6 +264,7 @@ __create_page_tables:
|
||||||
mov pc, lr
|
mov pc, lr
|
||||||
ENDPROC(__create_page_tables)
|
ENDPROC(__create_page_tables)
|
||||||
.ltorg
|
.ltorg
|
||||||
|
.align
|
||||||
__enable_mmu_loc:
|
__enable_mmu_loc:
|
||||||
.long .
|
.long .
|
||||||
.long __enable_mmu
|
.long __enable_mmu
|
||||||
|
@ -282,6 +285,7 @@ ENTRY(secondary_startup)
|
||||||
bl __lookup_processor_type
|
bl __lookup_processor_type
|
||||||
movs r10, r5 @ invalid processor?
|
movs r10, r5 @ invalid processor?
|
||||||
moveq r0, #'p' @ yes, error 'p'
|
moveq r0, #'p' @ yes, error 'p'
|
||||||
|
THUMB( it eq ) @ force fixup-able long branch encoding
|
||||||
beq __error_p
|
beq __error_p
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -308,6 +312,8 @@ ENTRY(__secondary_switched)
|
||||||
b secondary_start_kernel
|
b secondary_start_kernel
|
||||||
ENDPROC(__secondary_switched)
|
ENDPROC(__secondary_switched)
|
||||||
|
|
||||||
|
.align
|
||||||
|
|
||||||
.type __secondary_data, %object
|
.type __secondary_data, %object
|
||||||
__secondary_data:
|
__secondary_data:
|
||||||
.long .
|
.long .
|
||||||
|
@ -413,6 +419,7 @@ __fixup_smp_on_up:
|
||||||
mov pc, lr
|
mov pc, lr
|
||||||
ENDPROC(__fixup_smp)
|
ENDPROC(__fixup_smp)
|
||||||
|
|
||||||
|
.align
|
||||||
1: .word .
|
1: .word .
|
||||||
.word __smpalt_begin
|
.word __smpalt_begin
|
||||||
.word __smpalt_end
|
.word __smpalt_end
|
||||||
|
|
|
@ -748,8 +748,7 @@ static int hw_breakpoint_pending(unsigned long addr, unsigned int fsr,
|
||||||
breakpoint_handler(addr, regs);
|
breakpoint_handler(addr, regs);
|
||||||
break;
|
break;
|
||||||
case ARM_ENTRY_ASYNC_WATCHPOINT:
|
case ARM_ENTRY_ASYNC_WATCHPOINT:
|
||||||
WARN_ON("Asynchronous watchpoint exception taken. "
|
WARN(1, "Asynchronous watchpoint exception taken. Debugging results may be unreliable\n");
|
||||||
"Debugging results may be unreliable");
|
|
||||||
case ARM_ENTRY_SYNC_WATCHPOINT:
|
case ARM_ENTRY_SYNC_WATCHPOINT:
|
||||||
watchpoint_handler(addr, regs);
|
watchpoint_handler(addr, regs);
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -1749,7 +1749,7 @@ static inline int armv7_pmnc_has_overflowed(unsigned long pmnc)
|
||||||
static inline int armv7_pmnc_counter_has_overflowed(unsigned long pmnc,
|
static inline int armv7_pmnc_counter_has_overflowed(unsigned long pmnc,
|
||||||
enum armv7_counters counter)
|
enum armv7_counters counter)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = 0;
|
||||||
|
|
||||||
if (counter == ARMV7_CYCLE_COUNTER)
|
if (counter == ARMV7_CYCLE_COUNTER)
|
||||||
ret = pmnc & ARMV7_FLAG_C;
|
ret = pmnc & ARMV7_FLAG_C;
|
||||||
|
|
|
@ -59,6 +59,8 @@ relocate_new_kernel:
|
||||||
ldr r2,kexec_boot_atags
|
ldr r2,kexec_boot_atags
|
||||||
mov pc,lr
|
mov pc,lr
|
||||||
|
|
||||||
|
.align
|
||||||
|
|
||||||
.globl kexec_start_address
|
.globl kexec_start_address
|
||||||
kexec_start_address:
|
kexec_start_address:
|
||||||
.long 0x0
|
.long 0x0
|
||||||
|
|
|
@ -28,7 +28,7 @@ int notrace unwind_frame(struct stackframe *frame)
|
||||||
|
|
||||||
/* only go to a higher address on the stack */
|
/* only go to a higher address on the stack */
|
||||||
low = frame->sp;
|
low = frame->sp;
|
||||||
high = ALIGN(low, THREAD_SIZE) + THREAD_SIZE;
|
high = ALIGN(low, THREAD_SIZE);
|
||||||
|
|
||||||
/* check current frame pointer is within bounds */
|
/* check current frame pointer is within bounds */
|
||||||
if (fp < (low + 12) || fp + 4 >= high)
|
if (fp < (low + 12) || fp + 4 >= high)
|
||||||
|
|
|
@ -53,10 +53,7 @@ static void dump_mem(const char *, const char *, unsigned long, unsigned long);
|
||||||
void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame)
|
void dump_backtrace_entry(unsigned long where, unsigned long from, unsigned long frame)
|
||||||
{
|
{
|
||||||
#ifdef CONFIG_KALLSYMS
|
#ifdef CONFIG_KALLSYMS
|
||||||
char sym1[KSYM_SYMBOL_LEN], sym2[KSYM_SYMBOL_LEN];
|
printk("[<%08lx>] (%pS) from [<%08lx>] (%pS)\n", where, (void *)where, from, (void *)from);
|
||||||
sprint_symbol(sym1, where);
|
|
||||||
sprint_symbol(sym2, from);
|
|
||||||
printk("[<%08lx>] (%s) from [<%08lx>] (%s)\n", where, sym1, from, sym2);
|
|
||||||
#else
|
#else
|
||||||
printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from);
|
printk("Function entered at [<%08lx>] from [<%08lx>]\n", where, from);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -279,7 +279,7 @@ int unwind_frame(struct stackframe *frame)
|
||||||
|
|
||||||
/* only go to a higher address on the stack */
|
/* only go to a higher address on the stack */
|
||||||
low = frame->sp;
|
low = frame->sp;
|
||||||
high = ALIGN(low, THREAD_SIZE) + THREAD_SIZE;
|
high = ALIGN(low, THREAD_SIZE);
|
||||||
|
|
||||||
pr_debug("%s(pc = %08lx lr = %08lx sp = %08lx)\n", __func__,
|
pr_debug("%s(pc = %08lx lr = %08lx sp = %08lx)\n", __func__,
|
||||||
frame->pc, frame->lr, frame->sp);
|
frame->pc, frame->lr, frame->sp);
|
||||||
|
|
|
@ -174,8 +174,8 @@ ENDPROC(_find_next_bit_be)
|
||||||
*/
|
*/
|
||||||
.L_found:
|
.L_found:
|
||||||
#if __LINUX_ARM_ARCH__ >= 5
|
#if __LINUX_ARM_ARCH__ >= 5
|
||||||
rsb r1, r3, #0
|
rsb r0, r3, #0
|
||||||
and r3, r3, r1
|
and r3, r3, r0
|
||||||
clz r3, r3
|
clz r3, r3
|
||||||
rsb r3, r3, #31
|
rsb r3, r3, #31
|
||||||
add r0, r2, r3
|
add r0, r2, r3
|
||||||
|
@ -190,5 +190,7 @@ ENDPROC(_find_next_bit_be)
|
||||||
addeq r2, r2, #1
|
addeq r2, r2, #1
|
||||||
mov r0, r2
|
mov r0, r2
|
||||||
#endif
|
#endif
|
||||||
|
cmp r1, r0 @ Clamp to maxbit
|
||||||
|
movlo r0, r1
|
||||||
mov pc, lr
|
mov pc, lr
|
||||||
|
|
||||||
|
|
|
@ -11,6 +11,6 @@
|
||||||
#ifndef __ASM_ARCH_VMALLOC_H
|
#ifndef __ASM_ARCH_VMALLOC_H
|
||||||
#define __ASM_ARCH_VMALLOC_H
|
#define __ASM_ARCH_VMALLOC_H
|
||||||
|
|
||||||
#define VMALLOC_END 0xd0000000
|
#define VMALLOC_END 0xd0000000UL
|
||||||
|
|
||||||
#endif /* __ASM_ARCH_VMALLOC_H */
|
#endif /* __ASM_ARCH_VMALLOC_H */
|
||||||
|
|
|
@ -24,8 +24,8 @@ obj-$(CONFIG_ARCH_AT91X40) += at91x40.o at91x40_time.o
|
||||||
|
|
||||||
# AT91RM9200 board-specific support
|
# AT91RM9200 board-specific support
|
||||||
obj-$(CONFIG_MACH_ONEARM) += board-1arm.o
|
obj-$(CONFIG_MACH_ONEARM) += board-1arm.o
|
||||||
obj-$(CONFIG_ARCH_AT91RM9200DK) += board-dk.o
|
obj-$(CONFIG_ARCH_AT91RM9200DK) += board-rm9200dk.o
|
||||||
obj-$(CONFIG_MACH_AT91RM9200EK) += board-ek.o
|
obj-$(CONFIG_MACH_AT91RM9200EK) += board-rm9200ek.o
|
||||||
obj-$(CONFIG_MACH_CSB337) += board-csb337.o
|
obj-$(CONFIG_MACH_CSB337) += board-csb337.o
|
||||||
obj-$(CONFIG_MACH_CSB637) += board-csb637.o
|
obj-$(CONFIG_MACH_CSB637) += board-csb637.o
|
||||||
obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o
|
obj-$(CONFIG_MACH_CARMEVA) += board-carmeva.o
|
||||||
|
@ -65,7 +65,7 @@ obj-$(CONFIG_MACH_AT91SAM9G20EK) += board-sam9g20ek.o
|
||||||
obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o
|
obj-$(CONFIG_MACH_CPU9G20) += board-cpu9krea.o
|
||||||
obj-$(CONFIG_MACH_STAMP9G20) += board-stamp9g20.o
|
obj-$(CONFIG_MACH_STAMP9G20) += board-stamp9g20.o
|
||||||
obj-$(CONFIG_MACH_PORTUXG20) += board-stamp9g20.o
|
obj-$(CONFIG_MACH_PORTUXG20) += board-stamp9g20.o
|
||||||
obj-$(CONFIG_MACH_PCONTROL_G20) += board-pcontrol-g20.o
|
obj-$(CONFIG_MACH_PCONTROL_G20) += board-pcontrol-g20.o board-stamp9g20.o
|
||||||
|
|
||||||
# AT91SAM9260/AT91SAM9G20 board-specific support
|
# AT91SAM9260/AT91SAM9G20 board-specific support
|
||||||
obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o
|
obj-$(CONFIG_MACH_SNAPPER_9260) += board-snapper9260.o
|
||||||
|
|
|
@ -1106,51 +1106,6 @@ static inline void configure_usart3_pins(unsigned pins)
|
||||||
static struct platform_device *__initdata at91_uarts[ATMEL_MAX_UART]; /* the UARTs to use */
|
static struct platform_device *__initdata at91_uarts[ATMEL_MAX_UART]; /* the UARTs to use */
|
||||||
struct platform_device *atmel_default_console_device; /* the serial console device */
|
struct platform_device *atmel_default_console_device; /* the serial console device */
|
||||||
|
|
||||||
void __init __deprecated at91_init_serial(struct at91_uart_config *config)
|
|
||||||
{
|
|
||||||
int i;
|
|
||||||
|
|
||||||
/* Fill in list of supported UARTs */
|
|
||||||
for (i = 0; i < config->nr_tty; i++) {
|
|
||||||
switch (config->tty_map[i]) {
|
|
||||||
case 0:
|
|
||||||
configure_usart0_pins(ATMEL_UART_CTS | ATMEL_UART_RTS);
|
|
||||||
at91_uarts[i] = &at91rm9200_uart0_device;
|
|
||||||
at91_clock_associate("usart0_clk", &at91rm9200_uart0_device.dev, "usart");
|
|
||||||
break;
|
|
||||||
case 1:
|
|
||||||
configure_usart1_pins(ATMEL_UART_CTS | ATMEL_UART_RTS | ATMEL_UART_DSR | ATMEL_UART_DTR | ATMEL_UART_DCD | ATMEL_UART_RI);
|
|
||||||
at91_uarts[i] = &at91rm9200_uart1_device;
|
|
||||||
at91_clock_associate("usart1_clk", &at91rm9200_uart1_device.dev, "usart");
|
|
||||||
break;
|
|
||||||
case 2:
|
|
||||||
configure_usart2_pins(0);
|
|
||||||
at91_uarts[i] = &at91rm9200_uart2_device;
|
|
||||||
at91_clock_associate("usart2_clk", &at91rm9200_uart2_device.dev, "usart");
|
|
||||||
break;
|
|
||||||
case 3:
|
|
||||||
configure_usart3_pins(0);
|
|
||||||
at91_uarts[i] = &at91rm9200_uart3_device;
|
|
||||||
at91_clock_associate("usart3_clk", &at91rm9200_uart3_device.dev, "usart");
|
|
||||||
break;
|
|
||||||
case 4:
|
|
||||||
configure_dbgu_pins();
|
|
||||||
at91_uarts[i] = &at91rm9200_dbgu_device;
|
|
||||||
at91_clock_associate("mck", &at91rm9200_dbgu_device.dev, "usart");
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
at91_uarts[i]->id = i; /* update ID number to mapped ID */
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Set serial console device */
|
|
||||||
if (config->console_tty < ATMEL_MAX_UART)
|
|
||||||
atmel_default_console_device = at91_uarts[config->console_tty];
|
|
||||||
if (!atmel_default_console_device)
|
|
||||||
printk(KERN_INFO "AT91: No default serial console defined.\n");
|
|
||||||
}
|
|
||||||
|
|
||||||
void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins)
|
void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins)
|
||||||
{
|
{
|
||||||
struct platform_device *pdev;
|
struct platform_device *pdev;
|
||||||
|
|
|
@ -39,24 +39,24 @@
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Serial port configuration.
|
|
||||||
* 0 .. 3 = USART0 .. USART3
|
|
||||||
* 4 = DBGU
|
|
||||||
*/
|
|
||||||
static struct at91_uart_config __initdata onearm_uart_config = {
|
|
||||||
.console_tty = 0, /* ttyS0 */
|
|
||||||
.nr_tty = 3,
|
|
||||||
.tty_map = { 4, 0, 1, -1, -1 }, /* ttyS0, ..., ttyS4 */
|
|
||||||
};
|
|
||||||
|
|
||||||
static void __init onearm_map_io(void)
|
static void __init onearm_map_io(void)
|
||||||
{
|
{
|
||||||
/* Initialize processor: 18.432 MHz crystal */
|
/* Initialize processor: 18.432 MHz crystal */
|
||||||
at91rm9200_initialize(18432000, AT91RM9200_PQFP);
|
at91rm9200_initialize(18432000, AT91RM9200_PQFP);
|
||||||
|
|
||||||
/* Setup the serial ports and console */
|
/* DBGU on ttyS0. (Rx & Tx only) */
|
||||||
at91_init_serial(&onearm_uart_config);
|
at91_register_uart(0, 0, 0);
|
||||||
|
|
||||||
|
/* USART0 on ttyS1 (Rx, Tx, CTS, RTS) */
|
||||||
|
at91_register_uart(AT91RM9200_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS);
|
||||||
|
|
||||||
|
/* USART1 on ttyS2 (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
|
||||||
|
at91_register_uart(AT91RM9200_ID_US1, 2, ATMEL_UART_CTS | ATMEL_UART_RTS
|
||||||
|
| ATMEL_UART_DTR | ATMEL_UART_DSR | ATMEL_UART_DCD
|
||||||
|
| ATMEL_UART_RI);
|
||||||
|
|
||||||
|
/* set serial console to ttyS0 (ie, DBGU) */
|
||||||
|
at91_set_serial_console(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init onearm_init_irq(void)
|
static void __init onearm_init_irq(void)
|
||||||
|
|
|
@ -39,17 +39,6 @@
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Serial port configuration.
|
|
||||||
* 0 .. 3 = USART0 .. USART3
|
|
||||||
* 4 = DBGU
|
|
||||||
*/
|
|
||||||
static struct at91_uart_config __initdata kafa_uart_config = {
|
|
||||||
.console_tty = 0, /* ttyS0 */
|
|
||||||
.nr_tty = 2,
|
|
||||||
.tty_map = { 4, 0, -1, -1, -1 } /* ttyS0, ..., ttyS4 */
|
|
||||||
};
|
|
||||||
|
|
||||||
static void __init kafa_map_io(void)
|
static void __init kafa_map_io(void)
|
||||||
{
|
{
|
||||||
/* Initialize processor: 18.432 MHz crystal */
|
/* Initialize processor: 18.432 MHz crystal */
|
||||||
|
@ -58,8 +47,14 @@ static void __init kafa_map_io(void)
|
||||||
/* Set up the LEDs */
|
/* Set up the LEDs */
|
||||||
at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4);
|
at91_init_leds(AT91_PIN_PB4, AT91_PIN_PB4);
|
||||||
|
|
||||||
/* Setup the serial ports and console */
|
/* DBGU on ttyS0. (Rx & Tx only) */
|
||||||
at91_init_serial(&kafa_uart_config);
|
at91_register_uart(0, 0, 0);
|
||||||
|
|
||||||
|
/* USART0 on ttyS1 (Rx, Tx, CTS, RTS) */
|
||||||
|
at91_register_uart(AT91RM9200_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS);
|
||||||
|
|
||||||
|
/* set serial console to ttyS0 (ie, DBGU) */
|
||||||
|
at91_set_serial_console(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init kafa_init_irq(void)
|
static void __init kafa_init_irq(void)
|
||||||
|
|
|
@ -31,6 +31,7 @@
|
||||||
|
|
||||||
#include <mach/board.h>
|
#include <mach/board.h>
|
||||||
#include <mach/at91sam9_smc.h>
|
#include <mach/at91sam9_smc.h>
|
||||||
|
#include <mach/stamp9g20.h>
|
||||||
|
|
||||||
#include "sam9_smc.h"
|
#include "sam9_smc.h"
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
@ -38,11 +39,7 @@
|
||||||
|
|
||||||
static void __init pcontrol_g20_map_io(void)
|
static void __init pcontrol_g20_map_io(void)
|
||||||
{
|
{
|
||||||
/* Initialize processor: 18.432 MHz crystal */
|
stamp9g20_map_io();
|
||||||
at91sam9260_initialize(18432000);
|
|
||||||
|
|
||||||
/* DGBU on ttyS0. (Rx, Tx) only TTL -> JTAG connector X7 17,19 ) */
|
|
||||||
at91_register_uart(0, 0, 0);
|
|
||||||
|
|
||||||
/* USART0 on ttyS1. (Rx, Tx, CTS, RTS) piggyback A2 */
|
/* USART0 on ttyS1. (Rx, Tx, CTS, RTS) piggyback A2 */
|
||||||
at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS
|
at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS
|
||||||
|
@ -54,9 +51,6 @@ static void __init pcontrol_g20_map_io(void)
|
||||||
|
|
||||||
/* USART2 on ttyS3. (Rx, Tx) 9bit-Bus Multidrop-mode X4 */
|
/* USART2 on ttyS3. (Rx, Tx) 9bit-Bus Multidrop-mode X4 */
|
||||||
at91_register_uart(AT91SAM9260_ID_US4, 3, 0);
|
at91_register_uart(AT91SAM9260_ID_US4, 3, 0);
|
||||||
|
|
||||||
/* set serial console to ttyS0 (ie, DBGU) */
|
|
||||||
at91_set_serial_console(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -66,38 +60,6 @@ static void __init init_irq(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* NAND flash 512MiB 1,8V 8-bit, sector size 128 KiB
|
|
||||||
*/
|
|
||||||
static struct atmel_nand_data __initdata nand_data = {
|
|
||||||
.ale = 21,
|
|
||||||
.cle = 22,
|
|
||||||
.rdy_pin = AT91_PIN_PC13,
|
|
||||||
.enable_pin = AT91_PIN_PC14,
|
|
||||||
};
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Bus timings; unit = 7.57ns
|
|
||||||
*/
|
|
||||||
static struct sam9_smc_config __initdata nand_smc_config = {
|
|
||||||
.ncs_read_setup = 0,
|
|
||||||
.nrd_setup = 2,
|
|
||||||
.ncs_write_setup = 0,
|
|
||||||
.nwe_setup = 2,
|
|
||||||
|
|
||||||
.ncs_read_pulse = 4,
|
|
||||||
.nrd_pulse = 4,
|
|
||||||
.ncs_write_pulse = 4,
|
|
||||||
.nwe_pulse = 4,
|
|
||||||
|
|
||||||
.read_cycle = 7,
|
|
||||||
.write_cycle = 7,
|
|
||||||
|
|
||||||
.mode = AT91_SMC_READMODE | AT91_SMC_WRITEMODE
|
|
||||||
| AT91_SMC_EXNWMODE_DISABLE | AT91_SMC_DBW_8,
|
|
||||||
.tdf_cycles = 3,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct sam9_smc_config __initdata pcontrol_smc_config[2] = { {
|
static struct sam9_smc_config __initdata pcontrol_smc_config[2] = { {
|
||||||
.ncs_read_setup = 16,
|
.ncs_read_setup = 16,
|
||||||
.nrd_setup = 18,
|
.nrd_setup = 18,
|
||||||
|
@ -138,14 +100,6 @@ static struct sam9_smc_config __initdata pcontrol_smc_config[2] = { {
|
||||||
.tdf_cycles = 1,
|
.tdf_cycles = 1,
|
||||||
} };
|
} };
|
||||||
|
|
||||||
static void __init add_device_nand(void)
|
|
||||||
{
|
|
||||||
/* configure chip-select 3 (NAND) */
|
|
||||||
sam9_smc_configure(3, &nand_smc_config);
|
|
||||||
at91_add_device_nand(&nand_data);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static void __init add_device_pcontrol(void)
|
static void __init add_device_pcontrol(void)
|
||||||
{
|
{
|
||||||
/* configure chip-select 4 (IO compatible to 8051 X4 ) */
|
/* configure chip-select 4 (IO compatible to 8051 X4 ) */
|
||||||
|
@ -155,23 +109,6 @@ static void __init add_device_pcontrol(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* MCI (SD/MMC)
|
|
||||||
* det_pin, wp_pin and vcc_pin are not connected
|
|
||||||
*/
|
|
||||||
#if defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_ATMELMCI_MODULE)
|
|
||||||
static struct mci_platform_data __initdata mmc_data = {
|
|
||||||
.slot[0] = {
|
|
||||||
.bus_width = 4,
|
|
||||||
},
|
|
||||||
};
|
|
||||||
#else
|
|
||||||
static struct at91_mmc_data __initdata mmc_data = {
|
|
||||||
.wire4 = 1,
|
|
||||||
};
|
|
||||||
#endif
|
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* USB Host port
|
* USB Host port
|
||||||
*/
|
*/
|
||||||
|
@ -265,42 +202,13 @@ static struct spi_board_info pcontrol_g20_spi_devices[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Dallas 1-Wire DS2431
|
|
||||||
*/
|
|
||||||
static struct w1_gpio_platform_data w1_gpio_pdata = {
|
|
||||||
.pin = AT91_PIN_PA29,
|
|
||||||
.is_open_drain = 1,
|
|
||||||
};
|
|
||||||
|
|
||||||
static struct platform_device w1_device = {
|
|
||||||
.name = "w1-gpio",
|
|
||||||
.id = -1,
|
|
||||||
.dev.platform_data = &w1_gpio_pdata,
|
|
||||||
};
|
|
||||||
|
|
||||||
static void add_wire1(void)
|
|
||||||
{
|
|
||||||
at91_set_GPIO_periph(w1_gpio_pdata.pin, 1);
|
|
||||||
at91_set_multi_drive(w1_gpio_pdata.pin, 1);
|
|
||||||
platform_device_register(&w1_device);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
static void __init pcontrol_g20_board_init(void)
|
static void __init pcontrol_g20_board_init(void)
|
||||||
{
|
{
|
||||||
at91_add_device_serial();
|
stamp9g20_board_init();
|
||||||
add_device_nand();
|
|
||||||
#if defined(CONFIG_MMC_ATMELMCI) || defined(CONFIG_MMC_ATMELMCI_MODULE)
|
|
||||||
at91_add_device_mci(0, &mmc_data);
|
|
||||||
#else
|
|
||||||
at91_add_device_mmc(0, &mmc_data);
|
|
||||||
#endif
|
|
||||||
at91_add_device_usbh(&usbh_data);
|
at91_add_device_usbh(&usbh_data);
|
||||||
at91_add_device_eth(&macb_data);
|
at91_add_device_eth(&macb_data);
|
||||||
at91_add_device_i2c(pcontrol_g20_i2c_devices,
|
at91_add_device_i2c(pcontrol_g20_i2c_devices,
|
||||||
ARRAY_SIZE(pcontrol_g20_i2c_devices));
|
ARRAY_SIZE(pcontrol_g20_i2c_devices));
|
||||||
add_wire1();
|
|
||||||
add_device_pcontrol();
|
add_device_pcontrol();
|
||||||
at91_add_device_spi(pcontrol_g20_spi_devices,
|
at91_add_device_spi(pcontrol_g20_spi_devices,
|
||||||
ARRAY_SIZE(pcontrol_g20_spi_devices));
|
ARRAY_SIZE(pcontrol_g20_spi_devices));
|
||||||
|
|
|
@ -43,24 +43,21 @@
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
|
|
||||||
/*
|
|
||||||
* Serial port configuration.
|
|
||||||
* 0 .. 3 = USART0 .. USART3
|
|
||||||
* 4 = DBGU
|
|
||||||
*/
|
|
||||||
static struct at91_uart_config __initdata picotux200_uart_config = {
|
|
||||||
.console_tty = 0, /* ttyS0 */
|
|
||||||
.nr_tty = 2,
|
|
||||||
.tty_map = { 4, 1, -1, -1, -1 } /* ttyS0, ..., ttyS4 */
|
|
||||||
};
|
|
||||||
|
|
||||||
static void __init picotux200_map_io(void)
|
static void __init picotux200_map_io(void)
|
||||||
{
|
{
|
||||||
/* Initialize processor: 18.432 MHz crystal */
|
/* Initialize processor: 18.432 MHz crystal */
|
||||||
at91rm9200_initialize(18432000, AT91RM9200_BGA);
|
at91rm9200_initialize(18432000, AT91RM9200_BGA);
|
||||||
|
|
||||||
/* Setup the serial ports and console */
|
/* DBGU on ttyS0. (Rx & Tx only) */
|
||||||
at91_init_serial(&picotux200_uart_config);
|
at91_register_uart(0, 0, 0);
|
||||||
|
|
||||||
|
/* USART1 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
|
||||||
|
at91_register_uart(AT91RM9200_ID_US1, 1, ATMEL_UART_CTS | ATMEL_UART_RTS
|
||||||
|
| ATMEL_UART_DTR | ATMEL_UART_DSR | ATMEL_UART_DCD
|
||||||
|
| ATMEL_UART_RI);
|
||||||
|
|
||||||
|
/* set serial console to ttyS0 (ie, DBGU) */
|
||||||
|
at91_set_serial_console(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init picotux200_init_irq(void)
|
static void __init picotux200_init_irq(void)
|
||||||
|
@ -77,11 +74,6 @@ static struct at91_usbh_data __initdata picotux200_usbh_data = {
|
||||||
.ports = 1,
|
.ports = 1,
|
||||||
};
|
};
|
||||||
|
|
||||||
// static struct at91_udc_data __initdata picotux200_udc_data = {
|
|
||||||
// .vbus_pin = AT91_PIN_PD4,
|
|
||||||
// .pullup_pin = AT91_PIN_PD5,
|
|
||||||
// };
|
|
||||||
|
|
||||||
static struct at91_mmc_data __initdata picotux200_mmc_data = {
|
static struct at91_mmc_data __initdata picotux200_mmc_data = {
|
||||||
.det_pin = AT91_PIN_PB27,
|
.det_pin = AT91_PIN_PB27,
|
||||||
.slot_b = 0,
|
.slot_b = 0,
|
||||||
|
@ -89,21 +81,6 @@ static struct at91_mmc_data __initdata picotux200_mmc_data = {
|
||||||
.wp_pin = AT91_PIN_PA17,
|
.wp_pin = AT91_PIN_PA17,
|
||||||
};
|
};
|
||||||
|
|
||||||
// static struct spi_board_info picotux200_spi_devices[] = {
|
|
||||||
// { /* DataFlash chip */
|
|
||||||
// .modalias = "mtd_dataflash",
|
|
||||||
// .chip_select = 0,
|
|
||||||
// .max_speed_hz = 15 * 1000 * 1000,
|
|
||||||
// },
|
|
||||||
// #ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
|
|
||||||
// { /* DataFlash card */
|
|
||||||
// .modalias = "mtd_dataflash",
|
|
||||||
// .chip_select = 3,
|
|
||||||
// .max_speed_hz = 15 * 1000 * 1000,
|
|
||||||
// },
|
|
||||||
// #endif
|
|
||||||
// };
|
|
||||||
|
|
||||||
#define PICOTUX200_FLASH_BASE AT91_CHIPSELECT_0
|
#define PICOTUX200_FLASH_BASE AT91_CHIPSELECT_0
|
||||||
#define PICOTUX200_FLASH_SIZE SZ_4M
|
#define PICOTUX200_FLASH_SIZE SZ_4M
|
||||||
|
|
||||||
|
@ -135,21 +112,11 @@ static void __init picotux200_board_init(void)
|
||||||
at91_add_device_eth(&picotux200_eth_data);
|
at91_add_device_eth(&picotux200_eth_data);
|
||||||
/* USB Host */
|
/* USB Host */
|
||||||
at91_add_device_usbh(&picotux200_usbh_data);
|
at91_add_device_usbh(&picotux200_usbh_data);
|
||||||
/* USB Device */
|
|
||||||
// at91_add_device_udc(&picotux200_udc_data);
|
|
||||||
// at91_set_multi_drive(picotux200_udc_data.pullup_pin, 1); /* pullup_pin is connected to reset */
|
|
||||||
/* I2C */
|
/* I2C */
|
||||||
at91_add_device_i2c(NULL, 0);
|
at91_add_device_i2c(NULL, 0);
|
||||||
/* SPI */
|
|
||||||
// at91_add_device_spi(picotux200_spi_devices, ARRAY_SIZE(picotux200_spi_devices));
|
|
||||||
#ifdef CONFIG_MTD_AT91_DATAFLASH_CARD
|
|
||||||
/* DataFlash card */
|
|
||||||
at91_set_gpio_output(AT91_PIN_PB22, 0);
|
|
||||||
#else
|
|
||||||
/* MMC */
|
/* MMC */
|
||||||
at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
|
at91_set_gpio_output(AT91_PIN_PB22, 1); /* this MMC card slot can optionally use SPI signaling (CS3). */
|
||||||
at91_add_device_mmc(0, &picotux200_mmc_data);
|
at91_add_device_mmc(0, &picotux200_mmc_data);
|
||||||
#endif
|
|
||||||
/* NOR Flash */
|
/* NOR Flash */
|
||||||
platform_device_register(&picotux200_flash);
|
platform_device_register(&picotux200_flash);
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* linux/arch/arm/mach-at91/board-dk.c
|
* linux/arch/arm/mach-at91/board-rm9200dk.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2005 SAN People
|
* Copyright (C) 2005 SAN People
|
||||||
*
|
*
|
||||||
|
@ -91,10 +91,12 @@ static struct at91_cf_data __initdata dk_cf_data = {
|
||||||
// .vcc_pin = ... always powered
|
// .vcc_pin = ... always powered
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef CONFIG_MTD_AT91_DATAFLASH_CARD
|
||||||
static struct at91_mmc_data __initdata dk_mmc_data = {
|
static struct at91_mmc_data __initdata dk_mmc_data = {
|
||||||
.slot_b = 0,
|
.slot_b = 0,
|
||||||
.wire4 = 1,
|
.wire4 = 1,
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct spi_board_info dk_spi_devices[] = {
|
static struct spi_board_info dk_spi_devices[] = {
|
||||||
{ /* DataFlash chip */
|
{ /* DataFlash chip */
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* linux/arch/arm/mach-at91/board-ek.c
|
* linux/arch/arm/mach-at91/board-rm9200ek.c
|
||||||
*
|
*
|
||||||
* Copyright (C) 2005 SAN People
|
* Copyright (C) 2005 SAN People
|
||||||
*
|
*
|
||||||
|
@ -84,12 +84,14 @@ static struct at91_udc_data __initdata ek_udc_data = {
|
||||||
.pullup_pin = AT91_PIN_PD5,
|
.pullup_pin = AT91_PIN_PD5,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#ifndef CONFIG_MTD_AT91_DATAFLASH_CARD
|
||||||
static struct at91_mmc_data __initdata ek_mmc_data = {
|
static struct at91_mmc_data __initdata ek_mmc_data = {
|
||||||
.det_pin = AT91_PIN_PB27,
|
.det_pin = AT91_PIN_PB27,
|
||||||
.slot_b = 0,
|
.slot_b = 0,
|
||||||
.wire4 = 1,
|
.wire4 = 1,
|
||||||
.wp_pin = AT91_PIN_PA17,
|
.wp_pin = AT91_PIN_PA17,
|
||||||
};
|
};
|
||||||
|
#endif
|
||||||
|
|
||||||
static struct spi_board_info ek_spi_devices[] = {
|
static struct spi_board_info ek_spi_devices[] = {
|
||||||
{ /* DataFlash chip */
|
{ /* DataFlash chip */
|
|
@ -32,7 +32,7 @@
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
|
|
||||||
static void __init portuxg20_map_io(void)
|
void __init stamp9g20_map_io(void)
|
||||||
{
|
{
|
||||||
/* Initialize processor: 18.432 MHz crystal */
|
/* Initialize processor: 18.432 MHz crystal */
|
||||||
at91sam9260_initialize(18432000);
|
at91sam9260_initialize(18432000);
|
||||||
|
@ -40,6 +40,24 @@ static void __init portuxg20_map_io(void)
|
||||||
/* DGBU on ttyS0. (Rx & Tx only) */
|
/* DGBU on ttyS0. (Rx & Tx only) */
|
||||||
at91_register_uart(0, 0, 0);
|
at91_register_uart(0, 0, 0);
|
||||||
|
|
||||||
|
/* set serial console to ttyS0 (ie, DBGU) */
|
||||||
|
at91_set_serial_console(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void __init stamp9g20evb_map_io(void)
|
||||||
|
{
|
||||||
|
stamp9g20_map_io();
|
||||||
|
|
||||||
|
/* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
|
||||||
|
at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS
|
||||||
|
| ATMEL_UART_DTR | ATMEL_UART_DSR
|
||||||
|
| ATMEL_UART_DCD | ATMEL_UART_RI);
|
||||||
|
}
|
||||||
|
|
||||||
|
static void __init portuxg20_map_io(void)
|
||||||
|
{
|
||||||
|
stamp9g20_map_io();
|
||||||
|
|
||||||
/* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
|
/* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
|
||||||
at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS
|
at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS
|
||||||
| ATMEL_UART_DTR | ATMEL_UART_DSR
|
| ATMEL_UART_DTR | ATMEL_UART_DSR
|
||||||
|
@ -56,26 +74,6 @@ static void __init portuxg20_map_io(void)
|
||||||
|
|
||||||
/* USART5 on ttyS6. (Rx, Tx only) */
|
/* USART5 on ttyS6. (Rx, Tx only) */
|
||||||
at91_register_uart(AT91SAM9260_ID_US5, 6, 0);
|
at91_register_uart(AT91SAM9260_ID_US5, 6, 0);
|
||||||
|
|
||||||
/* set serial console to ttyS0 (ie, DBGU) */
|
|
||||||
at91_set_serial_console(0);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void __init stamp9g20_map_io(void)
|
|
||||||
{
|
|
||||||
/* Initialize processor: 18.432 MHz crystal */
|
|
||||||
at91sam9260_initialize(18432000);
|
|
||||||
|
|
||||||
/* DGBU on ttyS0. (Rx & Tx only) */
|
|
||||||
at91_register_uart(0, 0, 0);
|
|
||||||
|
|
||||||
/* USART0 on ttyS1. (Rx, Tx, CTS, RTS, DTR, DSR, DCD, RI) */
|
|
||||||
at91_register_uart(AT91SAM9260_ID_US0, 1, ATMEL_UART_CTS | ATMEL_UART_RTS
|
|
||||||
| ATMEL_UART_DTR | ATMEL_UART_DSR
|
|
||||||
| ATMEL_UART_DCD | ATMEL_UART_RI);
|
|
||||||
|
|
||||||
/* set serial console to ttyS0 (ie, DBGU) */
|
|
||||||
at91_set_serial_console(0);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init init_irq(void)
|
static void __init init_irq(void)
|
||||||
|
@ -156,7 +154,7 @@ static struct at91_udc_data __initdata portuxg20_udc_data = {
|
||||||
.pullup_pin = 0, /* pull-up driven by UDC */
|
.pullup_pin = 0, /* pull-up driven by UDC */
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct at91_udc_data __initdata stamp9g20_udc_data = {
|
static struct at91_udc_data __initdata stamp9g20evb_udc_data = {
|
||||||
.vbus_pin = AT91_PIN_PA22,
|
.vbus_pin = AT91_PIN_PA22,
|
||||||
.pullup_pin = 0, /* pull-up driven by UDC */
|
.pullup_pin = 0, /* pull-up driven by UDC */
|
||||||
};
|
};
|
||||||
|
@ -190,7 +188,7 @@ static struct gpio_led portuxg20_leds[] = {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct gpio_led stamp9g20_leds[] = {
|
static struct gpio_led stamp9g20evb_leds[] = {
|
||||||
{
|
{
|
||||||
.name = "D8",
|
.name = "D8",
|
||||||
.gpio = AT91_PIN_PB18,
|
.gpio = AT91_PIN_PB18,
|
||||||
|
@ -250,7 +248,7 @@ void add_w1(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static void __init generic_board_init(void)
|
void __init stamp9g20_board_init(void)
|
||||||
{
|
{
|
||||||
/* Serial */
|
/* Serial */
|
||||||
at91_add_device_serial();
|
at91_add_device_serial();
|
||||||
|
@ -262,34 +260,40 @@ static void __init generic_board_init(void)
|
||||||
#else
|
#else
|
||||||
at91_add_device_mmc(0, &mmc_data);
|
at91_add_device_mmc(0, &mmc_data);
|
||||||
#endif
|
#endif
|
||||||
/* USB Host */
|
|
||||||
at91_add_device_usbh(&usbh_data);
|
|
||||||
/* Ethernet */
|
|
||||||
at91_add_device_eth(&macb_data);
|
|
||||||
/* I2C */
|
|
||||||
at91_add_device_i2c(NULL, 0);
|
|
||||||
/* W1 */
|
/* W1 */
|
||||||
add_w1();
|
add_w1();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init portuxg20_board_init(void)
|
static void __init portuxg20_board_init(void)
|
||||||
{
|
{
|
||||||
generic_board_init();
|
stamp9g20_board_init();
|
||||||
/* SPI */
|
/* USB Host */
|
||||||
at91_add_device_spi(portuxg20_spi_devices, ARRAY_SIZE(portuxg20_spi_devices));
|
at91_add_device_usbh(&usbh_data);
|
||||||
/* USB Device */
|
/* USB Device */
|
||||||
at91_add_device_udc(&portuxg20_udc_data);
|
at91_add_device_udc(&portuxg20_udc_data);
|
||||||
|
/* Ethernet */
|
||||||
|
at91_add_device_eth(&macb_data);
|
||||||
|
/* I2C */
|
||||||
|
at91_add_device_i2c(NULL, 0);
|
||||||
|
/* SPI */
|
||||||
|
at91_add_device_spi(portuxg20_spi_devices, ARRAY_SIZE(portuxg20_spi_devices));
|
||||||
/* LEDs */
|
/* LEDs */
|
||||||
at91_gpio_leds(portuxg20_leds, ARRAY_SIZE(portuxg20_leds));
|
at91_gpio_leds(portuxg20_leds, ARRAY_SIZE(portuxg20_leds));
|
||||||
}
|
}
|
||||||
|
|
||||||
static void __init stamp9g20_board_init(void)
|
static void __init stamp9g20evb_board_init(void)
|
||||||
{
|
{
|
||||||
generic_board_init();
|
stamp9g20_board_init();
|
||||||
|
/* USB Host */
|
||||||
|
at91_add_device_usbh(&usbh_data);
|
||||||
/* USB Device */
|
/* USB Device */
|
||||||
at91_add_device_udc(&stamp9g20_udc_data);
|
at91_add_device_udc(&stamp9g20evb_udc_data);
|
||||||
|
/* Ethernet */
|
||||||
|
at91_add_device_eth(&macb_data);
|
||||||
|
/* I2C */
|
||||||
|
at91_add_device_i2c(NULL, 0);
|
||||||
/* LEDs */
|
/* LEDs */
|
||||||
at91_gpio_leds(stamp9g20_leds, ARRAY_SIZE(stamp9g20_leds));
|
at91_gpio_leds(stamp9g20evb_leds, ARRAY_SIZE(stamp9g20evb_leds));
|
||||||
}
|
}
|
||||||
|
|
||||||
MACHINE_START(PORTUXG20, "taskit PortuxG20")
|
MACHINE_START(PORTUXG20, "taskit PortuxG20")
|
||||||
|
@ -305,7 +309,7 @@ MACHINE_START(STAMP9G20, "taskit Stamp9G20")
|
||||||
/* Maintainer: taskit GmbH */
|
/* Maintainer: taskit GmbH */
|
||||||
.boot_params = AT91_SDRAM_BASE + 0x100,
|
.boot_params = AT91_SDRAM_BASE + 0x100,
|
||||||
.timer = &at91sam926x_timer,
|
.timer = &at91sam926x_timer,
|
||||||
.map_io = stamp9g20_map_io,
|
.map_io = stamp9g20evb_map_io,
|
||||||
.init_irq = init_irq,
|
.init_irq = init_irq,
|
||||||
.init_machine = stamp9g20_board_init,
|
.init_machine = stamp9g20evb_board_init,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|
|
@ -387,7 +387,7 @@ static struct spi_board_info yl9200_spi_devices[] = {
|
||||||
* EPSON S1D13806 FB (discontinued chip)
|
* EPSON S1D13806 FB (discontinued chip)
|
||||||
* EPSON S1D13506 FB
|
* EPSON S1D13506 FB
|
||||||
*/
|
*/
|
||||||
#if defined(CONFIG_FB_S1D135XX) || defined(CONFIG_FB_S1D13XXX_MODULE)
|
#if defined(CONFIG_FB_S1D13XXX) || defined(CONFIG_FB_S1D13XXX_MODULE)
|
||||||
#include <video/s1d13xxxfb.h>
|
#include <video/s1d13xxxfb.h>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -658,7 +658,7 @@ static void __init at91_upll_usbfs_clock_init(unsigned long main_clock)
|
||||||
/* Now set uhpck values */
|
/* Now set uhpck values */
|
||||||
uhpck.parent = &utmi_clk;
|
uhpck.parent = &utmi_clk;
|
||||||
uhpck.pmc_mask = AT91SAM926x_PMC_UHP;
|
uhpck.pmc_mask = AT91SAM926x_PMC_UHP;
|
||||||
uhpck.rate_hz = utmi_clk.parent->rate_hz;
|
uhpck.rate_hz = utmi_clk.rate_hz;
|
||||||
uhpck.rate_hz /= 1 + ((at91_sys_read(AT91_PMC_USB) & AT91_PMC_OHCIUSBDIV) >> 8);
|
uhpck.rate_hz /= 1 + ((at91_sys_read(AT91_PMC_USB) & AT91_PMC_OHCIUSBDIV) >> 8);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -137,13 +137,7 @@ extern void __init at91_add_device_spi(struct spi_board_info *devices, int nr_de
|
||||||
extern void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins);
|
extern void __init at91_register_uart(unsigned id, unsigned portnr, unsigned pins);
|
||||||
extern void __init at91_set_serial_console(unsigned portnr);
|
extern void __init at91_set_serial_console(unsigned portnr);
|
||||||
|
|
||||||
struct at91_uart_config {
|
|
||||||
unsigned short console_tty; /* tty number of serial console */
|
|
||||||
unsigned short nr_tty; /* number of serial tty's */
|
|
||||||
short tty_map[]; /* map UART to tty number */
|
|
||||||
};
|
|
||||||
extern struct platform_device *atmel_default_console_device;
|
extern struct platform_device *atmel_default_console_device;
|
||||||
extern void __init __deprecated at91_init_serial(struct at91_uart_config *config);
|
|
||||||
|
|
||||||
struct atmel_uart_data {
|
struct atmel_uart_data {
|
||||||
short use_dma_tx; /* use transmit DMA? */
|
short use_dma_tx; /* use transmit DMA? */
|
||||||
|
|
7
arch/arm/mach-at91/include/mach/stamp9g20.h
Normal file
7
arch/arm/mach-at91/include/mach/stamp9g20.h
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
#ifndef __MACH_STAMP9G20_H
|
||||||
|
#define __MACH_STAMP9G20_H
|
||||||
|
|
||||||
|
void stamp9g20_map_io(void);
|
||||||
|
void stamp9g20_board_init(void);
|
||||||
|
|
||||||
|
#endif
|
|
@ -22,4 +22,4 @@
|
||||||
* 0xe0000000 to 0xefffffff. This gives us 256 MB of vm space and handles
|
* 0xe0000000 to 0xefffffff. This gives us 256 MB of vm space and handles
|
||||||
* larger physical memory designs better.
|
* larger physical memory designs better.
|
||||||
*/
|
*/
|
||||||
#define VMALLOC_END 0xf0000000
|
#define VMALLOC_END 0xf0000000UL
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#define VMALLOC_END 0xd0000000
|
#define VMALLOC_END 0xd0000000UL
|
||||||
|
|
|
@ -369,7 +369,7 @@ static int __init cns3xxx_pcie_init(void)
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
hook_fault_code(16 + 6, cns3xxx_pcie_abort_handler, SIGBUS,
|
hook_fault_code(16 + 6, cns3xxx_pcie_abort_handler, SIGBUS, 0,
|
||||||
"imprecise external abort");
|
"imprecise external abort");
|
||||||
|
|
||||||
for (i = 0; i < ARRAY_SIZE(cns3xxx_pcie); i++) {
|
for (i = 0; i < ARRAY_SIZE(cns3xxx_pcie); i++) {
|
||||||
|
|
|
@ -359,8 +359,8 @@ static struct clk_lookup dm355_clks[] = {
|
||||||
CLK(NULL, "uart1", &uart1_clk),
|
CLK(NULL, "uart1", &uart1_clk),
|
||||||
CLK(NULL, "uart2", &uart2_clk),
|
CLK(NULL, "uart2", &uart2_clk),
|
||||||
CLK("i2c_davinci.1", NULL, &i2c_clk),
|
CLK("i2c_davinci.1", NULL, &i2c_clk),
|
||||||
CLK("davinci-asp.0", NULL, &asp0_clk),
|
CLK("davinci-mcbsp.0", NULL, &asp0_clk),
|
||||||
CLK("davinci-asp.1", NULL, &asp1_clk),
|
CLK("davinci-mcbsp.1", NULL, &asp1_clk),
|
||||||
CLK("davinci_mmc.0", NULL, &mmcsd0_clk),
|
CLK("davinci_mmc.0", NULL, &mmcsd0_clk),
|
||||||
CLK("davinci_mmc.1", NULL, &mmcsd1_clk),
|
CLK("davinci_mmc.1", NULL, &mmcsd1_clk),
|
||||||
CLK("spi_davinci.0", NULL, &spi0_clk),
|
CLK("spi_davinci.0", NULL, &spi0_clk),
|
||||||
|
@ -664,7 +664,7 @@ static struct resource dm355_asp1_resources[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device dm355_asp1_device = {
|
static struct platform_device dm355_asp1_device = {
|
||||||
.name = "davinci-asp",
|
.name = "davinci-mcbsp",
|
||||||
.id = 1,
|
.id = 1,
|
||||||
.num_resources = ARRAY_SIZE(dm355_asp1_resources),
|
.num_resources = ARRAY_SIZE(dm355_asp1_resources),
|
||||||
.resource = dm355_asp1_resources,
|
.resource = dm355_asp1_resources,
|
||||||
|
|
|
@ -459,7 +459,7 @@ static struct clk_lookup dm365_clks[] = {
|
||||||
CLK(NULL, "usb", &usb_clk),
|
CLK(NULL, "usb", &usb_clk),
|
||||||
CLK("davinci_emac.1", NULL, &emac_clk),
|
CLK("davinci_emac.1", NULL, &emac_clk),
|
||||||
CLK("davinci_voicecodec", NULL, &voicecodec_clk),
|
CLK("davinci_voicecodec", NULL, &voicecodec_clk),
|
||||||
CLK("davinci-asp.0", NULL, &asp0_clk),
|
CLK("davinci-mcbsp", NULL, &asp0_clk),
|
||||||
CLK(NULL, "rto", &rto_clk),
|
CLK(NULL, "rto", &rto_clk),
|
||||||
CLK(NULL, "mjcp", &mjcp_clk),
|
CLK(NULL, "mjcp", &mjcp_clk),
|
||||||
CLK(NULL, NULL, NULL),
|
CLK(NULL, NULL, NULL),
|
||||||
|
@ -922,8 +922,8 @@ static struct resource dm365_asp_resources[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device dm365_asp_device = {
|
static struct platform_device dm365_asp_device = {
|
||||||
.name = "davinci-asp",
|
.name = "davinci-mcbsp",
|
||||||
.id = 0,
|
.id = -1,
|
||||||
.num_resources = ARRAY_SIZE(dm365_asp_resources),
|
.num_resources = ARRAY_SIZE(dm365_asp_resources),
|
||||||
.resource = dm365_asp_resources,
|
.resource = dm365_asp_resources,
|
||||||
};
|
};
|
||||||
|
|
|
@ -302,7 +302,7 @@ static struct clk_lookup dm644x_clks[] = {
|
||||||
CLK("davinci_emac.1", NULL, &emac_clk),
|
CLK("davinci_emac.1", NULL, &emac_clk),
|
||||||
CLK("i2c_davinci.1", NULL, &i2c_clk),
|
CLK("i2c_davinci.1", NULL, &i2c_clk),
|
||||||
CLK("palm_bk3710", NULL, &ide_clk),
|
CLK("palm_bk3710", NULL, &ide_clk),
|
||||||
CLK("davinci-asp", NULL, &asp_clk),
|
CLK("davinci-mcbsp", NULL, &asp_clk),
|
||||||
CLK("davinci_mmc.0", NULL, &mmcsd_clk),
|
CLK("davinci_mmc.0", NULL, &mmcsd_clk),
|
||||||
CLK(NULL, "spi", &spi_clk),
|
CLK(NULL, "spi", &spi_clk),
|
||||||
CLK(NULL, "gpio", &gpio_clk),
|
CLK(NULL, "gpio", &gpio_clk),
|
||||||
|
@ -580,7 +580,7 @@ static struct resource dm644x_asp_resources[] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
static struct platform_device dm644x_asp_device = {
|
static struct platform_device dm644x_asp_device = {
|
||||||
.name = "davinci-asp",
|
.name = "davinci-mcbsp",
|
||||||
.id = -1,
|
.id = -1,
|
||||||
.num_resources = ARRAY_SIZE(dm644x_asp_resources),
|
.num_resources = ARRAY_SIZE(dm644x_asp_resources),
|
||||||
.resource = dm644x_asp_resources,
|
.resource = dm644x_asp_resources,
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
* it under the terms of the GNU General Public License version 2 as
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
* published by the Free Software Foundation.
|
* published by the Free Software Foundation.
|
||||||
*/
|
*/
|
||||||
#define VMALLOC_END 0xdf000000
|
#define VMALLOC_END 0xdf000000UL
|
||||||
|
|
|
@ -1,5 +1,13 @@
|
||||||
/*
|
/**
|
||||||
* arch/arm/mach-ep93xx/include/mach/dma.h
|
* DOC: EP93xx DMA M2P memory to peripheral and peripheral to memory engine
|
||||||
|
*
|
||||||
|
* The EP93xx DMA M2P subsystem handles DMA transfers between memory and
|
||||||
|
* peripherals. DMA M2P channels are available for audio, UARTs and IrDA.
|
||||||
|
* See chapter 10 of the EP93xx users guide for full details on the DMA M2P
|
||||||
|
* engine.
|
||||||
|
*
|
||||||
|
* See sound/soc/ep93xx/ep93xx-pcm.c for an example use of the DMA M2P code.
|
||||||
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __ASM_ARCH_DMA_H
|
#ifndef __ASM_ARCH_DMA_H
|
||||||
|
@ -8,12 +16,34 @@
|
||||||
#include <linux/list.h>
|
#include <linux/list.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct ep93xx_dma_buffer - Information about a buffer to be transferred
|
||||||
|
* using the DMA M2P engine
|
||||||
|
*
|
||||||
|
* @list: Entry in DMA buffer list
|
||||||
|
* @bus_addr: Physical address of the buffer
|
||||||
|
* @size: Size of the buffer in bytes
|
||||||
|
*/
|
||||||
struct ep93xx_dma_buffer {
|
struct ep93xx_dma_buffer {
|
||||||
struct list_head list;
|
struct list_head list;
|
||||||
u32 bus_addr;
|
u32 bus_addr;
|
||||||
u16 size;
|
u16 size;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* struct ep93xx_dma_m2p_client - Information about a DMA M2P client
|
||||||
|
*
|
||||||
|
* @name: Unique name for this client
|
||||||
|
* @flags: Client flags
|
||||||
|
* @cookie: User data to pass to callback functions
|
||||||
|
* @buffer_started: Non NULL function to call when a transfer is started.
|
||||||
|
* The arguments are the user data cookie and the DMA
|
||||||
|
* buffer which is starting.
|
||||||
|
* @buffer_finished: Non NULL function to call when a transfer is completed.
|
||||||
|
* The arguments are the user data cookie, the DMA buffer
|
||||||
|
* which has completed, and a boolean flag indicating if
|
||||||
|
* the transfer had an error.
|
||||||
|
*/
|
||||||
struct ep93xx_dma_m2p_client {
|
struct ep93xx_dma_m2p_client {
|
||||||
char *name;
|
char *name;
|
||||||
u8 flags;
|
u8 flags;
|
||||||
|
@ -24,10 +54,11 @@ struct ep93xx_dma_m2p_client {
|
||||||
struct ep93xx_dma_buffer *buf,
|
struct ep93xx_dma_buffer *buf,
|
||||||
int bytes, int error);
|
int bytes, int error);
|
||||||
|
|
||||||
/* Internal to the DMA code. */
|
/* private: Internal use only */
|
||||||
void *channel;
|
void *channel;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* DMA M2P ports */
|
||||||
#define EP93XX_DMA_M2P_PORT_I2S1 0x00
|
#define EP93XX_DMA_M2P_PORT_I2S1 0x00
|
||||||
#define EP93XX_DMA_M2P_PORT_I2S2 0x01
|
#define EP93XX_DMA_M2P_PORT_I2S2 0x01
|
||||||
#define EP93XX_DMA_M2P_PORT_AAC1 0x02
|
#define EP93XX_DMA_M2P_PORT_AAC1 0x02
|
||||||
|
@ -39,18 +70,80 @@ struct ep93xx_dma_m2p_client {
|
||||||
#define EP93XX_DMA_M2P_PORT_UART3 0x08
|
#define EP93XX_DMA_M2P_PORT_UART3 0x08
|
||||||
#define EP93XX_DMA_M2P_PORT_IRDA 0x09
|
#define EP93XX_DMA_M2P_PORT_IRDA 0x09
|
||||||
#define EP93XX_DMA_M2P_PORT_MASK 0x0f
|
#define EP93XX_DMA_M2P_PORT_MASK 0x0f
|
||||||
#define EP93XX_DMA_M2P_TX 0x00
|
|
||||||
#define EP93XX_DMA_M2P_RX 0x10
|
|
||||||
#define EP93XX_DMA_M2P_ABORT_ON_ERROR 0x20
|
|
||||||
#define EP93XX_DMA_M2P_IGNORE_ERROR 0x40
|
|
||||||
#define EP93XX_DMA_M2P_ERROR_MASK 0x60
|
|
||||||
|
|
||||||
int ep93xx_dma_m2p_client_register(struct ep93xx_dma_m2p_client *m2p);
|
/* DMA M2P client flags */
|
||||||
|
#define EP93XX_DMA_M2P_TX 0x00 /* Memory to peripheral */
|
||||||
|
#define EP93XX_DMA_M2P_RX 0x10 /* Peripheral to memory */
|
||||||
|
|
||||||
|
/*
|
||||||
|
* DMA M2P client error handling flags. See the EP93xx users guide
|
||||||
|
* documentation on the DMA M2P CONTROL register for more details
|
||||||
|
*/
|
||||||
|
#define EP93XX_DMA_M2P_ABORT_ON_ERROR 0x20 /* Abort on peripheral error */
|
||||||
|
#define EP93XX_DMA_M2P_IGNORE_ERROR 0x40 /* Ignore peripheral errors */
|
||||||
|
#define EP93XX_DMA_M2P_ERROR_MASK 0x60 /* Mask of error bits */
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ep93xx_dma_m2p_client_register - Register a client with the DMA M2P
|
||||||
|
* subsystem
|
||||||
|
*
|
||||||
|
* @m2p: Client information to register
|
||||||
|
* returns 0 on success
|
||||||
|
*
|
||||||
|
* The DMA M2P subsystem allocates a channel and an interrupt line for the DMA
|
||||||
|
* client
|
||||||
|
*/
|
||||||
|
int ep93xx_dma_m2p_client_register(struct ep93xx_dma_m2p_client *m2p);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ep93xx_dma_m2p_client_unregister - Unregister a client from the DMA M2P
|
||||||
|
* subsystem
|
||||||
|
*
|
||||||
|
* @m2p: Client to unregister
|
||||||
|
*
|
||||||
|
* Any transfers currently in progress will be completed in hardware, but
|
||||||
|
* ignored in software.
|
||||||
|
*/
|
||||||
void ep93xx_dma_m2p_client_unregister(struct ep93xx_dma_m2p_client *m2p);
|
void ep93xx_dma_m2p_client_unregister(struct ep93xx_dma_m2p_client *m2p);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ep93xx_dma_m2p_submit - Submit a DMA M2P transfer
|
||||||
|
*
|
||||||
|
* @m2p: DMA Client to submit the transfer on
|
||||||
|
* @buf: DMA Buffer to submit
|
||||||
|
*
|
||||||
|
* If the current or next transfer positions are free on the M2P client then
|
||||||
|
* the transfer is started immediately. If not, the transfer is added to the
|
||||||
|
* list of pending transfers. This function must not be called from the
|
||||||
|
* buffer_finished callback for an M2P channel.
|
||||||
|
*
|
||||||
|
*/
|
||||||
void ep93xx_dma_m2p_submit(struct ep93xx_dma_m2p_client *m2p,
|
void ep93xx_dma_m2p_submit(struct ep93xx_dma_m2p_client *m2p,
|
||||||
struct ep93xx_dma_buffer *buf);
|
struct ep93xx_dma_buffer *buf);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ep93xx_dma_m2p_submit_recursive - Put a DMA transfer on the pending list
|
||||||
|
* for an M2P channel
|
||||||
|
*
|
||||||
|
* @m2p: DMA Client to submit the transfer on
|
||||||
|
* @buf: DMA Buffer to submit
|
||||||
|
*
|
||||||
|
* This function must only be called from the buffer_finished callback for an
|
||||||
|
* M2P channel. It is commonly used to add the next transfer in a chained list
|
||||||
|
* of DMA transfers.
|
||||||
|
*/
|
||||||
void ep93xx_dma_m2p_submit_recursive(struct ep93xx_dma_m2p_client *m2p,
|
void ep93xx_dma_m2p_submit_recursive(struct ep93xx_dma_m2p_client *m2p,
|
||||||
struct ep93xx_dma_buffer *buf);
|
struct ep93xx_dma_buffer *buf);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* ep93xx_dma_m2p_flush - Flush all pending transfers on a DMA M2P client
|
||||||
|
*
|
||||||
|
* @m2p: DMA client to flush transfers on
|
||||||
|
*
|
||||||
|
* Any transfers currently in progress will be completed in hardware, but
|
||||||
|
* ignored in software.
|
||||||
|
*
|
||||||
|
*/
|
||||||
void ep93xx_dma_m2p_flush(struct ep93xx_dma_m2p_client *m2p);
|
void ep93xx_dma_m2p_flush(struct ep93xx_dma_m2p_client *m2p);
|
||||||
|
|
||||||
#endif /* __ASM_ARCH_DMA_H */
|
#endif /* __ASM_ARCH_DMA_H */
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
#define VMALLOC_END 0xf0000000
|
#define VMALLOC_END 0xf0000000UL
|
||||||
|
|
|
@ -5,6 +5,6 @@
|
||||||
#ifndef __ARCH_ARM_VMALLOC_H
|
#ifndef __ARCH_ARM_VMALLOC_H
|
||||||
#define __ARCH_ARM_VMALLOC_H
|
#define __ARCH_ARM_VMALLOC_H
|
||||||
|
|
||||||
#define VMALLOC_END 0xd0000000
|
#define VMALLOC_END 0xd0000000UL
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -250,9 +250,6 @@ static const struct imxuart_platform_data uart_pdata __initconst = {
|
||||||
.flags = IMXUART_HAVE_RTSCTS,
|
.flags = IMXUART_HAVE_RTSCTS,
|
||||||
};
|
};
|
||||||
|
|
||||||
#if defined(CONFIG_TOUCHSCREEN_ADS7846) \
|
|
||||||
|| defined(CONFIG_TOUCHSCREEN_ADS7846_MODULE)
|
|
||||||
|
|
||||||
#define ADS7846_PENDOWN (GPIO_PORTD | 25)
|
#define ADS7846_PENDOWN (GPIO_PORTD | 25)
|
||||||
|
|
||||||
static void ads7846_dev_init(void)
|
static void ads7846_dev_init(void)
|
||||||
|
@ -273,9 +270,7 @@ static struct ads7846_platform_data ads7846_config __initdata = {
|
||||||
.get_pendown_state = ads7846_get_pendown_state,
|
.get_pendown_state = ads7846_get_pendown_state,
|
||||||
.keep_vref_on = 1,
|
.keep_vref_on = 1,
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
#if defined(CONFIG_SPI_IMX) || defined(CONFIG_SPI_IMX_MODULE)
|
|
||||||
static struct spi_board_info eukrea_mbimx27_spi_board_info[] __initdata = {
|
static struct spi_board_info eukrea_mbimx27_spi_board_info[] __initdata = {
|
||||||
[0] = {
|
[0] = {
|
||||||
.modalias = "ads7846",
|
.modalias = "ads7846",
|
||||||
|
@ -294,7 +289,6 @@ static const struct spi_imx_master eukrea_mbimx27_spi0_data __initconst = {
|
||||||
.chipselect = eukrea_mbimx27_spi_cs,
|
.chipselect = eukrea_mbimx27_spi_cs,
|
||||||
.num_chipselect = ARRAY_SIZE(eukrea_mbimx27_spi_cs),
|
.num_chipselect = ARRAY_SIZE(eukrea_mbimx27_spi_cs),
|
||||||
};
|
};
|
||||||
#endif
|
|
||||||
|
|
||||||
static struct i2c_board_info eukrea_mbimx27_i2c_devices[] = {
|
static struct i2c_board_info eukrea_mbimx27_i2c_devices[] = {
|
||||||
{
|
{
|
||||||
|
|
|
@ -17,4 +17,4 @@
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
#define VMALLOC_END 0xd0000000
|
#define VMALLOC_END 0xd0000000UL
|
||||||
|
|
|
@ -854,10 +854,9 @@ int __init kirkwood_find_tclk(void)
|
||||||
|
|
||||||
kirkwood_pcie_id(&dev, &rev);
|
kirkwood_pcie_id(&dev, &rev);
|
||||||
|
|
||||||
if ((dev == MV88F6281_DEV_ID && (rev == MV88F6281_REV_A0 ||
|
if (dev == MV88F6281_DEV_ID || dev == MV88F6282_DEV_ID)
|
||||||
rev == MV88F6281_REV_A1)) ||
|
if (((readl(SAMPLE_AT_RESET) >> 21) & 1) == 0)
|
||||||
(dev == MV88F6282_DEV_ID))
|
return 200000000;
|
||||||
return 200000000;
|
|
||||||
|
|
||||||
return 166666667;
|
return 166666667;
|
||||||
}
|
}
|
||||||
|
|
|
@ -225,5 +225,5 @@ MACHINE_START(D2NET_V2, "LaCie d2 Network v2")
|
||||||
.init_machine = d2net_v2_init,
|
.init_machine = d2net_v2_init,
|
||||||
.map_io = kirkwood_map_io,
|
.map_io = kirkwood_map_io,
|
||||||
.init_irq = kirkwood_init_irq,
|
.init_irq = kirkwood_init_irq,
|
||||||
.timer = &lacie_v2_timer,
|
.timer = &kirkwood_timer,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|
|
@ -111,17 +111,3 @@ void __init lacie_v2_hdd_power_init(int hdd_num)
|
||||||
pr_err("Failed to power up HDD%d\n", i + 1);
|
pr_err("Failed to power up HDD%d\n", i + 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/*****************************************************************************
|
|
||||||
* Timer
|
|
||||||
****************************************************************************/
|
|
||||||
|
|
||||||
static void lacie_v2_timer_init(void)
|
|
||||||
{
|
|
||||||
kirkwood_tclk = 166666667;
|
|
||||||
orion_time_init(IRQ_KIRKWOOD_BRIDGE, kirkwood_tclk);
|
|
||||||
}
|
|
||||||
|
|
||||||
struct sys_timer lacie_v2_timer = {
|
|
||||||
.init = lacie_v2_timer_init,
|
|
||||||
};
|
|
||||||
|
|
|
@ -13,6 +13,4 @@ void lacie_v2_register_flash(void);
|
||||||
void lacie_v2_register_i2c_devices(void);
|
void lacie_v2_register_i2c_devices(void);
|
||||||
void lacie_v2_hdd_power_init(int hdd_num);
|
void lacie_v2_hdd_power_init(int hdd_num);
|
||||||
|
|
||||||
extern struct sys_timer lacie_v2_timer;
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -59,7 +59,7 @@ void __init kirkwood_mpp_conf(unsigned int *mpp_list)
|
||||||
}
|
}
|
||||||
printk("\n");
|
printk("\n");
|
||||||
|
|
||||||
while (*mpp_list) {
|
for ( ; *mpp_list; mpp_list++) {
|
||||||
unsigned int num = MPP_NUM(*mpp_list);
|
unsigned int num = MPP_NUM(*mpp_list);
|
||||||
unsigned int sel = MPP_SEL(*mpp_list);
|
unsigned int sel = MPP_SEL(*mpp_list);
|
||||||
int shift, gpio_mode;
|
int shift, gpio_mode;
|
||||||
|
@ -88,8 +88,6 @@ void __init kirkwood_mpp_conf(unsigned int *mpp_list)
|
||||||
if (sel != 0)
|
if (sel != 0)
|
||||||
gpio_mode = 0;
|
gpio_mode = 0;
|
||||||
orion_gpio_set_valid(num, gpio_mode);
|
orion_gpio_set_valid(num, gpio_mode);
|
||||||
|
|
||||||
mpp_list++;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
printk(KERN_DEBUG " final MPP regs:");
|
printk(KERN_DEBUG " final MPP regs:");
|
||||||
|
|
|
@ -262,7 +262,7 @@ MACHINE_START(NETSPACE_V2, "LaCie Network Space v2")
|
||||||
.init_machine = netspace_v2_init,
|
.init_machine = netspace_v2_init,
|
||||||
.map_io = kirkwood_map_io,
|
.map_io = kirkwood_map_io,
|
||||||
.init_irq = kirkwood_init_irq,
|
.init_irq = kirkwood_init_irq,
|
||||||
.timer = &lacie_v2_timer,
|
.timer = &kirkwood_timer,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -272,7 +272,7 @@ MACHINE_START(INETSPACE_V2, "LaCie Internet Space v2")
|
||||||
.init_machine = netspace_v2_init,
|
.init_machine = netspace_v2_init,
|
||||||
.map_io = kirkwood_map_io,
|
.map_io = kirkwood_map_io,
|
||||||
.init_irq = kirkwood_init_irq,
|
.init_irq = kirkwood_init_irq,
|
||||||
.timer = &lacie_v2_timer,
|
.timer = &kirkwood_timer,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -282,6 +282,6 @@ MACHINE_START(NETSPACE_MAX_V2, "LaCie Network Space Max v2")
|
||||||
.init_machine = netspace_v2_init,
|
.init_machine = netspace_v2_init,
|
||||||
.map_io = kirkwood_map_io,
|
.map_io = kirkwood_map_io,
|
||||||
.init_irq = kirkwood_init_irq,
|
.init_irq = kirkwood_init_irq,
|
||||||
.timer = &lacie_v2_timer,
|
.timer = &kirkwood_timer,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -403,7 +403,7 @@ MACHINE_START(NET2BIG_V2, "LaCie 2Big Network v2")
|
||||||
.init_machine = netxbig_v2_init,
|
.init_machine = netxbig_v2_init,
|
||||||
.map_io = kirkwood_map_io,
|
.map_io = kirkwood_map_io,
|
||||||
.init_irq = kirkwood_init_irq,
|
.init_irq = kirkwood_init_irq,
|
||||||
.timer = &lacie_v2_timer,
|
.timer = &kirkwood_timer,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -413,6 +413,6 @@ MACHINE_START(NET5BIG_V2, "LaCie 5Big Network v2")
|
||||||
.init_machine = netxbig_v2_init,
|
.init_machine = netxbig_v2_init,
|
||||||
.map_io = kirkwood_map_io,
|
.map_io = kirkwood_map_io,
|
||||||
.init_irq = kirkwood_init_irq,
|
.init_irq = kirkwood_init_irq,
|
||||||
.timer = &lacie_v2_timer,
|
.timer = &kirkwood_timer,
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -27,6 +27,10 @@
|
||||||
#include "mpp.h"
|
#include "mpp.h"
|
||||||
#include "tsx1x-common.h"
|
#include "tsx1x-common.h"
|
||||||
|
|
||||||
|
/* for the PCIe reset workaround */
|
||||||
|
#include <plat/pcie.h>
|
||||||
|
|
||||||
|
|
||||||
#define QNAP_TS41X_JUMPER_JP1 45
|
#define QNAP_TS41X_JUMPER_JP1 45
|
||||||
|
|
||||||
static struct i2c_board_info __initdata qnap_ts41x_i2c_rtc = {
|
static struct i2c_board_info __initdata qnap_ts41x_i2c_rtc = {
|
||||||
|
@ -140,8 +144,16 @@ static void __init qnap_ts41x_init(void)
|
||||||
|
|
||||||
static int __init ts41x_pci_init(void)
|
static int __init ts41x_pci_init(void)
|
||||||
{
|
{
|
||||||
if (machine_is_ts41x())
|
if (machine_is_ts41x()) {
|
||||||
|
/*
|
||||||
|
* Without this explicit reset, the PCIe SATA controller
|
||||||
|
* (Marvell 88sx7042/sata_mv) is known to stop working
|
||||||
|
* after a few minutes.
|
||||||
|
*/
|
||||||
|
orion_pcie_reset((void __iomem *)PCIE_VIRT_BASE);
|
||||||
|
|
||||||
kirkwood_pcie_init(KW_PCIE0);
|
kirkwood_pcie_init(KW_PCIE0);
|
||||||
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,8 @@ static inline int cpu_is_pxa910(void)
|
||||||
#ifdef CONFIG_CPU_MMP2
|
#ifdef CONFIG_CPU_MMP2
|
||||||
static inline int cpu_is_mmp2(void)
|
static inline int cpu_is_mmp2(void)
|
||||||
{
|
{
|
||||||
return (((cpu_readid_id() >> 8) & 0xff) == 0x58);
|
return (((read_cpuid_id() >> 8) & 0xff) == 0x58);
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
#define cpu_is_mmp2() (0)
|
#define cpu_is_mmp2() (0)
|
||||||
#endif
|
#endif
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Reference in a new issue