02 Apr, 2013
1 commit
-
'bool' is defined in random places. This patch consolidates them into a
single header file include/linux/types.h, using stdbool.h introduced in C99.All other #define, typedef and enum are removed. They are all consistent with
true = 1, false = 0.Replace FALSE, False with false. Replace TRUE, True with true.
Skip *.py, *.php, lib/* files.Signed-off-by: York Sun
31 Mar, 2013
1 commit
29 Mar, 2013
7 commits
-
After merging LCD patches for v2013.04 the bcm2835 video
driver building is broken due to removal of many global
variables. Fix the driver.Signed-off-by: Anatolij Gustschin
Cc: Stephen Warren -
Conflicts:
drivers/video/MakefileSigned-off-by: Anatolij Gustschin
-
* default bootmenu entries:
attached kernel, internal eMMC memory, external SD card,
u-boot boot order* in CONFIG_PREBOOT try load bootmenu.scr from first partition
of internal eMMC memory (also known as MyDocs) which (should)
overwrite default bootmenu entries* when keyboard slide is closed boot first menu entry
* when keyborad slide is open show bootmenu
Signed-off-by: Pali Rohár
Signed-off-by: Anatolij Gustschin -
The "bootmenu" command uses U-Boot menu interfaces and provides
a simple mechanism for creating menus with several boot items.
When running this command the menu will be assembled as defined
by a set of environment variables which contain a title and
command key-value pairs. The "Up" and "Down" keys are used for
navigation through the items. Current active menu item is
highlighted and can be selected using the "Enter" key.The command interprets and generates various ANSI escape
sequencies, so for proper menu rendering and item selection
the used terminal should support them.Signed-off-by: Pali Rohár
[agust: various fixes and documentation updates]
Signed-off-by: Anatolij Gustschin -
Checking the default menu item and obtaining its data can
be useful in custom menu code. Export menu_default_choice()
function which serves this purpose.Signed-off-by: Anatolij Gustschin
-
Selecting menu items is currently done in menu_interactive_choice()
by reading the user input strings from standard input.Extend menu_interactive_choice() to support user defined function
for selecting menu items. This function and its argument can be
specified when creating the menu.Signed-off-by: Pali Rohár
Signed-off-by: Anatolij Gustschin -
Conflicts:
drivers/spi/tegra20_sflash.c
include/fdtdec.h
lib/fdtdec.c
28 Mar, 2013
11 commits
-
The _start symbol is already relocated, so do not add the relocation the second
time in c_runtime_cpu_setup.This fixes e.g. the abort exception handling path, which ended in double fault
due to bad address in VBAR.Signed-off-by: Vincent Stehlé
Reported-by: Lubomir Popov -
The 'XN' execute never bit is set in the pagetables. This will
prevent speculative prefetches to non executable regions. But the
domain permissions are set as master in the DACR register.
So the pagetable attribute for 'XN' is not effective. Change the
permissions to client.This fixes lot of speculative prefetch aborts seen on OMAP5
secure devices.Signed-off-by: R Sricharan
Tested-by: Vincent Stehle
Cc: Vincent Stehle
Cc: Tom Rini
Cc: Albert ARIBAUD -
Introduce a weak version of dram_bank_setup function
to allow a platform specific function.This is used in the subsequent patch to setup dram region
without 'XN' attribute in order to enable the region
under client permissions.Signed-off-by: R Sricharan
Cc: Vincent Stehle
Cc: Tom Rini
Cc: Albert ARIBAUD -
We declare the set_section_dcache function globally in the cache header, for
later use by e.g. machine specific code.Signed-off-by: Vincent Stehlé ti.com>
Cc: Tom Rini ti.com>
Cc: Albert ARIBAUD -
As I am no longer working for Bluegiga I will pass apx4devkit maintenance
to Lauri.Signed-off-by: Veli-Pekka Peltola
Acked-by: Lauri Hintsala -
Signed-off-by: Steven Stallion
Cc: Tom Rini
Reviewed-by: Tom Rini -
The ext4write command was taking the in-memory address and filename path
in reverse order from the rest of the filesystem read and write
commands. This corrects the order to be the same as fatload, etc.Signed-off-by: Tom Rini
-
usleep_range() is a Linux facility, ignore it when udelay()
is encountered.Signed-off-by: Matt Porter
-
While the kernel mainly uses pr_debug(...), etc, for debug messages, we
use debug(...). Add this to the list of logFunctions so that they are
correctly checked (and not warned against) for long string literals.Signed-off-by: Tom Rini
-
This is not called outside of env_callback.c so mark static, remove from
Cc: Joe Hershberger
Signed-off-by: Tom Rini
Acked-by: Joe Hershberger -
This allows:
MAKEALL -s tegra
to replace:
MAKEALL -s tegra20 -s tegra30 -s tegra114
The following also works:
MAKEALL -s tegra -s omap
Signed-off-by: Stephen Warren
26 Mar, 2013
19 commits
-
Tested on my Dalmore E1611 board, eMMC and SD-Card work fine, can load
a kernel off of an SD card OK, card detect works, and the env is now
stored in eMMC (end of the 2nd 'boot' sector, same as Tegra20/30).Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
T114 requires SD bus power-rail bringup for the SDIO card on SDMMC3.
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
SDIO1 (the SD-card slot on Dalmore) needs to have its pads setup
before the MMC driver is added.Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Took these values directly from the kernel dts files.
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Turn on SPI in dalmore config file
Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Add driver for tegra114 SPI controller. This controller is not
compatible with either the tegra20 or tegra30 controllers, so it
requires a new driver.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Dalmore has a SPI flash part attached to controller 4, so enable
controller 4 and set to 25MHz.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Add nodes for t114 SPI controller hardware
Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Add node for apbdma controller hardware.
Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Add "nvidia,tegra114-spi" to represent t114 SPI controller hardware.
Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Add support for Winbond W25Q32DW 32Mbit part
Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Add a common interface to fdt based SPI drivers. Each driver is
represented by a table entry in fdt_spi_drivers[]. If there are
multiple SPI drivers in the table, the first driver to return success
from spi_init() will be registered as the SPI driver.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Make the tegra20 SPI driver similar to the tegra30 (and soon to be
tegra114) SPI drivers in preparation of common fdt SPI driver front
end.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Move register structs from headers into .c files and use common name.
This is in preparation of making common fdt front end for SPI
drivers.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Remove non fdt support from tegra20 and tegra30 SPI drivers in
preparation of new common fdt based SPI driver front end.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
Rename tegra SPI drivers to tegra20_flash and tegra20_slink in
preparation for commonization and addition of tegra114_spi.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren -
This feature was only used for tegra20 seaboard that had a pinmux
conflict on the SPI pins. These boards were never manufactured, so
remove this support to clean up SPI driver.Signed-off-by: Allen Martin
Signed-off-by: Tom Warren
Reviewed-by: Stephen Warren
25 Mar, 2013
1 commit