summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2011-09-11Minor coding style cleanup.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]>
2011-09-10cm4008, cm41xx: fix build warningsWolfgang Denk
Fix these: cm4008.c: In function 'board_eth_init': cm4008.c:79: warning: implicit declaration of function 'ks8695_eth_initialize' cm41xx.c: In function 'board_eth_init': cm41xx.c:79: warning: implicit declaration of function 'ks8695_eth_initialize' While we are at it, sort include list in netdev.h Signed-off-by: Wolfgang Denk <[email protected]> Cc: Greg Ungerer <[email protected]>
2011-09-10KS8695: convert KS8695 eth driver to CONFIG_MULTI_ETHGreg Ungerer
Trivial conversion of the ks8695eth driver to a CONFIG_MULTI_ETH type driver. Signed-off-by: Greg Ungerer <[email protected]>
2011-09-10Fix warning: "assert" redefinedWolfgang Denk
Commit 21726a7 "Add assert() for debug assertions" caused build warnings for many systems: In file included from bedbug.c:6: /home/wd/git/u-boot/work/include/bedbug/bedbug.h:24:1: warning: "assert" redefined In file included from bedbug.c:3: /home/wd/git/u-boot/work/include/common.h:144:1: warning: this is the location of the previous definition In file included from cmd_bedbug.c:10: /home/wd/git/u-boot/work/include/bedbug/bedbug.h:24:1: warning: "assert" redefined In file included from cmd_bedbug.c:5: /home/wd/git/u-boot/work/include/common.h:144:1: warning: this is the location of the previous definition Signed-off-by: Wolfgang Denk <[email protected]> Cc: Simon Glass <[email protected]> Acked-by: Simon Glass <[email protected]>
2011-09-10CM4000: fix missing RAM definitions for OpenGear boardsGreg Ungerer
The OpenGear boards CM4008, CM4116 and CM4148 need their DRAM base and RAM stack base addresses defined. Fixes: board.c: In function ‘__dram_init_banksize’: board.c:227: error: ‘CONFIG_SYS_SDRAM_BASE’ undeclared (first use in this function) board.c:227: error: (Each undeclared identifier is reported only once board.c:227: error: for each function it appears in.) board.c: In function ‘board_init_f’: board.c:270: error: ‘CONFIG_SYS_INIT_SP_ADDR’ undeclared (first use in this function) board.c:303: error: ‘CONFIG_SYS_SDRAM_BASE’ undeclared (first use in this function) Signed-off-by: Greg Ungerer <[email protected]>
2011-09-10Add assert() for debug assertionsSimon Glass
assert() is like BUG_ON() but compiles to nothing unless DEBUG is defined. This is useful when a condition is an error but a board reset is unlikely to fix it, so it is better to soldier on in hope. Assertion failures should be caught during development/test. It turns out that assert() is defined separately in a few places in U-Boot with various meanings. This patch cleans up some of these. Build errors exposed by this change (and defining DEBUG) are also fixed in this patch. Signed-off-by: Simon Glass <[email protected]>
2011-09-07MX31: mx31pdk: make use of GPIO frameworkStefano Babic
Signed-off-by: Stefano Babic <[email protected]>
2011-09-07common: fix behavior of ROUND macro when input is already roundedAnton Staaf
Currently when you call ROUND with a value that is already a multiple of the second parameter it will return a value that is one multiple larger, instead of returning the value passed in. There are only two types of usage of ROUND currently, one in various config files to round CONFIG_SYS_MALLOC_LEN to a multiple of 4096 bytes. The other in cmd_sf.c where the incorrect behavior of ROUND is worked around be subtracting one from the length argument before passing it to ROUND. This patch fixes ROUND and removes the workaround from cmd_sf. It also results in all of the malloc pools that use ROUND to compute their size shrinking by 4KB. Cc: Lukasz Majewski <[email protected]> Cc: Mike Frysinger <[email protected]>
2011-09-07Merge branch 'master' of git://git.denx.de/u-boot-mmcWolfgang Denk
* 'master' of git://git.denx.de/u-boot-mmc: ftsdc010: add support of ftsdc010 mmc controller mmc: Fix mmc_send_status()
2011-09-07ARM: PXA: remove broken "zylonite" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Marek Vasut <[email protected]> Acked-by: Marek Vasut <[email protected]>
2011-09-07ARM: remove broken "shannon" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Rolf Offermanns <[email protected]>
2011-09-07ARM: remove broken "modnet50" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Thomas Elste <[email protected]>
2011-09-07ARM: remove broken "lpc2292sodimm" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]>
2011-09-07ARM: remove broken "lart" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Alex Züpke <[email protected]>
2011-09-07ARM: remove broken "impa7" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Marius Gröger <[email protected]>
2011-09-07ARM: remove broken "gcplus" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: George G. Davis <[email protected]>
2011-09-07ARM: remove broken "evb4510" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Curt Brune <[email protected]>
2011-09-07ARM: remove broken "ep7312" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Marius Gröger <[email protected]>
2011-09-07ARM: remove broken "dnp1110" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]> Cc: Alex Züpke <[email protected]>
2011-09-07ARM: remove broken "SMN42" board.Wolfgang Denk
Signed-off-by: Wolfgang Denk <[email protected]> Cc: Albert ARIBAUD <[email protected]>
2011-09-05FPGA: constify Lattice FPGA codeWolfgang Denk
The Lattice code was missed by commit e6a857d "fpga: constify to fix build warning" resulting in such warnings: fpga.c: In function 'fpga_load': fpga.c:238: warning: passing argument 2 of 'lattice_load' discards qualifiers from pointer target type fpga.c: In function 'fpga_dump': fpga.c:278: warning: passing argument 2 of 'lattice_dump' discards qualifiers from pointer target type Signed-off-by: Wolfgang Denk <[email protected]> cc: Stefano Babic <[email protected]>
2011-09-04ftsdc010: add support of ftsdc010 mmc controllerMacpaul Lin
Faraday FTSDC010 controller is a SD/MMC controller for SoC chip. Signed-off-by: Macpaul Lin <[email protected]>
2011-09-04Merge branch 'master' of git://git.denx.de/u-boot-coldfireWolfgang Denk
* 'master' of git://git.denx.de/u-boot-coldfire: ColdFire:Clean up the CONFIG_STANDALONE_LOAD_ADDR usage ColdFire:Add mb for 5253 dram initialization ColdFire:Define the DM9000 byteswap for M5253 board. ColdFire:Update the env settings for several boards. ColdFire:disable the NFS define for 52277 board. ColdFire:Update the timer_init since it was unified. ColdFire: Cleanup for partial linking and --gc-sections ColdFire: Update compile flags for each CPUs ColdFire:Fix the configuration broken for some boards.
2011-09-04ColdFire:Define the DM9000 byteswap for M5253 board.Jason Jin
The M5253DEMO board swapped the io pins which make the standard IO function did not work for dm9000. Define the byte swap to use raw io for dm9000. Signed-off-by: Jason Jin <[email protected]>
2011-09-04ColdFire:Update the env settings for several boards.Jason Jin
Move the environment outside the u-boot for some boards and enlarge the u-boot size in some env settings. Signed-off-by: Jason Jin <[email protected]>
2011-09-04ColdFire:disable the NFS define for 52277 board.Jason Jin
There is no network device on ColdFire 52277EVB board.But the default cmd include NFS define which make the build error. Signed-off-by: Jason Jin <[email protected]>
2011-09-04BeagleBoard: config: updated default configurationJason Kridner
* Improved boot env var setting * Made room for a 64MB ramdisk by moving from 0x81600000 to 0x81000000 * Added ramarg, ramroot and ramboot env variables Signed-off-by: Jason Kridner <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: Enabled multibus support for I2C in configurationJason Kridner
Signed-off-by: Jason Kridner <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: add optargs/buddy/cameraJason Kridner
buddy and camera are used to configure peripherals in the kernel at boot time that cannot easily be detected by the kernel. Signed-off-by: Jason Kridner <[email protected]> Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: increase command-line functionalityJason Kridner
Enable the expression evaluator. Signed-off-by: Jason Kridner <[email protected]> Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: make mtest runJason Kridner
Utilize the alternate mtest and define a valid region. Signed-off-by: Jason Kridner <[email protected]> Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: enable DSSKoen Kooi
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: enable asix driver and dhcpKoen Kooi
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: enable networkingKoen Kooi
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: decrease bootdelay to 2 secondsKoen Kooi
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: use uImage.beagle for tftpJoel A Fernandes
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: hardcode MAC for onboard SMSCJoel A Fernandes
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: config: load kernel from MMC ext, not FATKoen Kooi
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04BeagleBoard: Added userbutton commandJason Kridner
Based on commit f1099c7c43caf5bac3bf6a65aa266fade4747072 Author: Greg Turner <[email protected]> Date: Tue May 25 09:19:06 2010 -0500 New u-boot command for status of USER button on BeagleBoard-xM Modified bootcmd to check the staus at boot time and set filename of the boot script. * Moved to a BeagleBoard specific file. * Removed changes to default boot command from adding userbutton command. * Made to handle pre-xM boards. * Flipped polarity of the return value to avoid confusion. Success (0) is when the button is pressed. Failure (1) is when the button is NOT pressed. * Used latest revision getting function. * Used latest macros for board revision. * Added xM-C revision definition (optional, since it was default) * updated default configuration with UserButton functionality * Added a separate bootenv variable to load a user defined .txt file * Added an example, showing how a different environment file can be loaded with the user button pressed Signed-off-by: Jason Kridner <[email protected]> Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Cc: Greg Turner <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04beagle: pass expansionboard name in bootargsKoen Kooi
Signed-off-by: Koen Kooi <[email protected]> Signed-off-by: Joel A Fernandes <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04OMAP: Remove omapfb.debug=y from Beagle and Overo env settingsSteve Sakoman
The kernel DSS2 code is mature now, and keeping this setting hurts performance Signed-off-by: Steve Sakoman <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: add support for Spectrum Digital AM18xx EVMManjunathappa, Prakash
The AM18xx EVM contains winbond SPI flash instead of ST SPI flash in comparison with logic PD da850/omap-l138 EVM. So enable configuration to look for winbond flash. Signed-off-by: Manjunathappa, Prakash <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: add support to wake up DSP during board initNagabhushana Netagunte
add support for DSP wake-up by default on DA850/OMAP-L138 during board initialization. Enable hwconfig environment and added extra env setting through CONFIG_EXTRA_ENV_SETTINGS. To prevent DSP from being woken up,set the environment variable as, set hwconfig "dsp:wake=no" Signed-off-by: Sekhar Nori <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: modify the U-Boot prompt stringNagabhushana Netagunte
Modify U-Boot prompt string from "DA850-evm >" to "U-Boot >". Signed-off-by: Sudhakar Rajashekhara <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: add NOR boot mode supportNagabhushana Netagunte
Add pin-mux support for NOR in board file and correspanding macros to use NOR boot mode in configuration file. Signed-off-by: Sudhakar Rajashekhara <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04da850: indicate cache usage disable in config fileNagabhushana Netagunte
there are cache coherency issues when using the DAVINCI Ethernet driver, hence caches cant be used for da850 u-boot. As per new cache management framework,if the caches are not used in u-boot, it needs to be explicitly indicated through macros in config file. CACHE disable is indicated by the following macro definitions in config file, 1. CONFIG_SYS_ICACHE_OFF 2. CONFIG_SYS_DCACHE_OFF 3. CONFIG_SYS_L2CACHE_OFF Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04dm365: modify boot prompt from dm365 to dm36xRajashekhara, Sudhakar
Newer version for DM365 silicon support higher speeds and is called DM368. Modify the bootprompt string DM365 to DM36x. Signed-off-by: Rajashekhara, Sudhakar <[email protected]> Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04dm365: disable cache usage due to coherency issuesNagabhushana Netagunte
there are cache coherency issues when using the DAVINCI Ethernet driver, hence caches cant be used for d365 u-boot. As per new cache management framework,if the caches are not used in u-boot, it needs to be explicitly indicated through macros in config file. CACHE disable is indicated by the following macro definitions in config file, 1. CONFIG_SYS_ICACHE_OFF 2. CONFIG_SYS_DCACHE_OFF 3. CONFIG_SYS_L2CACHE_OFF Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04dm6446: disable cache usage due to coherency issuesNagabhushana Netagunte
there are cache coherency issues when using the DAVINCI Ethernet driver, hence caches cant be used for dm6446 u-boot. As per new cache management framework,if the caches are not used in u-boot, it needs to be explicitly indicated through macros in config file. CACHE disable is indicated by the following macro definitions in config file, 1. CONFIG_SYS_ICACHE_OFF 2. CONFIG_SYS_DCACHE_OFF 3. CONFIG_SYS_L2CACHE_OFF Signed-off-by: Nagabhushana Netagunte <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>
2011-09-04devkit8000: Use generic MMC driverTom Rini
Switch from the legacy omap3 mmc driver to the new generic omap hsmmc driver. This patch is based on the work done for Beagle, etc. Signed-off-by: Tom Rini <[email protected]> Signed-off-by: Sandeep Paulraj <[email protected]>