- 03 6月, 2009 7 次提交
-
-
由 Yauhen Kharuzhy 提交于
SCR & switch data are read from card as big-endian words and should be converted to CPU byte order. Signed-off-by: NYauhen Kharuzhy <jekhor@gmail.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Yauhen Kharuzhy 提交于
Cards which are not compatible with SD 2.0 standard, may return response for CMD8 command, but it will be invalid in terms of SD 2.0. We should accept this case as admissible, just like Linux does. Signed-off-by: NYauhen Kharuzhy <jekhor@gmail.com> Signed-off-by: NAndy Fleming <afleming@freescale.com>
-
由 Rabin Vincent 提交于
Now that response is a uint, we can drop all the casts. Signed-off-by: NRabin Vincent <rabin@rab.in>
-
由 Rabin Vincent 提交于
The mmc code defines the response as an array of chars. However, it access the response bytes both as (i) an array of four uints (with casts) and (ii) as individual chars. The former case is used more often, including by the driver when it assigns the response. The char-wise accesses are broken on little endian systems because they assume that the bytes in the uints are in big endian byte order. This patch fixes this by changing the response to be an array of four uints and replacing the char-wise accesses with equivalent uint-wise accesses. Signed-off-by: NRabin Vincent <rabin@rab.in>
-
由 Rabin Vincent 提交于
The generic MMC core uses direct long long divisions, which do not build with ARM EABI toolchains. Use lldiv() instead, which works everywhere. Signed-off-by: NRabin Vincent <rabin@rab.in>
-
由 Rabin Vincent 提交于
find_mmc_device returns NULL if an invalid device number is specified. Check for this to avoid dereferencing NULL pointers. Signed-off-by: NRabin Vincent <rabin@rab.in>
-
由 Rabin Vincent 提交于
Remove some repeated words and superfluous newlines in the mmc command help entries. Signed-off-by: NRabin Vincent <rabin@rab.in>
-
- 29 5月, 2009 2 次提交
-
-
-
由 Stefan Roese 提交于
Currently using JFFS2 with MTDPARTS enabled doesn't work. This is because mtdparts_init() is available in both files, cmd_mtdparts.c and cmd_jffs2.c. Please note that in the original cmd_jffs2.c file (before the jffs2/mtdparts command/file split those 2 different versions already existed. So this is nothing new. The main problem is that the variables "current_dev" and "current_partnum" are declared in both files now. This doesn't work. This patch now changes the names of those variable to more specific names: "current_mtd_dev" and "current_mtd_partnum". This is because this patch also changes the declaration from static to global, so that they can be used from both files. Please note that my first tests were not successful. The MTD devices selected via mtdparts are now accessed but I'm failing to see the directory listed via the "ls" command. Nothing is displayed. Perhaps I didn't generate the JFFS2 image correctly (I never used JFFS2 in U-Boot before). Not sure. Perhaps somebody else could take a look at this as well. I'll continue looking into this on Monday. Signed-off-by: NStefan Roese <sr@denx.de> Cc: Wolfgang Denk <wd@denx.de> Cc: Detlev Zundel <dzu@denx.de> Cc: Ilya Yanok <yanok@emcraft.com> Cc: Renaud barbier <renaud.barbier@ge.com>
-
- 26 5月, 2009 1 次提交
-
-
由 Graf Yang 提交于
The pins for async memory where parallel flash lives are not enabled by default, so make sure we mux them as needed. Signed-off-by: NGraf Yang <graf.yang@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 23 5月, 2009 3 次提交
-
-
由 Stefan Roese 提交于
This patch enables Smart Media (SMC) ECC byte ordering which is used on the PPC4xx NAND FLASH controller (NDFC). Without this patch we have incompatible ECC byte ordering to the Linux kernel NDFC driver. Signed-off-by: NStefan Roese <sr@denx.de> Acked-by: NScott Wood <scottwood@freescale.com>
-
由 Stefan Roese 提交于
This patch now uses the correct ECC byte order (Smart Media - SMC) to be used on the 4xx NAND FLASH driver. Without this patch we have incompatible ECC byte ordering to the Linux kernel NDFC driver. Please note that we also have to enable CONFIG_MTD_NAND_ECC_SMC in drivers/mtd/nand/nand_ecc.c for correct operation. This is done with a seperate patch. Signed-off-by: NStefan Roese <sr@denx.de> Acked-by: NScott Wood <scottwood@freescale.com>
-
由 Stefan Roese 提交于
This patch moves the definition for the PPC4xx NAND FLASH controller (NDFC) CONFIG_NAND_NDFC into include/ppc4xx.h. This is needed for the upcoming fix for the ECC byte ordering of the NDFC driver. Signed-off-by: NStefan Roese <sr@denx.de> Acked-by: NScott Wood <scottwood@freescale.com>
-
- 21 5月, 2009 4 次提交
-
-
-
-
由 Kim Phillips 提交于
cmd_ide.c:547: error: inline function 'ide_inb' cannot be declared weak removing the inline attribute fixes it. Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
由 Kim Phillips 提交于
Configuring for TQM834x board... cpu_init.c: In function 'cpu_init_f': cpu_init.c:262: warning: array subscript is above array bounds cpu_init.c:263: warning: array subscript is above array bounds cpu_init.c:270: warning: array subscript is above array bounds ... Signed-off-by: NKim Phillips <kim.phillips@freescale.com>
-
- 20 5月, 2009 1 次提交
-
-
由 Andreas Huber 提交于
Return -ENODEV instead of 0 when trying to read from a non existing volume. Signed-off-by: NAndreas Huber <andreas.huber@keymile.com> Signed-off-by: NStefan Roese <sr@denx.de>
-
- 19 5月, 2009 1 次提交
-
-
由 Graf Yang 提交于
The timer_init() function was not using the right csync instruction, nor was it doing it right after disabling the core timer. The timer_reset() function would reset the timestamp, but not the actual timer, so there was a common edge case where get_timer() return a jump of one timestamp (couple milliseconds) right after resetting. This caused many functions to improperly timeout right away. Signed-off-by: NGraf Yang <graf.yang@analog.com> Signed-off-by: NMike Frysinger <vapier@gentoo.org>
-
- 16 5月, 2009 19 次提交
-
-
由 Shinya Kuribayashi 提交于
This fixes the following build warnings: board.c: In function 'board_init_r': board.c:328: warning: unused variable 'i' board.c:326: warning: unused variable 'e' Signed-off-by: NShinya Kuribayashi <skuribay@pobox.com>
-
由 Shinya Kuribayashi 提交于
All these functions are expected to be static inline-ed. This patch also fixes the following build warnings on MIPS targets: include/asm/bitops.h: In function 'ext2_find_next_zero_bit': include/asm/bitops.h:862: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:885: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static include/asm/bitops.h:887: warning: '__fswab32' is static but used in inline function 'ext2_find_next_zero_bit' which is not static Signed-off-by: NShinya Kuribayashi <skuribay@pobox.com>
-
由 Thomas Lange 提交于
Implement ethernet halt() by putting MAC0 in reset. If we do not do this, we will get memory corruption when ethernet frames are received during early OS boot. Signed-off-by: NThomas Lange <thomas@corelatus.se> Signed-off-by: NShinya Kuribayashi <skuribay@pobox.com>
-
由 Wolfgang Denk 提交于
Update CHANGELOG. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Daniel Mack 提交于
U-Boot does not currently build for PXA platforms with USB support enabled: usb.c:46: error: 'UP2OCR' undeclared (first use in this function) Signed-off-by: NDaniel Mack <daniel@caiaq.de> Cc: Markus Klotzbuecher <mk@denx.de> Edited commit message. Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Signed-off-by: NWolfgang Denk <wd@denx.de>
-
由 Wolfgang Denk 提交于
Commit 574b3195 introduced a subtle bug by mixing a list of tests for "dev_desc->type" and "dev_desc->if_type" into one switch(), which then mostly did not work because "dev_desc->type" cannot take any "IF_*" type values. A later fix in commit 8ec6e332 changed the switch() into testing "dev_desc->if_type", but at this point the initial test for unknown device types was completely lost, which resulted in output like that for IDE ports without device attached: Device 1: Model: Firm: Ser#: Type: # 1F # Capacity: not available This patch re-introduces the missing test for unknown device types. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Stefan Roese <sr@denx.de> Cc: Detlev Zundel <dzu@denx.de> Tested-by: NStefan Roese <sr@denx.de>
-
由 Stefan Roese 提交于
This patch fixes a problem in the CPU frequency calculation. Without it a 798MHz CPU is displayed as 368.503 MHz. And with it it's 798 MHz. Signed-off-by: NStefan Roese <sr@denx.de>
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
Signed-off-by: NJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-
由 Detlev Zundel 提交于
Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
由 Emil Medve 提交于
The 'inline' is conflicting with the semantic of 'weak' attribute and with the way the show_boot_progress() function is used. Also gcc 4.4 is complaining about it: main.c:51: error: inline function 'show_boot_progress' cannot be declared weak Signed-off-by: NEmil Medve <Emilian.Medve@Freescale.com>
-
由 Wolfgang Denk 提交于
cpu/mpc8260/cpu.c used to use do_fixup_by_path_u32() to update the clock frequencies in the device tree, using a CPU path "/cpus/OF_CPU", with OF_CPU beind defined in the board config file. However, this does not work when one board config file (here: MPC8260ADS.h) is intended to be used for several diffrent CPUs and therefor contains a generic definition like "cpu@0", as the device trees that will then be loaded will contain specific names like "PowerPC,8272@0". We switch to using do_fixup_by_prop_u32() instead, so we can search for device_type="cpu", as it is done in other architectures, too. Signed-off-by: NWolfgang Denk <wd@denx.de> Cc: Heiko Schocher <hs@denx.de> Acked-by: NHeiko Schocher <hs@denx.de> Tested-by: NHeiko Schocher <hs@denx.de>
-
由 Rohit Hagargundgi 提交于
Add CONFIG_SYS_MONITOR_LEN macro to apollon board config. CONFIG_SYS_MONITOR_LEN defines the U-Boot image size. and is used by OneNAND ipl when reading U-Boot image. Signed-off-by: Rohit Hagargundgi <h.rohit at samsung.com> Acked-by: NKyungmin Park <kyungmin.park@samsung.com>
-
由 Ben Warren 提交于
This will make CONFIG_NET_MULTI the only net driver configuration and we'll be able to remove this option. Signed-off-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Detlev Zundel 提交于
The pin which was used in preliminary versions of the board for ide reset is really connected to the rtc clock. Signed-off-by: NDetlev Zundel <dzu@denx.de>
-
由 Marco Stornelli 提交于
This patch adds, under tools folder, a new command called imls. Its goal is the same of UBoot's imls but it can be used as Linux shell command. It reads from raw mtd partition and prints the list of the stored images. Signed-off-by: NMarco Stornelli <marco.stornelli@gmail.com>
-
由 Heiko Schocher 提交于
Fix some issues introduced from commit: 2f70c49e suggested by Mike Frysinger. - added some comment for the env_id variable in common_cmd_nvedit.c - moved some variables in fn scope instead of file scope - NetInitLoop now static void Signed-off-by: NHeiko Schocher <hs@denx.de> Acked-by: NBen Warren <biggerbadderben@gmail.com>
-
由 Heiko Schocher 提交于
Signed-off-by: NHeiko Schocher <hs@denx.de>
-
- 15 5月, 2009 2 次提交
-
-
由 Detlev Zundel 提交于
Signed-off-by: NDetlev Zundel <dzu@denx.de> Cc: Sascha Hauer <s.hauer@pengutronix.de>
-
由 Sascha Hauer 提交于
I never acked a patch that adds me as phycore i.MX31 maintainer nor was it me who pushed the patches, so remove myself from the maintainer list so that other people do not longer wait for my ack. Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
-