History log of /arch/microblaze/include/asm/cpuinfo.h
Revision Date Author Comments
c1120542b99a67a620cd8a298975d76dca5a13f0 18-Dec-2013 Michal Simek <michal.simek@xilinx.com> microblaze: Add support for CCF

Add support for CCF for Microblaze.

Old binding:
system_timer: system-timer@41c00000 {
clock-frequency = <75000000>;
...
}

New binding:
system_timer: system-timer@41c00000 {
clocks = <&clk_bus>;
...
}

Both should be supported for a while

Microblaze clock binding:
clocks {
#address-cells = <1>;
#size-cells = <0>;
clk_bus: bus {
#clock-cells = <0>;
clock-frequency = <75000000>;
clock-output-names = "bus";
compatible = "fixed-clock";
reg = <1>;
} ;
clk_cpu: cpu {
#clock-cells = <0>;
clock-frequency = <75000000>;
clock-output-names = "cpu";
compatible = "fixed-clock";
reg = <0>;
} ;
} ;

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
21ecc1f1d2e01ddbd75c3db208236628474a43e1 07-Jan-2014 Michal Simek <michal.simek@xilinx.com> microblaze: Simplify fcpu helper function

Use of_property_read_u32() instead of all of_get_property
with big endian conversion.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
8904976e8ca45be3ec75acc71f5d855ef671a079 24-May-2011 John A. Williams <john.williams@petalogix.com> microblaze: Unprivileged stream instruction awareness

Add cpuinfo support for the new MicroBlaze option permitting userspace
(unprivileged) access to the streaming instructions (FSL / AXI-stream).

Emit a noisy warning at bootup if this is enabled, because bad user code
can potentially lockup the CPU.

Signed-off-by: John A. Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>
8afe3839a993beda2ebc119c0a545dcc5baecc08 07-Feb-2011 Michal Simek <monstr@monstr.eu> microblaze: Fix sparse warning - cpuinfo.h

Warning log:
CHECK arch/microblaze/kernel/cpu/cpuinfo-static.c
arch/microblaze/include/asm/cpuinfo.h:101:21: warning: incorrect type in argument 1 (different signedness)
arch/microblaze/include/asm/cpuinfo.h:101:21: expected unsigned int const [usertype] *p
arch/microblaze/include/asm/cpuinfo.h:101:21: got int *[assigned] val
...

Signed-off-by: Michal Simek <monstr@monstr.eu>
ccea0e6e49e4db8ee7968c183ecddb3e399c5f54 07-Oct-2010 Michal Simek <monstr@monstr.eu> microblaze: Support timer on AXI lite

New microblaze systems uses two buses. One for memories
and flashes and the second for low-speed peripherals
which can run on different CLK. This is the reason
why the kernel is trying to read clock-frequency
directly from node. If there is then the kernel will
work with it. If not then cpu CLK is used.

Signed-off-by: Michal Simek <monstr@monstr.eu>
02b08045a0306c38131c6d7155c4034a775d40b1 28-Sep-2010 Michal Simek <monstr@monstr.eu> microblaze: Add support for little-endian Microblaze

Microblaze little-endian toolchain exports __MICROBLAZEEL__
which is used in the kernel to identify little/big endian.

The most of the changes are in loading values from DTB which
is always big endian.

Little endian platforms are based on new AXI bus which has
impact to early uartlite initialization.

Signed-off-by: Michal Simek <monstr@monstr.eu>
8e2ad016b20f98790d5995aae1d157d1613ab9e6 13-Aug-2010 Michal Simek <monstr@monstr.eu> microblaze: Add PVR for endians plus detection

Upcomming microblaze version will support little-endian.

Signed-off-by: Michal Simek <monstr@monstr.eu>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
e051af576a414b6fcfe6589e99b2357522718050 14-Oct-2009 Michal Simek <monstr@monstr.eu> microblaze: Extend cpuinfo for support write-back caches

There is missing checking agains PVR but this is not important
for now. There are some missing checking too.

Signed-off-by: Michal Simek <monstr@monstr.eu>
44e4e196a9b3a703ebe273ffe3fb6cda326fe5d3 08-Oct-2009 Michal Simek <monstr@monstr.eu> microblaze: Fix cache_line_lenght

We used cache_line as cache_line_lenght. For this reason
we did cache flushing 4 times longer than was necessary.

Signed-off-by: Michal Simek <monstr@monstr.eu>
406107dacde125346c313d34534eed937eb25444 27-Mar-2009 Michal Simek <monstr@monstr.eu> microblaze_v8: Cpuinfo handling

Reviewed-by: Ingo Molnar <mingo@elte.hu>
Acked-by: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>
Acked-by: John Linn <john.linn@xilinx.com>
Acked-by: John Williams <john.williams@petalogix.com>
Signed-off-by: Michal Simek <monstr@monstr.eu>