- 19 2月, 2014 1 次提交
-
-
由 Stephen Warren 提交于
This enables generic filesystem commands such as load and ls, which automatically work with multiple filesystem types, without having to be told which is present, unlike e.g. ext2load, fatls. Signed-off-by: NStephen Warren <swarren@nvidia.com>
-
- 18 2月, 2014 3 次提交
-
-
- 14 2月, 2014 2 次提交
-
-
由 Stephen Warren 提交于
Typo: The correct value is 1 not 2. Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Gerlando Falauto 提交于
KMSUGP1 is from a u-boot perspective (almost) identical to KMNUSA. The only difference is that the PCIe reset is connected to Kirkwood pin MPP7_PEX_RST_OUTn, we use a dedicated config flag KM_PCIE_RESET_MPP7. Such pin should theoretically be handled by the PCIe subsystem automatically, but this turned out not to be the case. So simply configure this PIN as a GPIO and issue a pulse manually. Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Cc: Karlheinz Jerg <karlheinz.jerg@keymile.com> Cc: Valentin Longchamp <valenting.longchamp@keymile.com> Cc: Holger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
- 13 2月, 2014 13 次提交
-
-
由 Gerlando Falauto 提交于
Add set_fdthigh subcommand to "subbootcmds" (release) so to set "fdt_high" This is necessary on Kirkwood so that the FDT does not get relocated above the memory limit that the kernel cannot access (that is the memory part reserved for the switch). This was tested on NUSA1, where it is necessary, and on ETER1, where it doesn't seem to hurt. We want the scripts to also work with older versions of u-boot, where: a) set_fdthigh is not defined (will be default env for newer u-boots) b) the fdt will not be available For this reason, we use "set_fdthigh" to tell whether we are running a newer (FDT-aware) u-boot or not. So if "set_fdthigh" runs successfully or arch != arm we try loading the fdt; otherwise we proceed normally. Notice how, contrary to release mode, set_fdthigh will _not_ be part of subbootcmds for develop and ramfs, but will be executed as part of "tftpfdt". Since this is only needed for kirkwood cards, and it prevents the kernel from booting on QorIQ (though it seemed to work on ETER1), we change its definition in the default env for powerpc so that the value is only set on ARM. Signed-off-by: NValentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
由 Gerlando Falauto 提交于
This consists of: a) Defining the addresses, enabling fdtsupport [arm] b) Defining "cramfsloadfdt" [arm,powerpc => common] c) Adding the FDT address to bootm [arm,powerpc => common] d) Defining "tftpfdt" in ramfs-,develop- [arm,powerpc >= common] This should work with 3.10 kernels, whether loaded through TFTP (with rootfs either through NFS or TFTP-ramfs) or from the NAND. The machid was left unchanged, this should keep compatibility with both older and newer kernels. Signed-off-by: NValentin Longchamp <valentin.longchamp@keymile.com> Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
由 Holger Brunck 提交于
miiphy_read and miiphy_write are returning 0 on success. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
由 Holger Brunck 提交于
This is needed for board specific additional environment variables. E.g. the mgcoge3un has this additional "waitforne" variable. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
由 Holger Brunck 提交于
We now use 256MB RAM instead of 128MB. We can use the same config file as kmnusa. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
由 Holger Brunck 提交于
Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
由 Holger Brunck 提交于
CONFIG_BOOTCOUNT_LIMIT is used on all boards from this board series. So remove this unneeded define. Signed-off-by: NHolger Brunck <holger.brunck@keymile.com> Acked-by: NValentin Longchamp <valentin.longchamp@keymile.com>
-
由 Michal Simek 提交于
This patch is here because of: "arm: keep all sections in ELF file" (sha1: 47ed5dd0) Our tools expect to have elf with only LOAD header. Without this fix also PHDR, INTERP and DYNAMIC headers are available in ELF. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Michal Simek 提交于
The reason is enabling tftpput command where tftp shorcut stops to work for tftpboot. Signed-off-by: NMichal Simek <michal.simek@xilinx.com>
-
由 Masahiro Yamada 提交于
Signed-off-by: NMasahiro Yamada <yamada.m@jp.panasonic.com> Cc: Scott Wood <scottwood@freescale.com> Cc: David Feng <fenghua@phytium.com.cn> Acked-by: NScott Wood <scottwood@freescale.com>
-
由 Stephen Warren 提交于
The entries in config.mk were needed so that U-Boot could be built with an old version of the Raspberry Pi Foundation's toolchain. Without them, the build would error out with: ...-ld: error: .../libgcc.a(_bswapsi2.o) uses VFP register arguments, u-boot does not However, none of the 3 toolchains in the latest version of their tools.git, nor the Ubuntu/Linaro ARM compilers in at least Ubuntu Quantal or Saucy, need these options set in order to compile a working U-Boot. Hence, remove the options for simplicity. Reported-by: NTom Rini <trini@ti.com> Signed-off-by: NStephen Warren <swarren@wwwdotorg.org> Reviewed-by: NAndreas Färber <afaerber@suse.de>
-
由 Stephen Warren 提交于
U-Boot names the Raspberry Pi board rpi_b. This means that the common expression for DTB filename ${soc}-${board}.dtb expands to bcm2835-rpi_b.dtb. However, the DTB generated by the Linux kernel is bcm2835-rpi-b.dtb. Set $fdtfile in U-Boot's environment so that scripts look for the correct DTB filename. An alternative would be to rename the U-Boot board to rpi-b. However, that change would be far more invasive, and end up affecting users (i.e they'd have to change their U-Boot build commands). Signed-off-by: NStephen Warren <swarren@wwwdotorg.org>
-
由 Albert ARIBAUD 提交于
-
- 11 2月, 2014 2 次提交
-
-
由 Axel Lin 提交于
The implementation of oc_serial_setbrg() for CONFIG_SYS_NIOS_FIXEDBAUD and !CONFIG_SYS_NIOS_FIXEDBAUD are very similar. Add a baudrate variable and set it to either CONFIG_BAUDRATE or gd->baudrate. Then we can unify the code for both cases. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
-
由 Axel Lin 提交于
Fix build error due to missing include of serial.h and a trivial typo. Signed-off-by: NAxel Lin <axel.lin@ingics.com> Signed-off-by: NThomas Chou <thomas@wytron.com.tw>
-
- 10 2月, 2014 2 次提交
-
-
由 Inha Song 提交于
Use setbits/clrbits macro instead of readl/writel function. (Suggested by Wolfgang) Signed-off-by: NInha Song <ideal.song@samsung.com> Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
由 Inha Song 提交于
This patch fixed that cfg value is set to wrong value. Because it didn't read the related register. Signed-off-by: NInha Song <ideal.song@samsung.com> Signed-off-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NMinkyu Kang <mk7.kang@samsung.com>
-
- 08 2月, 2014 9 次提交
-
-
由 Alexey Brodkin 提交于
Driver for non-standard on-chip UART, instantiated in the ARC (Synopsys) FPGA Boards such as ARCAngel4/ML50x Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com> Cc: Mischa Jonker <mjonker@synopsys.com> Cc: Francois Bedard <fbedard@synopsys.com> Cc: Tom Rini <trini@ti.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Stefano Babic <sbabic@denx.de>
-
由 Tom Rini 提交于
Add a README to the board which lists the commands required to enable booting from the eMMC boot partitions found on the board. Cc: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
Add a README to the board which lists the commands required to enable booting from the eMMC boot partitions found on the board. Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
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: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
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: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
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: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
Rename 'bootpart' to 'bootpart-resize' to better reflect what this command is for. Acked-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
Acked-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
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: NTom Rini <trini@ti.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
- 07 2月, 2014 8 次提交
-
-
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: NSiva Durga Prasad Paladugu <sivadur@xilinx.com> Signed-off-by: NMichal Simek <michal.simek@xilinx.com> Acked-by: NJagannadha Sutradharudu Teki <jaganna@xilinx.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Rajeshwari S Shinde 提交于
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: NRajeshwari S Shinde <rajeshwari.s@samsung.com> Acked-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Stephen Warren 提交于
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: NStephen Warren <swarren@nvidia.com> Acked-by: NJaehoon Chung <jh80.chung@samsung.com> Signed-off-by: NPantelis Antoniou <panto@antoniou-consulting.com>
-
由 Tom Rini 提交于
Now that the designware ethernet driver uses phylib we need to turn it on here. Acked-by: NStefan Roese <sr@denx.de> Signed-off-by: NTom Rini <trini@ti.com>
-
由 Alexey Brodkin 提交于
Up until now this driver only worked with data cache disabled. To make it work with enabled data cache following changes were required: * Flush Tx/Rx buffer descriptors their modification * Invalidate Tx/Rx buffer descriptors before reading its values * Flush cache for data passed from CPU to GMAC * Invalidate cache for data passed from GMAC to CPU Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Vipin Kumar <vipin.kumar@st.com> Cc: Stefan Roese <sr@denx.de> Cc: Mischa Jonker <mjonker@synopsys.com> Cc: Shiraz Hashim <shiraz.hashim@st.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Amit Virdi <amit.virdi@st.com> Cc: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
-
由 Alexey Brodkin 提交于
With this change driver will benefit from existing phylib and thus custom phy functionality implemented in the driver will go away: * Instantiation of the driver is now much shorter - 2 parameters instead of 4. * Simplified phy management/functoinality in driver is replaced with rich functionality of phylib. * Support of custom phy initialization is now done with existing "board_phy_config". Note that after this change some previously used config options (driver-specific PHY configuration) will be obsolete and they are simply substituted with similar options of phylib. For example: * CONFIG_DW_AUTONEG - no need in this one. Autonegotiation is enabled by default. * CONFIG_DW_SEARCH_PHY - if one wants to specify attached phy explicitly CONFIG_PHY_ADDR board config option has to be used, otherwise automatically the first discovered on MDIO bus phy will be used I believe there's no need now in "doc/README.designware_eth" because user only needs to instantiate the driver with "designware_initialize" whose prototype exists in "include/netdev.h". Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Vipin Kumar <vipin.kumar@st.com> Cc: Stefan Roese <sr@denx.de> Cc: Mischa Jonker <mjonker@synopsys.com> Cc: Shiraz Hashim <shiraz.hashim@st.com> Cc: Albert ARIBAUD <albert.u.boot@aribaud.net> Cc: Amit Virdi <amit.virdi@st.com> Cc: Sonic Zhang <sonic.zhang@analog.com> Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
-
由 Alexey Brodkin 提交于
In "common/Makefile" "miiphyutil.o" gets built if any of the following items enabled: * CONFIG_PHYLIB * CONFIG_MII * CONFIG_CMD_MII So it's possible to not define CONFIG_MII or CONFIG_CMD_MII and still use functions like "miiphy_get_dev_by_name". In its turn "miiphy_get_dev_by_name" traverses "mii_devs" list which is not initialized because "miiphy_init" never got called. Cc: Rob Herring <rob.herring@calxeda.com> Cc: Simon Glass <sjg@chromium.org> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NJoe Hershberger <joe.hershberger@ni.com> Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
-
由 Alexey Brodkin 提交于
Driver "init" function might be called multiple times. On every "init" Tx/Rx buffer descriptors are initialized: "descs_init" -> "{tx|rx}_descs_init". In its turn those init functions set MAC's "{tx|rx}desclistaddr" to point on the first buffer descriptor in the list. So CPU to start operation from the first buffer descriptor as well after every "init" we have to reset "{tx|rx}_currdescnum". Cc: Joe Hershberger <joe.hershberger@ni.com> Cc: Vipin Kumar <vipin.kumar@st.com> Cc: Stefan Roese <sr@denx.de> Cc: Mischa Jonker <mjonker@synopsys.com> Signed-off-by: NAlexey Brodkin <abrodkin@synopsys.com>
-