- 20 9月, 2012 4 次提交
-
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
This patch uses the general ffs definition to replace the platform ffs definition. This patch also fixes the build error by adding hweightN definition for m5329evb and m5373evb. Signed-off-by: NJason Jin <Jason.jin@freescale.com> Signed-off-by: NAlison Wang <b18965@freescale.com>
-
由 Alison Wang 提交于
This patch fixes the build error for MCF537x. As the NANDFLASH_SIZE is redefined in boards.cfg, it is needed to rename NANDFLASH_SIZE into CONFIG_NANDFLASH_SIZE in include/configs/M5373EVB.h. Signed-off-by: NAlison Wang <b18965@freescale.com>
-
- 19 9月, 2012 25 次提交
-
-
-
由 Ira W. Snyder 提交于
Add support for the onboard eSDHC MMC controller. The hardware on the MPC8308RDB has the following errata: - ESDHC111: manual asynchronous CMD12 is broken - DMA is broken (PIO works) Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu> [added include fsl_esdhc header to prevent implicit declarations of fsl_esdhc_mmc_init() and fdt_fixup_esdhc()] Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
由 Ira W. Snyder 提交于
This is very useful on a modern system. Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
由 Ira W. Snyder 提交于
The SPI pins are routed to header J8 for testing SPI functionality. A Spansion flash has been wired up and tested on this header. This patch breaks support for the second TSEC interface, since the GPIO pin used as a chip select is pinmuxed with some of the TSEC pins. Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
由 Ira W. Snyder 提交于
The MPC8308RDB Reference Manual states that no bits in the SPMODE register are allowed to change while the enable (EN) bit is set. This driver changes the character length bits (LEN) while the enable (EN) bit is set. Clearing the EN bit while changing the LEN bits makes the driver work correctly on MPC8308RDB. Signed-off-by: NIra W. Snyder <iws@ovro.caltech.edu> Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
由 Benoît Thébaudeau 提交于
With: fatls mmc 0 /dir/file dir: regular directory file: regular file The previous code read the contents of file as if it were directory entries to list. This patch refuses to list file contents as if it were a folder. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-
由 Gerlando Falauto 提交于
When variables explicitly specified on the command line are not present in the imported env, delete them from the running env. If the variable is also missing from the running env, issue a warning. Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Gerlando Falauto 提交于
Change the syntax (user API) for "env default": -f: override write-once variables var... : accept individual variable(s) -a: all (resetting the whole env is NOT the default behavior) Enable variable checking and make changes effective by enabling do_apply argument to himport_r(). Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com>
-
由 Gerlando Falauto 提交于
Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Gerlando Falauto 提交于
Change hashtable so that a callback function will decide whether a variable can be overwritten, and possibly apply the changes. So add a new field to struct hsearch_data: o "apply" callback function to check whether a variable can be overwritten, and possibly immediately apply the changes; when NULL, no check is performed. And a new argument to himport_r(): o "do_apply": whether to call the apply callback function NOTE: This patch does not change the current behavior. Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Gerlando Falauto 提交于
Add 2 new arguments to himport_r(): o "nvars", "vars": number and list of variables to take into account (0 means ALL) NOTE: This patch does not change the current behaviour. Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Gerlando Falauto 提交于
The logic of checking special parameters (e.g. baudrate, stdin, stdout, for a valid value and/or whether can be overwritten) and applying the new value to the running system is now all within a single function env_check_apply() which can be called whenever changes are made to the environment, no matter if by set, default or import. With this patch env_check_apply() is only called by "env set", retaining previous behavior. Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Gerlando Falauto 提交于
iomux_doenv() can only return 0 or 1. So there is no need to save its return value in variable i, as checking its truth value within an if statement is enough. Signed-off-by: NGerlando Falauto <gerlando.falauto@keymile.com> Reviewed-by: NMarek Vasut <marex@denx.de>
-
由 Benoît Thébaudeau 提交于
Commit 5e724ca2 did the same thing for env_common and env_embedded, but forgot fw_env. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-
由 Benoît Thébaudeau 提交于
The ethprime env var was missing from env_common. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de>
-
由 Benoît Thébaudeau 提交于
Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Wolfgang Denk <wd@denx.de> Acked-by: NMike Frysinger <vapier@gentoo.org>
-
由 Iwo Mergler 提交于
The original memory sizing code in get_ram_size clobbers the word at the base address, but forgets to restore it. Signed-off-by: NIwo Mergler <Iwo.Mergler@netcommwireless.com>
-
由 Stephen Warren 提交于
The third parameter to ALLOC_CACHE_ALIGN_BUFFER is not size (as named), but rather count (number of elements of the type to allocate). The current code ends up allocating one copy of env_t for each byte in its size, which quite possibly ends up overflowing RAM. This fixes a bug in commit 3801a15f "env_nand: align NAND buffers". Reported-by: NPrabhakar Lad <prabhakar.csengg@gmail.com> Signed-off-by: NStephen Warren <swarren@nvidia.com> Reported-by: NPrabhakar Lad <prabhakar.lad@ti.com>
-
由 Marek Vasut 提交于
This board is the only board that still sticks to OneNAND IPL. Remove this board, since we have SPL around for a while and OneNAND is well supported in the SPL framework. The board can be revived if necessary. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Kyungmin Park <kyungmin.park@samsung.com> Cc: Tom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
After removing the Apollon board, remove the OneNAND IPL too. There are no users for it any more. Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Albert Aribaud <albert.u.boot@aribaud.net> Cc: Minkyu Kang <promsoft@gmail.com> Cc: Tom Rini <trini@ti.com> Acked-by: NMinkyu Kang <mk7.kang@samsung.com>
-
由 Tyler Olmstead 提交于
Remove linker command line options from the SPL makefile that force the inclusion of unreferenced command code from linked object files. As commands are not used in the SPL, these options resulted in an unnecessary increase in the image size, in addition to introducing the possibility of tricky link errors in the case where the command code contained symbols that were not resolved by linking in the limited objects compiled in the SPL build. Signed-off-by: NTyler Olmstead <tyler.j.olmstead@gmail.com> Acked-by: NTom Rini <trini@ti.com>
-
由 Marek Vasut 提交于
Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: u-boot-dm@lists.denx.de
-
由 Marek Vasut 提交于
cmd_bdinfo.c: In function ‘do_bdinfo’: cmd_bdinfo.c:220:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat] cmd_bdinfo.c:222:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat] cmd_bdinfo.c:224:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat] cmd_bdinfo.c:226:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat] cmd_bdinfo.c:228:9: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘int’ [-Wformat] Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: u-boot-dm@lists.denx.de
-
由 Marek Vasut 提交于
greth.c: In function ‘greth_recv’: greth.c:507:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘unsigned int’ [-Wformat] greth.c:507:3: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘unsigned int’ [-Wformat] greth.c:541:6: warning: pointer targets in assignment differ in signedness [-Wpointer-sign] greth.c: In function ‘greth_initialize’: greth.c:623:2: warning: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘struct greth_regs *’ [-Wformat] greth.c:655:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘struct greth_regs *’ [-Wformat] greth.c:684:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘struct greth_regs *’ [-Wformat] Signed-off-by: NMarek Vasut <marex@denx.de> Cc: Joe Hershberger <joe.hershberger@gmail.com> Cc: Daniel Hellstrom <daniel@gaisler.com> Cc: u-boot-dm@lists.denx.de
-
由 Tom Rini 提交于
In board_nand_init() we only need the 'tmp' variable if MXC_NFC_V2_1 is defined. Signed-off-by: NTom Rini <trini@ti.com>
-
- 18 9月, 2012 11 次提交
-
-
-
由 Benoît Thébaudeau 提交于
Use the same IP revisions as in Linux in order to make the comparison more clear. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
There is no reason to have board configs to select the NFC IP revision. Just let the driver detect it. BTW, remove broken NFC IP revision configs from board config files. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
Merge mxc_setup_config1() into board_nand_init() in order to ease the addition of i.MX5 support in the following patches. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
mxc_nand_read_page_raw_syndrome() should reenable ECC upon exit. This fixes ECC errors left uncorrected after a call to this function. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
Use _mxc_nand_enable_hwecc() instead of duplicating its code. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
Do not stop boot as soon as an ECC error is detected. Only stop boot for uncorrectable ECC errors. This fixes boards no longer booting after some time because a NAND Flash bit has flipped. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
On the NFC IP 1.1, the 32-bit ecc_status_result value comes from 2 consecutive 16-bit registers. This patch reads all the fields of this value, which makes a difference for 4-kiB NF pages. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
Set the spl mxc nand driver for IP 1.1 in symmetric mode, like the mtd driver. In this way, for both drivers, one input clock period of the NFC IP will produce one R/W cycle. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
The ECC_EN and INT_MSK bits of CONFIG1 are not volatile, so it is sufficient to set them once in nfc_nand_init(). Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-
由 Benoît Thébaudeau 提交于
Merge duplicated code into functions, which is better for SPL size too. Signed-off-by: NBenoît Thébaudeau <benoit.thebaudeau@advansee.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Stefano Babic <sbabic@denx.de> Signed-off-by: NScott Wood <scottwood@freescale.com>
-