- 13 11月, 2015 40 次提交
-
-
由 Francois Retief 提交于
Update the LEON2/3 serial driver to make use of the readl and writel macros as well as the WATCHDOG_RESET() macro. Add readl/writel and friends to the asm/io.h file. Introduce the gd->arch.uart variable to store register address. Lastly, remove baudrate scaler macro variables from board config. It is now calculated in the serial driver using the global data variable. Signed-off-by: NFrancois Retief <fgretief@spaceteq.co.za>
-
由 Francois Retief 提交于
Signed-off-by: NFrancois Retief <fgretief@spaceteq.co.za>
-
由 Francois Retief 提交于
Signed-off-by: NFrancois Retief <fgretief@spaceteq.co.za>
-
由 Francois Retief 提交于
Fixes broken search and replaced license changes in files cpu/leon3/start.S and include/asm/winmacro.h from commit 1a459660Signed-off-by: NFrancois Retief <fgretief@spaceteq.co.za> Series-to: u-boot Series-cc: Tom Rini <trini@konsulko.com> Series-version: 2 Cover-letter: sparc: Updates to SPARC architecture in preperation for generic board This patch series is a backlog of preparation work for upcomming generic board changes. I first want to get these reviewed and submitted to mainline before sending out more patches. END
-
由 Fabio Estevam 提交于
Prior to commit 5ba534d2 ("arm: Switch 32-bit ARM to using generic global_data setup") we used to have assembly code that configured the malloc_base address. Since this commit we use the board_init_f_mem() function in C to setup malloc_base address. In board_init_f_mem() there was a deliberate choice to support only early malloc() or full malloc() in SPL, but not both. Adapt this logic to allow both to be used, one after the other, in SPL. This issue has been observed in a Congatec board, where we need to retrieve the manufacturing information from the SPI NOR (the SPI API calls malloc) prior to configuring the DRAM. In this case as malloc_base was not configured we always see malloc to fail. With this change we are able to use malloc in SPL prior to DRAM gets initialized. Also update the CONFIG_SYS_SPL_MALLOC_START entry in the README file. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
-
由 Vignesh R 提交于
This adds support to update firmware on qspi flash present on am437x-sk-evm and am43xx-epos-evm via DFU. On device: => setenv dfu_alt_info ${dfu_alt_info_qspi} => dfu 0 sf 0:0 On host: $ sudo dfu-util -l $ sudo dfu-util -D u-boot.bin -a u-boot.bin Signed-off-by: NVignesh R <vigneshr@ti.com>
-
由 Michal Simek 提交于
CONFIG_OF_EMBED=y is the option which is here only for testing purpose and shouldn't be enabled by default as is describe at: "dts: Add a comment about CONFIG_OF_EMBED being for local use" (sha1: 3d3f60cb) But still enabling this option locally shouldn't end up with compilation error when you build SPL. This patch fix it. Compilation error: lib/built-in.o: In function `fdtdec_setup': /mnt/disk/u-boot/lib/fdtdec.c:1246: undefined reference to `__dtb_dt_begin' Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Reported-by: NTom Rini <trini@konsulko.com> Reviewed-by: NTom Rini <trini@konsulko.com> Reviewed-by: NSimon Glass <sjg@chromium.org>
-
由 Guillaume REMBERT 提交于
Dear u-boot community, I just made a small change on the openrisc-generic platform configuration to take in account the new naming convention (or1k instead of or32, so the build process gets fine). Could you take care to review and approve the following patch, please? Kind regards,
-
由 Andy Fleming 提交于
Looks like one spot got missed. Probably due to the backslash. Signed-off-by: NAndy Fleming <afleming@gmail.com>
-
由 Vincent BENOIT 提交于
-> Add National instrument ethernet transceiver configuration used (DP83848) -> Change cpsw slave phy address -> modify nand configuration to use the correct ECC and correct nand features
-
由 Fabio Estevam 提交于
CONFIG_AHCI_SETFEATURES_XFER is not selected by any user, so delete the dead code. Signed-off-by: NFabio Estevam <fabio.estevam@freescale.com> Reviewed-by: NBin Meng <bmeng.cn@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Peng Fan 提交于
get_clocks is wrapped by CONFIG_FSL_CLK and CONFIG_M68K in seperate piece code. They can be merged into one snippet. Signed-off-by: NPeng Fan <Peng.Fan@freescale.com> Cc: Tom Rini <trini@konsulko.com> Cc: Simon Glass <sjg@chromium.org> Cc: Bin Meng <bmeng.cn@gmail.com> Cc: Alexey Brodkin <abrodkin@synopsys.com> Cc: "angelo@sysam.it" <angelo@sysam.it> Cc: Daniel Schwierzeck <daniel.schwierzeck@gmail.com> Cc: Stephen Warren <swarren@nvidia.com> Cc: "Andreas Bießmann" <andreas.devel@googlemail.com> Reviewed-by: NSimon Glass <sjg@chromium.org> Acked-by: NAngelo Dureghello <angelo@sysam.it>
-
由 Matwey V. Kornilov 提交于
CONFIG_BOOTDELAY is defined in config_distro_defaults.h Signed-off-by: NMatwey V. Kornilov <matwey.kornilov@gmail.com> [trini: Drop omap3_logic.h settings which were a warning and no longer correct usage]. Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Dirk Eibach 提交于
By reading 2 consecutive bytes from i2c to an u16 value we have an endianess issue. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
Since busses are sorted in alphabetical order, introducing more than nine busses led to unexpected behaviour. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
osdsize adjusts the gdsys IHS osd dimensions in characters. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
hrcon DH(dual head) has two video outputs per FPGA. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
- i2c addresses for the videoboard port expanders were wrong. - the fpga reset signal was not initialized. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
The strider platform moved some generic code into ioep-fpga.c. Make use of that on hrcon platform. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
The gdsys strider board is based on a Freescale MPC8308 SOC. It boots from NOR-Flash, kernel and rootfs are stored on SD-Card. On board peripherals include: - 1x 10/100 Mbit/s Ethernet (optional) - Lattice ECP3 FPGA connected via eLBC Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> [trini: Drop setting CONFIG_SYS_GENERIC_BOARD, this is always true now] Signed-off-by: NTom Rini <trini@konsulko.com>
-
由 Dirk Eibach 提交于
hrcon has no CH7301 DVI-transmitter. Probably not removed when copying from iocon. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Reinhard Pfau 提交于
- Reset FPGAs in last_stage_init() Signed-off-by: NReinhard Pfau <pfau@gdsys.de> Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
Support dlvision-10g hardware with displayport output. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
DP501 only supports DP 1.1a. Limit settings for link bandwidth and lane count to values allowed by DP 1.1a. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc>
-
由 Dirk Eibach 提交于
With Club 3D dual link adapter there are AUX-channel timeouts when EDID is read. Increasing retry interval time to max (400us) fixes this. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Dirk Eibach 提交于
Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Reviewed-by: NHeiko Schocher <hs@denx.de>
-
由 Dirk Eibach 提交于
Bus has to be held for repeated start regardless of read/write access. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Dirk Eibach 提交于
Reinhard Pfau complained that macros in ihs_i2c do not follow best practices. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Dirk Eibach 提交于
Support two i2c masters per FPGA. Signed-off-by: NDirk Eibach <dirk.eibach@gdsys.cc> Acked-by: NHeiko Schocher <hs@denx.de>
-
由 Prabhakar Kushwaha 提交于
Fix below warnings happening for xilinx_zynqmp_ep_defconfig drivers/net/zynq_gem.c: In function ‘zynq_gem_init’: drivers/net/zynq_gem.c:330:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] ((u32)(priv->rxbuffers) + ^ In file included from drivers/net/zynq_gem.c:19:0: drivers/net/zynq_gem.c:336:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writel((u32)priv->rx_bd, ®s->rxqbase); ^ ./arch/arm/include/asm/io.h:146:34: note: in definition of macro ‘writel’ #define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; }) ^ drivers/net/zynq_gem.c: In function ‘zynq_gem_send’: drivers/net/zynq_gem.c:399:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] writel((u32)priv->tx_bd, ®s->txqbase); ^ ./arch/arm/include/asm/io.h:146:34: note: in definition of macro ‘writel’ #define writel(v,c) ({ u32 __v = v; __iowmb(); __arch_putl(__v,c); __v; }) ^ drivers/net/zynq_gem.c:404:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] priv->tx_bd->addr = (u32)ptr; ^ drivers/net/zynq_gem.c:409:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] addr = (u32) ptr; ^ drivers/net/zynq_gem.c:414:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] addr = (u32)priv->rxbuffers; ^ drivers/net/zynq_gem.c: In function ‘zynq_gem_recv’: drivers/net/zynq_gem.c:454:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] net_process_received_packet((u8 *)addr, frame_len); ^ drivers/net/zynq_gem.c: In function ‘zynq_gem_initialize’: drivers/net/zynq_gem.c:533:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] priv->rx_bd = (struct emac_bd *)((u32)bd_space + BD_SEPRN_SPACE); ^ drivers/net/zynq_gem.c:533:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] priv->rx_bd = (struct emac_bd *)((u32)bd_space + BD_SEPRN_SPACE); Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
-
由 Prabhakar Kushwaha 提交于
Fix below compilation warings happening for hikey_defconfig drivers/usb/eth/smsc95xx.c:698:56: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] debug("** %s(), len %d, buf %#x\n", __func__, length, (int)msg); ^ include/common.h:109:26: note: in definition of macro ‘debug_cond’ printf(pr_fmt(fmt), ##args); \ ^ drivers/usb/eth/smsc95xx.c:698:2: note: in expansion of macro ‘debug’ debug("** %s(), len %d, buf %#x\n", __func__, length, (int)msg); ^ drivers/usb/eth/smsc95xx.c:718:2: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] debug("Tx: len = %u, actual = %u, err = %d\n", ^ drivers/usb/eth/smsc95xx.c: In function ‘smsc95xx_recv’: drivers/usb/eth/smsc95xx.c:802:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_buf_align = (int)buf_ptr - (int)recv_buf; ^ drivers/usb/eth/smsc95xx.c:802:34: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cur_buf_align = (int)buf_ptr - (int)recv_buf; Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
-
由 Prabhakar Kushwaha 提交于
Fix below compilation warings happening for hikey_defconfig drivers/mmc/dw_mmc.c: In function ‘dwmci_set_idma_desc’: drivers/mmc/dw_mmc.c:43:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] desc->next_addr = (unsigned int)desc + sizeof(struct dwmci_idmac); ^ drivers/mmc/dw_mmc.c: In function ‘dwmci_prepare_data’: drivers/mmc/dw_mmc.c:61:35: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] dwmci_writel(host, DWMCI_DBADDR, (unsigned int)cur_idmac); ^ drivers/mmc/dw_mmc.c:73:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (u32)bounce_buffer + (i * PAGE_SIZE)); ^ CC drivers/mmc/hi6220_dw_mmc.o drivers/mmc/hi6220_dw_mmc.c: In function ‘hi6220_dwmci_add_port’: drivers/mmc/hi6220_dw_mmc.c:51:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] host->ioaddr = (void *)regbase; Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
-
由 Prabhakar Kushwaha 提交于
Fix below compilation warnings- drivers/gpio/hi6220_gpio.c: In function ‘hi6220_gpio_probe’: drivers/gpio/hi6220_gpio.c:82:15: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bank->base = (u8 *)plat->base; Signed-off-by: NPrabhakar Kushwaha <prabhakar@freescale.com>
-
由 Siarhei Siamashka 提交于
This fixes compilation problems when using a hardfloat toolchain on ARM, which manifest themselves as "libgcc.a(_udivmoddi4.o) uses VFP register arguments, u-boot does not". These problems have been reported in the U-Boot mailing list: http://lists.denx.de/pipermail/u-boot/2015-October/230314.html http://lists.denx.de/pipermail/u-boot/2015-October/231908.htmlSigned-off-by: NSiarhei Siamashka <siarhei.siamashka@gmail.com> Reviewed-by: NTom Rini <trini@konsulko.com>
-
由 Patrick Delaunay 提交于
short strings can be used in type parameter of gpt command to replace the guid string for the types known by u-boot partitions = name=boot,size=0x6bc00,type=data; \ name=root,size=0x7538ba00,type=linux; gpt write mmc 0 $partitions and they are also used to display the type of partition in "part list" command Partition Map for MMC device 0 -- Partition Type: EFI Part Start LBA End LBA Name Attributes Type GUID Partition GUID 1 0x00000022 0x0000037f "boot" attrs: 0x0000000000000000 type: ebd0a0a2-b9e5-4433-87c0-68b6b72699c7 type: data guid: d117f98e-6f2c-d04b-a5b2-331a19f91cb2 2 0x00000380 0x003a9fdc "root" attrs: 0x0000000000000000 type: 0fc63daf-8483-4772-8e79-3d69d8477de4 type: linux guid: 25718777-d0ad-7443-9e60-02cb591c9737 Signed-off-by: NPatrick Delaunay <patrick.delaunay73@gmail.com>
-
由 Patrick Delaunay 提交于
code under flag CONFIG_PARTITION_TYPE_GUID add parameter "type" to select partition type guid example of use with gpt command : partitions = uuid_disk=${uuid_gpt_disk}; \ name=boot,size=0x6bc00,uuid=${uuid_gpt_boot}; \ name=root,size=0x7538ba00,uuid=${uuid_gpt_root}, \ type=0fc63daf-8483-4772-8e79-3d69d8477de4; gpt write mmc 0 $partitions Signed-off-by: NPatrick Delaunay <patrick.delaunay73@gmail.com>
-