summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* net: rework the mii supportJean-Christophe PLAGNIOL-VILLARD2010-08-273-31/+167
| | | | | | | this rework is done in order to add a phylib and allow to have phy driver support Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* use resource_size_t for device resourcesJean-Christophe PLAGNIOL-VILLARD2010-08-271-3/+2
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce phys_addr_t and resource_size_tJean-Christophe PLAGNIOL-VILLARD2010-08-271-0/+8
| | | | | | | this will allow to support 64bit platform Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce pure_initcallJean-Christophe PLAGNIOL-VILLARD2010-08-271-4/+11
| | | | | | | | | | A "pure" initcall has no dependencies on anything else, and purely initializes variables that couldn't be statically initialized. This only exists for built-in code, not for modules. Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* xfuncs.h: include linux/types.h to avoid non decleration of size_tJean-Christophe PLAGNIOL-VILLARD2010-08-271-0/+2
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* dm9000: allow to specify that no srom is presentJean-Christophe PLAGNIOL-VILLARD2010-08-231-0/+1
| | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
* usb: add twl4030 phy supportMichael Grzeschik2010-08-061-0/+28
| | | | | Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* ehci: Make has_tt configurable via platform dataSascha Hauer2010-08-061-0/+2
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
* add twl4030 supportSascha Hauer2010-08-061-0/+461
| | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
* i2c: Add missing defines for omapSascha Hauer2010-08-061-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* stddef: introduce true/false enumJean-Christophe PLAGNIOL-VILLARD2010-08-062-3/+5
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* init.h: introduce fake define (__init & __initdata) to simplify the linux syncJean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+6
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* amba: add pl011Jean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+164
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* string: add strlcpy supportJean-Christophe PLAGNIOL-VILLARD2010-08-062-0/+4
| | | | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Cc: Andrea GALLO <andrea.gallo@stericsson.com> Cc: Gael SALLES <gael.salles@stericsson.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* clock: Introduce clock framework from LinuxJean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+158
| | | | | Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* initcall: add postconsole_initcallJean-Christophe PLAGNIOL-VILLARD2010-08-061-0/+1
| | | | | | | this will allow us to print information as soon as the console will be enable Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* barebox ubi changesSascha Hauer2010-07-051-0/+32
| | | | | | This adds the layer between barebox and UBI. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add ubi support from u-boot. Just enough to compile and scanSascha Hauer2010-07-052-0/+454
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* include stuff missing for ubiSascha Hauer2010-07-051-0/+10
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add partition mtd supportSascha Hauer2010-07-053-0/+5
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add rbtree support (needed for ubi)Sascha Hauer2010-07-051-0/+160
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* crc32: activate crc32_no_comp (needed for jffs2 and UBI)Sascha Hauer2010-07-051-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'next'Sascha Hauer2010-07-0310-248/+323
|\
| * add progression bar functionSascha Hauer2010-06-281-0/+15
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge remote branch 'origin/assorted-pu' into nextSascha Hauer2010-06-282-3/+3
| |\
| | * fb: add a usage counter to prevent double enable/disableSascha Hauer2010-06-241-1/+3
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * usbnet: remove unused dev member in struct usbnetSascha Hauer2010-06-241-2/+0
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | ehci: Make has_tt configurable via platform dataSascha Hauer2010-06-241-0/+10
| |/ | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * net: implement random_ether_addrSascha Hauer2010-06-221-0/+16
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * include support for a simple pseudo number generatorSascha Hauer2010-06-222-0/+17
| | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * Merge branch 'net' into nextSascha Hauer2010-06-175-245/+236
| |\
| | * net: add dns supportSascha Hauer2010-06-171-0/+11
| | | | | | | | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * rework device parametersSascha Hauer2010-06-175-16/+15
| | | | | | | | | | | | | | | | | | | | | | | | Change device parameters so that the memory management is in generic code. This also removes the need of storing statically initialized parameters as they are stored in a struct list_head for each device. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * net: remove old network stackSascha Hauer2010-06-171-357/+2
| | | | | | | | | | | | | | | | | | All network commands now use the new stack, so remove the old one. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * net: Implement a new network stackSascha Hauer2010-06-171-3/+338
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The old network stack has some bad limitations: - network commands are required to call NetLoop() which only returns when the network layer wants to. Instead we now use a net_poll() function which returns after handling one packet (or immediately if no packet is available). - There can be only one packet handler which makes it impossible to handle multiple connections - CamelCaseMakesItHardToRead The new network stack is implemented as a parallel universe. Currently all commands still use the old stack. They are converted in subsequent patches. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| | * net: remove need for eth_halt/eth_openSascha Hauer2010-06-171-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We used to eth_open/eth_halt the network devices during NetLoopInit which is called whenever the user enters a network command. Change this behaviour so that the current network device gets opened when making it the current one. With this change it's always possible to send packages and we are able to implement a new network stack in the next step. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
| * | i2c: add driver for the MC34704 PMICBaruch Siach2010-06-101-0/+26
| |/ | | | | | | | | Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* / byteorder: add missing {BIG,LITTLE}_ENDIAN definesBaruch Siach2010-06-301-0/+6
|/ | | | | | | This fixes build warnings when testing __BYTE_ORDER of the other kind. Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* i2c: implement i2c_get_adapter()Sascha Hauer2010-05-261-0/+2
| | | | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> Signed-off-by: Eric BĂ©nard <eric@eukrea.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Increase MAX_FILES to 128Sascha Hauer2010-05-031-1/+1
| | | | | | | I already hit the limit while doing DFU on a custom board. Increase the value to a safe limit. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* mc9s08dz60: Fixed incorrect register offsets.marc2010-04-121-34/+48
| | | | | | | These values dervied from Freescale source code for the mc9s08dz60 Signed-off-by: Marc Reilly <marc@cpdesign.com.au> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* remove now unused arch_executeSascha Hauer2010-03-301-1/+0
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* introduce a arch_shutdown call and call it from shutdown_bareboxSascha Hauer2010-03-301-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make panic and hang __noreturn functionsSascha Hauer2010-03-301-2/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* make reset_cpu a __noreturn functionSascha Hauer2010-03-301-1/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add process_escape_sequence functionSascha Hauer2010-03-301-0/+2
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add snprintf functionSascha Hauer2010-03-301-0/+1
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add unlzo supportSascha Hauer2010-03-301-0/+46
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* add unaligned access supportSascha Hauer2010-03-3010-0/+510
| | | | Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
* Merge branch 'nor' into nextSascha Hauer2010-02-182-1118/+0
|\