- Feb 07, 2014
-
-
Tom Rini authored
The open and close mmc sub-commands implement a hard-coded set of values specific to the SMDK5250 platform. Remove these commands as what they did can be done instead with a series of mmc dev / bootpart / bootbus commands instead now. Cc: Amar <amarendra.xt@samsung.com> Cc: Minkyu Kang <mk7.kang@samsung.com> Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Tom Rini authored
Add a bootbus sub-command to the mmc command to allow for setting the boot_bus_width, reset_boot_bus_width and boot_mode fields of BOOT_BUS_WIDTH (EXT_CSD[177]). Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Tom Rini authored
Add a partconf sub-command to the mmc command to allow for setting the boot_ack, boot_partition and partition_access fields of PARTITION_CONFIG (formerly BOOT_CONFIG, EXT_CSD[179]). Part of this requires changing the check for 'part' from an strncmp to a strcmp, like the rest of the sub-commands. Cc: Andy Fleming <afleming@gmail.com> Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Tom Rini authored
Rename 'bootpart' to 'bootpart-resize' to better reflect what this command is for. Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Tom Rini authored
Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Tom Rini authored
We use the switch CONFIG_SUPPORT_EMMC_BOOT today to enable some additional features of the eMMC boot partitions. Add support for being told that we have booted from one of these partitions to the spl framework and implement this on TI OMAP/related. Cc: Pantelis Antoniou <panto@antoniou-consulting.com> Signed-off-by:
Tom Rini <trini@ti.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Siva Durga Prasad Paladugu authored
As per the below commit "mmc: sdhci: add the quirk for broken r1b response" (sha1: 3a638320) need to add quirk SDHCI_QUIRK_BROKEN_R1B, when the response type is R1b. Signed-off-by:
Siva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Jagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Rajeshwari Shinde authored
This patch corrects the divider value written to CLKDIV register. Since SDCLKIN is divided inside controller by the DIVRATIO value set in the CLKSEL register, we need to use the same output clock value to calculate the CLKDIV value. as per user manual: cclk_in = SDCLKIN / (DIVRATIO + 1) Input parameter to mmc_clk is changed to dwmci_host, since we need the same to read DWMCI_CLKSEL register. This improves the read timing values for channel 0 on SMDK5250 from 0.288sec to 0.144sec Signed-off-by:
Rajeshwari S Shinde <rajeshwari.s@samsung.com> Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
Stephen Warren authored
U-Boot currently sets MMC cards' RCA register to 0. This value is reserved according to the specification. Use a value of 1 instead, just like the Linux kernel. Signed-off-by:
Stephen Warren <swarren@nvidia.com> Acked-by:
Jaehoon Chung <jh80.chung@samsung.com> Signed-off-by:
Pantelis Antoniou <panto@antoniou-consulting.com>
-
- Feb 06, 2014
-
-
Tom Rini authored
With e0059eae switching to using SZ_1K, we need to #include <asm/sizes.h> here for everyone to build still. Signed-off-by:
Tom Rini <trini@ti.com>
-
Michal Simek authored
Just extend tables with this new device. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Novasys Ingenierie authored
When ARCH_DMA_MINALIGN is greater than header size of the bit file, and buf is not aligned, new_buf address became greater then buf_start address and the load_word loop corrupts bit file data. A work around is to decrease new_buf of ARCH_DMA_MINALIGN, it might corrupt data before buf but permits to load correctly. Signed-off-by:
Stany MARCEL <smarcel@novasys-ingenierie.com> Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Marek Vasut authored
The mv_udc is not marvell-specific anymore. The mv_udc is used to drive generic ChipIdea CI13xxx series OTG cores, so rename the driver to ci_udc instead. Signed-off-by:
Marek Vasut <marex@denx.de> Cc: Eric Nelson <eric.nelson@boundarydevices.com> Cc: Stefano Babic <sbabic@denx.de>
-
Łukasz Majewski authored
Apparently debug memset (with a 0x55 value) has been overlooked in the f_thor code. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Łukasz Majewski authored
Now it is possible to allocate static request - which receives data from the host (OUT transaction) to the size of THOR packet. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Łukasz Majewski authored
The Samsung's UDC driver is not anymore copying data from USB requests to aligned internal buffers. Now it works directly in data allocated in the upper layers like UMS, DFU, THOR. This change is possible since those gadgets now must take care to allocate buffers aligned to cache line (CONFIG_SYS_CACHELINE_SIZE). This can be achieved by using DEFINE_CACHE_ALIGN_BUFFER() or ALLOC_CACHE_ALIGN_BUFFER() macros. Those take care to allocate buffer aligned to cache line in both starting address and its size. Sometimes it is enough to just use memalign() with size being a multiplication of cache line size. Test condition - test HW + measurement: Trats - Exynos4210 rev.1 - test HW Trats2 - Exynos4412 rev.1 400 MiB compressed rootfs image download with `thor 0 mmc 0` Measurement: Transmission speed: 27.04 MiB/s Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Łukasz Majewski authored
This patch removed obscure restriction on the HW setting of DMA transfers. Before this change each transaction sent up to 512 bytes (with packet count equal to 1) for non EP0 transfer. Now it is possible to setup DMA transaction up to DMA_BUFFER_SIZE. Test condition - test HW + measurement: Trats - Exynos4210 rev.1 - test HW Trats2 - Exynos4412 rev.1 400 MiB compressed rootfs image download with `thor 0 mmc 0` Measurement: Transmission speed: 20.74 MiB/s Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Łukasz Majewski authored
A set of cache operations (both invalidation and flush) were redundant in the S3C HS OTG Samsung driver: 1. s3c_udc_ep0_zlp - to transmit EP0's ZLP packets one don't need to flush the cache (since it is the zero length transmission) 2. s3c_udc_pre_setup and s3c_ep0_complete_out - cache invalidation is not needed when the buffer for OUT EP0 transmission is setup, since no data has yet arrived. Cache cleanups presented above don't contribute much to transmission speed up, hence shall be regarded as cosmetic changes. 3. setdma_rx - here the s3c UDC driver's internal buffers were invalidated. This call is not needed anymore since we reuse the buffers passed from gadgets. This is a key contribution to transmission speed improvement. Test condition - test HW + measurement: Trats - Exynos4210 rev.1 - test HW Trats2 - Exynos4412 rev.1 400 MiB compressed rootfs image download with `thor 0 mmc 0` Measurements: Base values (without improvement): Transmission speed: 9.51 MiB/s After the change: Transmission speed: 10.15 MiB/s Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
Łukasz Majewski authored
Calls to malloc() have been replaced by memalign. It now provides proper buffer alignment. Signed-off-by:
Lukasz Majewski <l.majewski@samsung.com> Cc: Marek Vasut <marex@denx.de>
-
- Feb 05, 2014
-
-
Tom Rini authored
Signed-off-by:
Tom Rini <trini@ti.com>
-
- Feb 04, 2014
-
-
Dennis Gilmore authored
describe a set of default features that distros can rely on being available. having this common definition means that distros can easily support systems implementing them. Signed-off-by:
Dennis Gilmore <dennis@ausil.us>
-
Dennis Gilmore authored
Signed-off-by:
Dennis Gilmore <dennis@ausil.us>
-
git://git.denx.de/u-boot-mpc85xxTom Rini authored
-
Stephen Warren authored
People who write (or scripts that auto-generate) extlinux.conf don't want to know about HW-specific information such as FDT filenames. Create a new extlinux.conf tag "fdtdir" that specifies only the directory where FDT files are located, and defer all knowledge of the filename to U-Boot. The algorithm implemented is: ========== if $fdt_addr_r is set: if "fdt" tag was specified in extlinux.conf: load the FDT from the filename in the tag else if "fdtdir" tag was specified in extlinux.conf: if "fdtfile" is set in the environment: load the FDT from filename in "$fdtfile" else: load the FDT from some automatically generated filename if no FDT file was loaded, and $fdtaddr is set: # This indicates an FDT packaged with firmware use the FDT at $fdtaddr ========== A small part of an example /boot/extlinux.conf might be: ========== LABEL primary LINUX zImage FDTDIR ./ LABEL failsafe LINUX bkp/zImage FDTDIR bkp/ ========== ... with /boot/tegra20-seaboard.dtb or /boot/bkp/tegra20-seaboard.dtb being loaded by the sysboot/pxe code. Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Stephen Warren authored
The specification for extlinux.conf[1] states that "fdt" is an alias for "devicetree". To date, U-Boot only implements "fdt". Rectify that. [1] http://freedesktop.org/wiki/Specifications/BootLoaderSpec/ Signed-off-by:
Stephen Warren <swarren@nvidia.com>
-
Michal Simek authored
Just to be sure that there is no pending data. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
As tsec and fm drivers checking phydev->link ensure that u-boot don't try access device if link is not ready. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Add support for U-BOOT SPL. NOR and RAM mode are supported. There are 3 images in NOR flash. u-boot.img, dtb and kernel. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
It speeds up writing a lot. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Just list one more exception. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
It is nice to see u-boot version. Signed-off-by:
Michal Simek <michal.simek@xilinx.com>
-
Michal Simek authored
Command provides just dump subcommand for showing clock frequencies in a soc. Signed-off-by:
Michal Simek <michal.simek@xilinx.com> Acked-by:
Stefano Babic <sbabic@denx.de>
-
- Feb 03, 2014
-
-
Prabhakar Kushwaha authored
IFC registers can be of type Little Endian or big Endian depending upon Freescale SoC. Here SoC defines the register type of IFC IP. So update acessor functions with common IFC acessor functions to take care both type of endianness. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Acked-by:
York Sun <yorksun@freescale.com>
-
Valentin Longchamp authored
The PEXHC PCIe configuration mechanism ensures that the FPGA get configured at power-up. Since all the PCIe devices should be configured when the kernel start, u-boot has to take care that the FPGA gets configured also in other reset scenarios, mostly because of possible configuration change. The used mechanism is taken from the km_kirkwood design and adapted to the kmp204x case (slightly different HW and PCIe configuration). Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-
Valentin Longchamp authored
The new prototype and the final series was moved from Micron to Spansion to have a better reset sequence that is easier to support. Signed-off-by:
Valentin Longchamp <valentin.longchamp@keymile.com> Reviewed-by:
York Sun <yorksun@freescale.com>
-