]>
git.ipfire.org Git - thirdparty/u-boot.git/log
Siva Durga Prasad Paladugu [Wed, 15 Apr 2015 06:18:48 +0000 (11:48 +0530)]
zynqmp: Add SPI driver support for ZynqMP
Added the SPI driver support for ZynqMP
The controller is same as zynq SPI controller
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Wed, 15 Apr 2015 06:18:49 +0000 (11:48 +0530)]
zynq: spi: Remove unnecessary error condition
Removed the unnecessary error check from spi_xfer
as the bitlen zero is possible now to deassert the
chip select for which no data is required to be transfered.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 25 Mar 2015 12:55:38 +0000 (13:55 +0100)]
zynq: Enable GPIO driver and GPIO commands
Use new gpio driver on Zynq.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Andrea Scian [Fri, 20 Mar 2015 15:00:25 +0000 (16:00 +0100)]
gpio: add Xilinx Zynq PS GPIO driver
Most of the code is taken (and adapted) from Linux kernel driver.
Just add CONFIG_ZYNQ_GPIO to you config to enable it
Signed-off-by: Andrea Scian <andrea.scian@dave.eu>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 25 Mar 2015 12:42:27 +0000 (13:42 +0100)]
Revert "gpio: zynq: Add dummy gpio routines"
This reverts commit
84515165da1dd21171b7d6042f07b2af210849b5 .
Not needed at all now.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Wed, 25 Mar 2015 09:58:04 +0000 (15:28 +0530)]
zynqmp: Change the sd auto boot command
Change the sd auto boot command to use environment
variable and decide the env variabale as per
platform
This patch will be reverted when qemu starts to use
the right image.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Wed, 25 Mar 2015 10:02:31 +0000 (15:32 +0530)]
zynqmp: Add eMMC boot support
Add eMMc boot support for ZynqMP
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 24 Mar 2015 07:38:26 +0000 (13:08 +0530)]
nand: arasan_nfc: Handle oob required in read and write
Handle oob required in nand read and write cases. This
handles case updating oob or reading the oob during the
write and read operations respectively.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Jeremy Herbert [Tue, 10 Mar 2015 03:00:55 +0000 (20:00 -0700)]
zynq: Load environment variables at preboot for SD
Try to load environment variables from uEnv.txt at preboot for SD card
boot.
Signed-off-by: Jeremy Herbert <jeremy.006@gmail.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Radhey Shyam Pandey [Thu, 12 Mar 2015 09:17:31 +0000 (14:47 +0530)]
net: gem: Set mac address in init sequence
Keep enetaddr and mac hw address in sync.
In default config mismatch in received frame
dest address and mac hw address results
in drop of unicast frames.
This patch will be reverted when mainline version
fix this in the core that's why it is just temporary
solution for now.
http://lists.denx.de/pipermail/u-boot/2015-March/208211.html
Signed-off-by: Radhey Shyam Pandey <radheys@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 17 Mar 2015 15:53:07 +0000 (21:23 +0530)]
sf: sf_probe: Get bank selection irrespective of qspi mode
Get the current bank selection irrespective of qspi mode
from the flash device. This solves issue of erase, read and
write to wrong bank.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 13 Mar 2015 12:13:49 +0000 (17:43 +0530)]
zynqmp: Enable FS_GENERIC option
Provide an option to write filesystem independend commands.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 13 Mar 2015 12:13:49 +0000 (17:43 +0530)]
zynqmp: Modify the sd autoboot command
Use kernel_addr to load Image.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 13 Mar 2015 12:13:48 +0000 (17:43 +0530)]
zyqnmp: Modify the qspi auto boot command
Modify the qspi autoboot command to use
env varibale kernel_addr
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 13 Mar 2015 05:40:26 +0000 (11:10 +0530)]
zynqmp: Modify the SD and QSPI bootmode values
Modify the SD bootmode value to 0x3 as per latest
spec. Also add new boot mode QSPI 32 bit boot mode
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 13 Mar 2015 07:29:41 +0000 (12:59 +0530)]
nand: arasan_nfc: Clear the command and program registers
Clear the command and program registers as they might be
held up in the state setup by earlier bootloaders.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 13 Mar 2015 05:25:05 +0000 (10:55 +0530)]
nand: arasan_nfc: Clear addr cycles before filling
Clear the address cycles before filling it so that
the correct address cycles would be sent.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 Mar 2015 13:01:37 +0000 (14:01 +0100)]
nand: Rename nand ZYNQMP config string to Arasan one
Just to be align with others drivers.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 10 Mar 2015 12:06:24 +0000 (13:06 +0100)]
Merge branch 'zynqmp/master' into master
Merge ZynqMP branch to main xilinx U-Boot repository
and use only ona repo from now.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 10 Mar 2015 07:25:55 +0000 (12:55 +0530)]
zynqmp: Enable multiprocessor control and elf commands
Enable multiprocessor control and elf commands for ZynqMP
Also define an environment variable autostart for ZynqMP
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 10 Mar 2015 07:25:54 +0000 (12:55 +0530)]
common: cmd_elf: Add support to disable start of application
Added support to disable the start of application by using
a environment variable autostart
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 10 Mar 2015 07:25:53 +0000 (12:55 +0530)]
zynqmp: cpu: Add support to control multiple cores
This patch adds the functionlity of CPUs boot
manipulation, reset and release for ZynqMP
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Thu, 5 Mar 2015 15:46:00 +0000 (21:16 +0530)]
zynqmp: nand: Add nand boot mode support
Add nand bootmode support to perform autoboot of
Linux in nand bootmode for ZynqMP
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 9 Mar 2015 09:24:28 +0000 (10:24 +0100)]
zynqmp: Add missing header for get_uart_clk
This patch remove compilation warning:
arch/arm/cpu/armv8/zynqmp/clk.c:14:15: warning: symbol 'get_uart_clk'
was not declared. Should it be static?
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 9 Mar 2015 09:21:15 +0000 (10:21 +0100)]
zynqmp: Remove unknown escape char
Remove this warning:
include/configs/xilinx_zynqmp.h:138:67: warning: Unknown escape '$'
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 9 Feb 2015 13:00:16 +0000 (14:00 +0100)]
zynqmp: Add sata_root command
For setting up rootfs to sata please make sure
that cpio image is not used. Command line is setup
automatically.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 3 Mar 2015 09:31:44 +0000 (15:01 +0530)]
zynqmp: i2c: Enable i2c driver for zynqMP
Enable the i2c driver for ZynqMP
Also enable the eeprom for read and writes
to eeprom on ZynqMP
ZynqMP uses the same i2c controller as in Zynq
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 3 Mar 2015 09:09:43 +0000 (10:09 +0100)]
zynqmp: Clean coding style in config file
No functional changes.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 27 Feb 2015 09:32:18 +0000 (15:02 +0530)]
zynqmp: Enable Nand driver support for zynqmp
Enable Nand driver support for ZynqMP
It uses the arasan nand flash controller
Also increased the malloc size as per nand
driver requirement
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 27 Feb 2015 09:32:17 +0000 (15:02 +0530)]
mtd: nand: Increase max sizes of OOB and Page size
Increase max sizes for OOB, Page size and eccpos to
suit for Micron MT29F32G08 part
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 27 Feb 2015 09:32:16 +0000 (15:02 +0530)]
arasan: nfc: Add initial nand driver support for Xilinx ZynqMP
Added initial nand driver support for arasan nand flash
controller. This supports nand erase, nand read, nand write
This uses the hardware ECC for read and write operations
ZynqMP uses this driver.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Sat, 28 Feb 2015 07:15:05 +0000 (12:45 +0530)]
zynqmp: qspi: Remove the old legacy qspi driver
Removed the old legacy zynqmpqspi driver as the
latest zynqmp qspi driver is available.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Sat, 28 Feb 2015 07:15:04 +0000 (12:45 +0530)]
zynqmp: qspi: Switch from zynqmp legacy qspi to generic qspi
Switch from zynqmp legacy qspi to generic qspi as the zynqmp
has new qspi driver available.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 3 Mar 2015 18:39:50 +0000 (00:09 +0530)]
sf: set stripe flag while erasing incase of dual parallel
Set stripe flag while erasing incase of dual parallel
configurations. This enables sending erase commands to
both the flash parts separately.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Sat, 28 Feb 2015 07:15:03 +0000 (12:45 +0530)]
sf: Changes to support generic qspi
Changes to support generic qspi controller
in handling two separate requests and responses
from two spi flash devices in dual parallel
configuration.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Sat, 28 Feb 2015 07:15:02 +0000 (12:45 +0530)]
zynqmp: qspi: Added zynqmp generic qspi driver support
Added generic qspi driver support for zynqmp platform
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Sat, 28 Feb 2015 07:15:01 +0000 (12:45 +0530)]
zynqmp: qspi: Renamed zynqmp_qspi to zynqmp_legacy_qspi
Renamed zynqmp_qspi to zynqmp_legacy_qspi so that the qspi
functionality didnt break with any of the zynqmp generic
qspi patch series.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Mon, 2 Feb 2015 09:19:59 +0000 (14:49 +0530)]
sf: Correct the macros as per new array fast read command
Correct the macros as per insertion of array fast read
command
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 3 Mar 2015 04:19:24 +0000 (09:49 +0530)]
zynqmp: mmu: Correct the mmu table to cover the last 2MB
Correct the MMU table to cover the last 2MB with its
respective memory attributes. The last 2MB was missing
from MMU table as per earlier patches.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Mon, 2 Mar 2015 10:33:46 +0000 (16:03 +0530)]
zynq: slcr: Disable all level shifters
Disable all level shifters before enabling
the PS-to-PL level shifters as it would
be good to disable all level shifters before
enabling the PS-to-PL in order to ensure that
it is in proper state
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Fri, 20 Feb 2015 12:14:20 +0000 (17:44 +0530)]
zynq: nand: Send address cycles as per onfi parameter page
Send address cycles as per value read from onfi parameter
page for Read and write commands instead of using a
hard coded value. This may vary for different parts and
hence use it from onfi parameter page value.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 10:44:49 +0000 (11:44 +0100)]
net: Unify netread on arm64
Fix compilation warning and use proper types.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 25 Feb 2015 13:32:29 +0000 (14:32 +0100)]
zynqmp: Fix compilation warning around missing sata header
Warning:
board/xilinx/zynqmp/zynqmp.c: In function ‘scsi_init’:
board/xilinx/zynqmp/zynqmp.c:57:2: warning: implicit declaration of
function ‘ahci_init’ [-Wimplicit-function-declaration]
ahci_init(ZYNQMP_SATA_BASEADDR);
^
board/xilinx/zynqmp/zynqmp.c:58:2: warning: implicit declaration of
function ‘scsi_scan’ [-Wimplicit-function-declaration]
scsi_scan(1);
^
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 25 Feb 2015 13:17:29 +0000 (14:17 +0100)]
arm: Use more accurate types introduced in mainline
"ARM: cache-cp15: Use more accurate types"
(sha1:
25026fa9f16dd5f9182b47f76ce5043cb35da3f4 )
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 25 Feb 2015 12:56:13 +0000 (13:56 +0100)]
qspi: Move zynqmp QSPI driver to separate file
This driver comes from zynq_qspi.c driver but
this zynqmp_qspi.c driver will be replaced by different
one that's why this patch is just preparation for easier
merge.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 12 Feb 2015 11:57:06 +0000 (12:57 +0100)]
zynqmp: Remove hello message from preboot
Reported-by: Nathan Rossi <nrossi@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 12 Feb 2015 11:55:18 +0000 (12:55 +0100)]
zynqmp: Fix xen command which contains too many blank chars
Just consmetical change.
Wrong output:
xen=tftpb $fdt_addr system.dtb && fdt addr $fdt_addr && fdt resize &&
tftpb 0x80000 Image && fdt set /chosen/dom0 reg <0x80000
0x$filesize> && tftpb
6000000 xen.ub && bootm
6000000 -
$fdt_addr
Correct one:
xen=tftpb $fdt_addr system.dtb && fdt addr $fdt_addr && fdt resize &&
tftpb 0x80000 Image && fdt set /chosen/dom0 reg <0x80000 0x$filesize> &&
tftpb
6000000 xen.ub && bootm
6000000 - $fdt_addr
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 9 Feb 2015 12:57:10 +0000 (13:57 +0100)]
zynqmp: Start to use fdt_addr instead of hardcoded values
- Also move it to higher location because of bigger rootfs.
- Veloce bootup script needs to be changed to reflect
this new FDT location.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Mon, 9 Feb 2015 09:56:01 +0000 (10:56 +0100)]
zynqmp: Enable support for SATA
Add minimum SATA support for ZynqMP.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 3 Feb 2015 12:18:44 +0000 (17:48 +0530)]
sf: Added support for spansion S25FS family
Added support for spansion S25FS family
This can be determined by reading the 6th
byte of Read ID command response
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Wed, 4 Feb 2015 07:20:35 +0000 (12:50 +0530)]
sf: Add support for spansion S25FL132K ans S25FL164K
Added support for spansion S25FL132K and S25FL164K QSPI
parts
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Mon, 2 Feb 2015 09:19:59 +0000 (14:49 +0530)]
sf: Correct the macros as per new array fast read command
Correct the macros as per insertion of array fast read
command
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 27 Jan 2015 10:57:48 +0000 (16:27 +0530)]
zynq: Add support for ISSI flash parts in zynq
Add support for ISSI QSPI flash parts support
in zynq.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 27 Jan 2015 10:57:47 +0000 (16:27 +0530)]
sf: Add support for ISSI flash parts
Added support for ISSI flash parts IS25LP032,
IS25LP064 and IS25LP128.
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 28 Jan 2015 10:13:48 +0000 (11:13 +0100)]
zynqmp: Add DOM0 register size calculation by default
Update dom0 size to cover dynamic case where size of
rootfs is changing at run time.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Fri, 12 Sep 2014 06:33:24 +0000 (08:33 +0200)]
zynqmp: Add xen boot command
Enable easy way how to run xen.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 20 Jan 2015 10:14:29 +0000 (15:44 +0530)]
zynq: nand: Modify address cycles for Spansion S34ML01G
Modify the address cycles for Spansion S34ML01G as per datasheet
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 15:11:47 +0000 (16:11 +0100)]
mmc: zynq: Use phys_addr_t for addresses
phys_addr_t is designed for physical addresses.
Use it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 7 Jan 2015 14:00:47 +0000 (15:00 +0100)]
serial: Extend structure comments with register offset
This information help with debugging issues with uart.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 14:44:21 +0000 (15:44 +0100)]
net: gem: Use phys_addr_t instead of int for addresses
Use phys_addr_t for physical address declaration.
It is also unsigned type instead of sign.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 14:58:23 +0000 (15:58 +0100)]
net: Declare physical address as phys_addr_t unsigned type
Use phys_addr_t instead of int for addresses.
Addresses can't be < 0.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 15:22:14 +0000 (16:22 +0100)]
zynq: Indentation fix in config file
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 14:50:35 +0000 (15:50 +0100)]
ARM: zynq: Remove duplicated clk.h header
clk.h was added by:
"Merge tag 'v2014.04' into xilinx/master-next"
(sha1:
8ffced95b73a3bfa080ecc63261a9c6de3f2fe45 )
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 14:34:50 +0000 (15:34 +0100)]
zynq: Revert ancient hack about clearing pending IRQs
This change was introduced by:
"Xilinx: ARM: making u-boot match FSBL for zc770"
(sha1:
1aaeba69a6c070119cae312539eebb60030f6a6e )
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 14:26:50 +0000 (15:26 +0100)]
ARM: lib: Revert ARM core changes
These chagnes have been done in:
"Merge tag 'v2013.07' into xilinx/master-next"
(sha1:
6978377d4b022d7fd9a8c6f720ebc2e5daaeb173 )
Boot process looks good now that's why revert this
patch.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 09:56:17 +0000 (10:56 +0100)]
spi: zynq_qspi: Remove compilation warning caused by min macro
This should be the part of:
"zynq_qspi.c: Set correct frequency regardless of hardware setting"
(sha1:
879358544f7aee5d94c37d2a78622a4b783b8198 )
Compilation warning:
In file included from include/common.h:26:0,
from drivers/spi/zynq_qspi.c:9:
drivers/spi/zynq_qspi.c: In function 'spi_setup_slave':
include/linux/kernel.h:155:17: warning: comparison of distinct pointer
types lacks a cast [enabled by default]
(void) (&_min1 == &_min2); \
^
drivers/spi/zynq_qspi.c:822:28: note: in expansion of macro 'min'
qspi->qspi.max_speed_hz = min(max_hz, lqspi_frequency);
^
In file included from include/common.h:26:0,
from drivers/spi/zynq_qspi.c:9:
drivers/spi/zynq_qspi.c: In function 'spi_setup_slave':
include/linux/kernel.h:155:17: warning: comparison of distinct pointer
types lacks a cast [enabled by default]
(void) (&_min1 == &_min2); \
^
drivers/spi/zynq_qspi.c:822:28: note: in expansion of macro 'min'
qspi->qspi.max_speed_hz = min(max_hz, lqspi_frequency);
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 09:59:52 +0000 (10:59 +0100)]
mtd: spi: Return 0 instead of NULL
This patch remove warning:
drivers/mtd/spi/sf_probe.c: In function 'spi_flash_validate_params':
drivers/mtd/spi/sf_probe.c:215:4: warning: return makes integer from
pointer without a cast [enabled by default]
return NULL;
^
drivers/mtd/spi/sf_probe.c:223:5: warning: return makes integer from
pointer without a cast [enabled by default]
return NULL;
^
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 09:27:31 +0000 (10:27 +0100)]
fpga: Remove BIT_COMPRESSED from fpga.h
Compressed bitstreams are full or partial and current
fpga command is able to handle compressed bitstreams
by default that's why no enum value is needed for it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 09:19:59 +0000 (10:19 +0100)]
Merge tag 'v2015.01' into master
Add AFX/CSE board support - Kconfig entry, defconfigs
Add RSA Kconfig entry and targets for it
Add zc770-xm011 and zynq-cc108 DTBs from the Linux kernel
Sync zynq-7000.dtsi with the Linux kernel.
Use spl_load_image_fat for bitstream loading in SPL.
Disable CONFIG_OF_CONTROL for all zynq boards.
Nand:
- Fix zynq_nand_read_subpage_raw parameters.
- Remove nand.h from sys_proto.h and move it zynq_nand.c
- Do not call nand_release(). Removed by:
"mtd, ubi, ubifs: resync with Linux-3.14"
(sha1:
ff94bc40af3481d47546595ba73c136de6af6929 )
QSPI:
- spi_flash_params has been moved from spi_flash.h
to sf_internal.h - fix zynq_qspi.c driver to reflect this.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 10:37:21 +0000 (11:37 +0100)]
zynqmp: Unify console I/O Buffer size with Zynq
The reason for using bigger value is user configuration with
scripts on SD.
Also unification with Zynq.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 10:36:57 +0000 (11:36 +0100)]
zynqmp: Use predefined memory addresses
Better to use macros instead of hardcoded values.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 10:31:23 +0000 (11:31 +0100)]
zynqmp: Get rid of XILINX_ZYNQMP and use CONFIG_TARGET_XILINX_ZYNQMP
CONFIG_TARGET_XILINX_ZYNQMP is Kconfig entry which
is better to use.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 10:11:18 +0000 (11:11 +0100)]
zynqmp: Fix checkpatch warnings in config file
Cleanup coding style.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 09:59:15 +0000 (10:59 +0100)]
zynqmp: Remove extern prototypes from sys_proto.h
Checkpatch Warnings:
CHECK: extern prototypes should be avoided in .h files
+extern int zynq_sdhci_init(unsigned long regbase);
CHECK: extern prototypes should be avoided in .h files
+extern unsigned int zynqmp_get_silicon_version(void);
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 10:01:55 +0000 (11:01 +0100)]
zynqmp: slcr: Fix qspi block indentation
Coding style cleanup.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 09:42:28 +0000 (10:42 +0100)]
zynqmp: Update Copyrights with 2015 date
Be prepare for mainline submission.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 09:35:13 +0000 (10:35 +0100)]
zynqmp: Fix coding style violation in board zynqmp.c
Trivial fix.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 09:28:59 +0000 (10:28 +0100)]
zynqmp: Remove csu reg structure
It is completely unused now.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Thu, 15 Jan 2015 08:58:58 +0000 (09:58 +0100)]
MAINTAINERS: Add fragment for ZynqMP
Prepare for mainline submission.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 16:06:19 +0000 (17:06 +0100)]
zynqmp: Enable TIME and TIMER commands
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 15:43:14 +0000 (16:43 +0100)]
zynqmp: Enable options via defconfig
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 15:11:47 +0000 (16:11 +0100)]
mmc: zynq: Use phys_addr_t for addresses
phys_addr_t is designed for physical addresses.
Use it.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 15:22:28 +0000 (16:22 +0100)]
mmc: zynq: Remove unused hardware.h header
It is completely unused.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Tue, 13 Jan 2015 09:59:52 +0000 (10:59 +0100)]
mtd: spi: Return 0 instead of NULL
This patch remove warning:
drivers/mtd/spi/sf_probe.c: In function 'spi_flash_validate_params':
drivers/mtd/spi/sf_probe.c:215:4: warning: return makes integer from
pointer without a cast [enabled by default]
return NULL;
^
drivers/mtd/spi/sf_probe.c:223:5: warning: return makes integer from
pointer without a cast [enabled by default]
return NULL;
^
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Michal Simek [Wed, 14 Jan 2015 11:38:43 +0000 (12:38 +0100)]
Merge tag 'v2015.01' into zynqmp/master
Do version upgrade.
Add sf_internal.h file to zynq_qspi.
Add zynqmp line to arch/arm/cpu/armv8/Makefile.
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Siva Durga Prasad Paladugu [Tue, 13 Jan 2015 09:25:47 +0000 (14:55 +0530)]
armv8: caches: Disable dcache after flush
Always disable dcache after the flush operation
The following sequence is advisable while disabling d-cache:
1. disable_dcache() - flushes and disables d-cache
2. invalidate_dcache_all() - invalid any entry that came to the cache
in the short period after the cache was flushed but before the
cache got disabled
Signed-off-by: Siva Durga Prasad Paladugu <sivadur@xilinx.com>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
Tom Rini [Mon, 12 Jan 2015 14:39:08 +0000 (09:39 -0500)]
Prepare v2015.01
Signed-off-by: Tom Rini <trini@ti.com>
Pali Rohár [Thu, 8 Jan 2015 09:11:40 +0000 (10:11 +0100)]
Nokia RX-51: Do not call secure PPA routine on non secure devices
Since commit
41623c91b09a0c865fab41acdaff30f060f29ad6 u-boot running in qemu is
crashing in function do_omap3_emu_romcode_call(). RX-51 board uses this function
for Cortex-A8 errata 430973 workaround (Set IBE bit in ACR) which is needed only
on real secure device and not in qemu.
This board patch just disable calling secure PPA routine on non secure devices.
Qemu implements GP device and with this patch u-boot is working in qemu again.
Signed-off-by: Pali Rohár <pali.rohar@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Peter Tyser [Fri, 9 Jan 2015 21:42:51 +0000 (15:42 -0600)]
powerpc: xes: Add maintainer
Add Peter Tyser as the maintainer of Extreme Engineering Solutions products.
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
John Schmoller [Fri, 9 Jan 2015 21:42:50 +0000 (15:42 -0600)]
powerpc: xes: Convert to generic board
Convert Extreme Engineering Solutions products to use generic board
support.
Signed-off-by: John Schmoller <jschmoller@xes-inc.com>
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Masahiro Yamada [Fri, 19 Dec 2014 05:27:13 +0000 (14:27 +0900)]
ARM: remove redudant information from Kconfig files
- "string" type for SYS_* is defined in arch/Kconfig
- SYS_CPU "armv7" has been replaced with "select CPU_V7"
- SYS_SOC "tegra124" is already defined in tegra124/Kconfig
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Acked-by: Bo Shen <voice.shen@atmel.com>
Masahiro Yamada [Fri, 19 Dec 2014 05:20:58 +0000 (14:20 +0900)]
omap: beagle_x15: add MAINTAINERS
Commit
1e4ad74b875f (beagle_x15: add board support for Beagle x15)
missed to add board/ti/beagle_x15/MAINTAINERS.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Felipe Balbi <balbi@ti.com>
Masahiro Yamada [Fri, 19 Dec 2014 05:19:07 +0000 (14:19 +0900)]
stv0991: record defconfig ownership in MAINTAINERS
This commit fixes warnings reported by tools/genboardscfg.py.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Vikas Manocha <vikas.manocha@st.com>
Acked-by: Vikas Manocha <vikas.manocha@st.com>
Stefan Herbrechtsmeier [Sun, 28 Dec 2014 13:09:51 +0000 (14:09 +0100)]
ARM: kirkwood: dns325: Add generic board support
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Stefan Herbrechtsmeier [Sun, 28 Dec 2014 13:09:50 +0000 (14:09 +0100)]
Change e-mail address of Stefan Herbrechtsmeier
Signed-off-by: Stefan Herbrechtsmeier <stefan@herbrechtsmeier.net>
Kevin Hilman [Mon, 15 Dec 2014 20:07:52 +0000 (12:07 -0800)]
common/board_f.c: fix compile error when tracing disabled
When CONFIG_TRACE is disabled, linking fails with:
common/built-in.o:(.data.init_sequence_f+0x8): undefined reference to `trace_early_init'
To fix, wrap trace init calls with #ifdef CONFIG_TRACE.
While at it, remove the static inline version of the init call from
trace.h as suggested by Simon Glass, since it doesnt work.
Cc: Simon Glass <sjg@chromium.org>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Kevin Hilman <khilman@linaro.org>
Acked-by: Simon Glass <sjg@chromium.org>
Andreas Bießmann [Fri, 24 Oct 2014 21:25:52 +0000 (23:25 +0200)]
tools/kwbimage.c: fix parser error handling
The two error checks for image_boot_mode_id and image_nand_ecc_mode_id where
wrong and would never fail, fix that!
This was detected by Apple's clang compiler:
---8<---
HOSTCC tools/kwbimage.o
tools/kwbimage.c:553:20: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (el->bootfrom < 0) {
~~~~~~~~~~~~ ^ ~
tools/kwbimage.c:571:23: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]
if (el->nandeccmode < 0) {
~~~~~~~~~~~~~~~ ^ ~
2 warnings generated.
--->8---
Signed-off-by: Andreas Bießmann <andreas.devel@googlemail.com>
Acked-By: Jeroen Hofstee <jeroen@myspectrum.nl>
Bo Shen [Thu, 8 Jan 2015 07:20:13 +0000 (15:20 +0800)]
ARM: atmel: sama5d3xek: fix the LCD parameters
Remove unused vsync parameter, and correct the include file.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Bo Shen [Thu, 8 Jan 2015 07:20:12 +0000 (15:20 +0800)]
ARM: atmel: sama5d4xek: fix the LCD parameters
Remove unused vsync parameter, and correct the include file.
Signed-off-by: Bo Shen <voice.shen@atmel.com>
Bo Shen [Thu, 8 Jan 2015 07:20:11 +0000 (15:20 +0800)]
ARM: atmel: sama5d4 xplained: fix the LCD parameters
Correct the LCD pixel clock, remove unused vsync parameter,
and also correct the include file.
Signed-off-by: Bo Shen <voice.shen@atmel.com>