Jean-Christophe PLAGNIOL-VILLARD
37d6cbca5f
move include/unaligned to include/linux/unaligned/
...
as originally in linux
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-30 14:36:08 +02:00
Jean-Christophe PLAGNIOL-VILLARD
5baf5ae9bd
add WARN_ON and WARN support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-30 14:36:07 +02:00
Jean-Christophe PLAGNIOL-VILLARD
12f396a8b0
net: rework the mii support
...
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>
2010-08-27 14:36:03 +02:00
Jean-Christophe PLAGNIOL-VILLARD
f2283c2057
use resource_size_t for device resources
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-27 14:25:19 +02:00
Jean-Christophe PLAGNIOL-VILLARD
95556fc53d
introduce phys_addr_t and resource_size_t
...
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>
2010-08-27 14:25:19 +02:00
Jean-Christophe PLAGNIOL-VILLARD
fe5a1bd4f5
introduce pure_initcall
...
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>
2010-08-27 14:25:19 +02:00
Jean-Christophe PLAGNIOL-VILLARD
afcb5966ef
xfuncs.h: include linux/types.h to avoid non decleration of size_t
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-27 14:25:18 +02:00
Jean-Christophe PLAGNIOL-VILLARD
54d6627f02
dm9000: allow to specify that no srom is present
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2010-08-23 11:20:21 +08:00
Michael Grzeschik
f1329a1500
usb: add twl4030 phy support
...
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:17:36 +02:00
Sascha Hauer
50c7d68dd8
ehci: Make has_tt configurable via platform data
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
2010-08-06 19:17:22 +02:00
Sascha Hauer
83934e3a59
add twl4030 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
2010-08-06 19:17:06 +02:00
Sascha Hauer
f324eb881a
i2c: Add missing defines for omap
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:16:40 +02:00
Jean-Christophe PLAGNIOL-VILLARD
80758d4083
stddef: introduce true/false enum
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:12:07 +02:00
Jean-Christophe PLAGNIOL-VILLARD
7b2c0d1595
init.h: introduce fake define (__init & __initdata) to simplify the linux sync
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:12:07 +02:00
Jean-Christophe PLAGNIOL-VILLARD
907d7cb909
amba: add pl011
...
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>
2010-08-06 19:09:38 +02:00
Jean-Christophe PLAGNIOL-VILLARD
e0953c5db2
string: add strlcpy support
...
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>
2010-08-06 19:09:38 +02:00
Jean-Christophe PLAGNIOL-VILLARD
9080a35160
clock: Introduce clock framework from Linux
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-08-06 19:08:55 +02:00
Jean-Christophe PLAGNIOL-VILLARD
bee575c9f2
initcall: add postconsole_initcall
...
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>
2010-08-06 19:07:49 +02:00
Sascha Hauer
e0677920d6
barebox ubi changes
...
This adds the layer between barebox and UBI.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:14 +02:00
Sascha Hauer
8dbed40da9
add ubi support from u-boot. Just enough to compile and scan
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:14 +02:00
Sascha Hauer
595a1fd3d5
include stuff missing for ubi
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 15:07:13 +02:00
Sascha Hauer
acc46ca4f0
add partition mtd support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:02 +02:00
Sascha Hauer
a33bc77bdd
add rbtree support (needed for ubi)
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:01 +02:00
Sascha Hauer
1b5de4c0fe
crc32: activate crc32_no_comp (needed for jffs2 and UBI)
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-07-05 13:00:01 +02:00
Sascha Hauer
6d1d9e8d8b
Merge branch 'next'
2010-07-03 10:26:21 +02:00
Baruch Siach
9ad1fe64ab
byteorder: add missing {BIG,LITTLE}_ENDIAN defines
...
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>
2010-06-30 09:06:11 +02:00
Sascha Hauer
257da5cac0
add progression bar function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-28 10:43:55 +02:00
Sascha Hauer
40aad62d1c
Merge remote branch 'origin/assorted-pu' into next
2010-06-28 10:35:58 +02:00
Sascha Hauer
57b56a989f
ehci: Make has_tt configurable via platform data
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:41:15 +02:00
Sascha Hauer
112d65d3d2
fb: add a usage counter to prevent double enable/disable
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:37:40 +02:00
Sascha Hauer
322bace5fb
usbnet: remove unused dev member in struct usbnet
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-24 11:36:42 +02:00
Sascha Hauer
7867ceb8dc
net: implement random_ether_addr
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:44 +02:00
Sascha Hauer
738d70e430
include support for a simple pseudo number generator
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-22 15:44:44 +02:00
Sascha Hauer
f7c02aea7b
Merge branch 'net' into next
2010-06-17 08:29:09 +02:00
Sascha Hauer
cd81aa6e3b
net: add dns support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:29 +02:00
Sascha Hauer
c3789cd49b
rework device parameters
...
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>
2010-06-17 08:28:25 +02:00
Sascha Hauer
57e1fc33bd
net: remove old network stack
...
All network commands now use the new stack, so remove the old one.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-17 08:28:25 +02:00
Sascha Hauer
97070487fa
net: Implement a new network stack
...
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>
2010-06-17 08:28:16 +02:00
Sascha Hauer
994f95c073
net: remove need for eth_halt/eth_open
...
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>
2010-06-17 08:28:16 +02:00
Baruch Siach
514387711f
i2c: add driver for the MC34704 PMIC
...
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-06-10 08:39:26 +02:00
Sascha Hauer
624f936032
i2c: implement i2c_get_adapter()
...
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>
2010-05-26 10:34:58 +02:00
Sascha Hauer
3246e13271
Increase MAX_FILES to 128
...
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>
2010-05-03 15:02:03 +02:00
marc
74a895b923
mc9s08dz60: Fixed incorrect register offsets.
...
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>
2010-04-12 12:13:25 +02:00
Sascha Hauer
56299cc7fd
remove now unused arch_execute
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
edf4e51a82
introduce a arch_shutdown call and call it from shutdown_barebox
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
e723f79cb7
make panic and hang __noreturn functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
e11c07c339
make reset_cpu a __noreturn function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:15:03 +02:00
Sascha Hauer
adaffb5b0c
add process_escape_sequence function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:14:58 +02:00
Sascha Hauer
362d6375aa
add snprintf function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:14:58 +02:00
Sascha Hauer
6d079ae2ca
add unlzo support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:14:58 +02:00
Sascha Hauer
3348c81992
add unaligned access support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-03-30 14:14:58 +02:00
Sascha Hauer
7736782fef
Merge branch 'nor' into next
2010-02-18 08:30:45 +01:00
Marc Kleine-Budde
6351ff2eff
common.h: add compile time check helper functions
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:33 +01:00
Marc Kleine-Budde
8beeb199d7
import recent include/linux/compiler*.h
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:33 +01:00
Marc Kleine-Budde
ccc2adda4c
i2c.h: fix typo in copyright
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-02-16 21:49:33 +01:00
Sascha Hauer
e6b8bdc0c5
cfi_flash: move include/cfi_flash.c next to driver
...
This file has no useful things for others than the driver,
so move it next to the driver and remove the corresponding
include from other files.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-08 14:37:50 +01:00
Sascha Hauer
582da05383
cfi_flash: remove old driver and switch to new one
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-08 14:37:49 +01:00
Sascha Hauer
6cbf70a01a
Merge branch 'pu'
2010-02-01 17:25:59 +01:00
Sascha Hauer
922bb41a47
remove typedef cmd_tbl_t and replace it with struct command
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-02-01 17:25:32 +01:00
Sascha Hauer
b6e633482c
remove obsolete comment
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-25 08:30:53 +01:00
Sascha Hauer
d2a58c2173
remove unused cdp code
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-25 08:30:53 +01:00
Sascha Hauer
976b4be602
Merge branch 'for-sha-mx35-3-stack-updates' of ssh://git.pengutronix.de/git/mkl/barebox into next
2010-01-19 09:25:26 +01:00
Marc Kleine-Budde
23f4449b78
mc13892: clean up driver interface
...
Export mc13892_reg_read, mc13892_reg_write and mc13892_set_bits
function instead of exposing the i2c interface.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-01-18 12:19:28 +01:00
Marc Kleine-Budde
fc268d5584
mc9sdz60: clean up driver interface
...
Export mc9sdz60_reg_read, mc9sdz60_reg_write and mc9sdz60_set_bits
function instead of exposing the i2c interface.
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2010-01-18 12:19:28 +01:00
Eric Benard
f8dc81ba5a
I2C : add NS LP3972 PMIC support
...
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-16 12:32:34 +01:00
Juergen Beisert
2264ac8e65
Start to add ATA support to barebox
...
Add the basic files, declarations and folders to bring in ATA support.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-14 10:06:16 +01:00
Matthias Kaehlcke
6f4ed9536d
Add EP93xx ethernet driver
...
Added ethernet driver for EP93xx SoCs
Signed-off-by: Matthias Kaehlcke <matthias@kaehlcke.net>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2010-01-14 10:04:13 +01:00
Robert P. J. Day
06c5d3d9fa
Remove/adjust erroneous references to CONFIG_MODULE.
...
The correct config variable is CONFIG_MODULES, so tweak any references
to the incorrect CONFIG_MODULE.
Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-21 14:21:45 +01:00
Sascha Hauer
d990747d66
i2c: Add a no-op i2c_register_board_info if i2c is disabled
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:58 +01:00
Sascha Hauer
96b71abf8b
replace // style comments
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:58 +01:00
Sascha Hauer
73108301d4
Remove unnecessary casts in key defines
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-18 16:44:54 +01:00
Sascha Hauer
abb8c0f1d7
fix arch_execute prototype
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-17 13:36:43 +01:00
Juergen Beisert
dac84c7b9d
documentation updates
...
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 11:32:02 +01:00
Sascha Hauer
9491ec7800
Cleanup colleteral damage from renaming
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:19:08 +01:00
Sascha Hauer
a3ffa97f40
rename U-Boot-v2 project to barebox
...
This has been done with the following script:
find -path ./.git -prune -o -type f -print0 | xargs -0 -r sed -i \
-e 's/u2boot/barebox/g' \
-e 's/U2Boot/barebox/g' \
-e 's/U-boot V2/barebox/g' \
-e 's/u-boot v2/barebox/g' \
-e 's/U-Boot V2/barebox/g' \
-e 's/U-Boot-v2/barebox/g' \
-e 's/U_BOOT/BAREBOX/g' \
-e 's/UBOOT/BAREBOX/g' \
-e 's/uboot/barebox/g' \
-e 's/u-boot/barebox/g' \
-e 's/u_boot/barebox/g' \
-e 's/U-Boot/barebox/g' \
-e 's/U-boot/barebox/g' \
-e 's/U-BOOT/barebox/g'
find -path ./.git -prune -o \( -name "*u-boot*" -o -name "*uboot*" -o -name "*u_boot*" \) -print0 | \
xargs -0 -r rename 's/u[-_]?boot/barebox/'
It needs some manual fixup following in the next patch
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-15 10:18:30 +01:00
Juergen Beisert
5ed894e9a6
Combine memory initialization with the main memory functions.
...
Memory allocation is very simple in u-boot-v2. So, it makes also sense to
add the "operating system" emulation layer into the main memory management
source file, to keep them at one place and simple.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Juergen Beisert
86e3217dde
Use nowadays function prototypes
...
Use a function prototype style as used in all other u-boot-v2 sources, too.
Also remove C++ support. We do not use C++ in this project.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Juergen Beisert
7fd641558b
After moving all declarations to the C source, do the same with the doc
...
Done in preparation to provide this documentation for doxygen.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Juergen Beisert
e954ee0647
Remove confusing macros that hide the real functions names
...
This feature is provided, to support more than u-boot-v2. But its more
confusing than helpful. Remove it and do it straight forward like all other
sources in this tree, too.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Juergen Beisert
c35e17dc26
Use the native 'void' instead of 'Void_t'
...
We are in the *NIX world, so keep a 'void' as is.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Juergen Beisert
6f1327ad3f
Move private settings and configuration into the C source
...
Include the board config first to be able to configure the memory management
in the documented way. If not used, the defaults are used.
On the other hand, there is no need to pollute the other source files with
these local management settings. So, move them from the header into the
C source file.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Juergen Beisert
a8abb313cd
Remove unused code
...
Remove unused code to get a better understanding what really is happen in the
source.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Juergen Beisert
da29ff9e00
Include the 'size_t' declaration
...
The 'size_t' declaration is needed for the function prototypes.
Signed-off-by: Juergen Beisert <jbe@pengutronix.de>
2009-12-10 13:09:02 +01:00
Sascha Hauer
ba03618c77
remove unused include files
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-10 12:15:02 +01:00
Sascha Hauer
2af6fe64dc
fb: Add FB_SYNC_ defines from kernel
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-09 17:05:55 +01:00
Sascha Hauer
d870137a17
i.MX flash header: make it work on i.MX35
...
The flash header is used on different i.MXs other than the
i.MX25, so rename it. Also, add a possibility to put a flash
header on different offsets (0x100, 0x400 and 0x1000), needed
for different boot mediums.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 11:12:51 +01:00
Marc Kleine-Budde
9434fe68e4
clock.h: use types.h not linux/types.h
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Acked-by: Juergen Beisert <jbe@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 11:12:36 +01:00
Sascha Hauer
c6f639fafb
NAND: Allow to read oob data
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-12-03 10:46:47 +01:00
Marc Kleine-Budde
ce96b9c05e
mc9sdz60: driver added
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-12-03 10:45:30 +01:00
Marc Kleine-Budde
635dd44d47
mc13892: driver added
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-12-03 10:45:23 +01:00
Marc Kleine-Budde
0d870824a4
i2c: new framework
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-12-03 10:44:42 +01:00
Marc Kleine-Budde
25144c9f7c
nand: ground dev_add_bb_dev if nand is disabled
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-23 10:55:56 +01:00
Marc Kleine-Budde
494f8c1a76
clock.h: uses uint?_t types, so include types.h
...
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
2009-11-23 10:55:48 +01:00
Sascha Hauer
73d57b1d35
list: remove duplicated list.h
...
We accidently have two list implementations in the tree:
include/list.h and include/linux/list.h. This patch moves
the latter (newer one) to include/linux/list.h.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-03 09:48:53 +01:00
Jean-Christophe PLAGNIOL-VILLARD
483d4e0857
driver: add dev_name inline
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-02 08:23:45 +01:00
Jean-Christophe PLAGNIOL-VILLARD
318e743323
add bool types support
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-11-02 08:23:23 +01:00
Sascha Hauer
40a5f3de4e
Merge branch 'for-sascha' of git://uboot.jcrosoft.org/u-boot-v2 into from-jean
...
Conflicts:
board/a9m2440/a9m2440.c
board/pcm043/pcm043.c
drivers/nand/nand_imx.c
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-28 10:10:56 +01:00
Juergen Beisert
afae995ef9
S3C24xx: Provide a generic way to detect memory size
...
This patch adds code to determine the current available SDRAM size. It relies
on other routines setting up the SDRAM controller, because it only read back
their settings.
Signed-off-by: Juergen Beisert <juergen@kreuzholzen.de>
2009-10-28 09:44:41 +01:00
Sascha Hauer
a30b9d4872
IMX_NAND_BASE -> IMX_NFC_BASE
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:12:00 +01:00
Sascha Hauer
a968fad1cd
imx_nand: allow flash based bbt
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Sascha Hauer
011f6dca89
mxc_nand: determine page and block size depending on NFMS bit
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-26 13:06:02 +01:00
Eric Benard
8b05f7528c
imx-nand : remove wrong part of commit ca326e8882
...
previous fix for 2k pages was wrong so remove it
Signed-off-by: Eric Benard <eric@eukrea.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-23 09:42:01 +02:00
Jean-Christophe PLAGNIOL-VILLARD
daad436bf7
[M68K] Move include/asm-m68k/{arch,proc}-* to arch/m68k/*/include/{mach,proc}
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:23:26 +02:00
Jean-Christophe PLAGNIOL-VILLARD
139b569c07
[M68K] move include/asm-m68k to arch/m68k/include/asm
...
Move platform independent header files to arch/m68k/include/asm, leaving
those in asm/arch* and asm/proc*.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:30 +02:00
Jean-Christophe PLAGNIOL-VILLARD
e988d5d990
[PPC] Move include/asm-ppc/arch-* to arch/ppc/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:30 +02:00
Jean-Christophe PLAGNIOL-VILLARD
abd9cd4945
[PPC] move include/asm-ppc to arch/ppc/include/asm
...
Move platform independent header files to arch/ppc/include/asm, leaving
those in asm/arch*.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:29 +02:00
Jean-Christophe PLAGNIOL-VILLARD
b4521685bf
[SANDBOX] Move include/asm-sandbox/arch-* to arch/sandbox/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:29 +02:00
Jean-Christophe PLAGNIOL-VILLARD
e2a7b79cfc
[SANDBOX] move include/asm-sandbox to arch/arm/include/sandbox
...
Move platform independent header files to arch/sandbox/include/asm, leaving
those in asm/arch*.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:28 +02:00
Jean-Christophe PLAGNIOL-VILLARD
37e96f83bc
[BLACKFIN] move include/asm-blackfin to arch/blackfin/include/asm
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:28 +02:00
Jean-Christophe PLAGNIOL-VILLARD
f6a579da9c
[ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 14:21:25 +02:00
Jean-Christophe PLAGNIOL-VILLARD
9956bdf77d
arm: merge proc-armv/ptrace.h and ptrace.h in one file
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:48 +02:00
Jean-Christophe PLAGNIOL-VILLARD
67254a403f
[ARM] move include/asm-arm to arch/arm/include/asm
...
Move platform independent header files to arch/arm/include/asm, leaving
those in asm/arch* and asm/proc* alone.
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-22 12:12:47 +02:00
Sascha Hauer
14eb082606
hush: remove include/hush.h
...
Everything in include/hush.h is only used in hush.c, so remove
the header file.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-22 11:17:25 +02:00
Peter Korsgaard
b8399573ba
image.h: amd64 support
...
Use IH_CPU_I386 for amd64 machines as well, so bootm.c is able to build
on amd64 sandbox.
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-21 09:38:57 +02:00
Jean-Christophe PLAGNIOL-VILLARD
a08615b2da
at91sam9: switch to the same api as the kernel
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:39 +02:00
Jean-Christophe PLAGNIOL-VILLARD
7ac3805353
at91: add cpu devices common api
...
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:37 +02:00
Jean-Christophe PLAGNIOL-VILLARD
81362c2b2a
at91sam9: move to at91
...
this will allow to add at91rm9200 with the same api as done in the kernel
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
2009-10-20 15:02:36 +02:00
Sascha Hauer
420a3173f0
commands: remove maxargs
...
No need to check for maximum argument counts. The commands are
safe to be called with more arguments, so lets safe some bytes.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 16:18:33 +02:00
Sascha Hauer
bc3e7b31f1
remove unused header file
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-19 12:21:44 +02:00
Sascha Hauer
0ecf7f1aeb
commands: add defines for command errors/success
...
This allows us to return COMMAND_ERROR_USAGE for
a failed command which will then print the usage,
a very common case for commands.
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:52 +02:00
Sascha Hauer
cf996861d7
remove unused typedef
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer
ef7ff70ca4
consolidate command calling in execute_command
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer
2dc2132f0e
remove global variable BootFile
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-19 10:18:51 +02:00
Sascha Hauer
a5f301fb7a
remove unused variable NetBootFileSize
...
Signed-off-by: Sascha Hauer <sha@pengutronix.de>
2009-10-17 08:54:57 +02:00
Sascha Hauer
146f9b6e5b
remove sntp support. Has been broken for long enough
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:19:28 +02:00
Sascha Hauer
1d73a42006
imxfb: make framebuffer base address configurable
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer
faa61661cf
only the ping code is interested in the ping ip
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 11:02:15 +02:00
Sascha Hauer
8c17c465d6
make netboot_common a global function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 10:57:41 +02:00
Sascha Hauer
a3a5927110
net: remove switch/case in NetLoop()
...
Instead of having a big switch/case for every protocol, do
the right things in the individual functions before callong
NetLoop().
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 10:57:40 +02:00
Sascha Hauer
9296260a78
net: split NetLoop in NetLoop and NetLoopInit
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 10:49:21 +02:00
Sascha Hauer
3487f1ee8e
net: remove unused state NETLOOP_RESTART
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-13 10:48:56 +02:00
Sascha Hauer
b71685e1f4
add USB otg pin definitions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-09 11:58:32 +02:00
Sascha Hauer
0f7c7fdc0c
i.MX introduce cpu_is_*() macros
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-05 08:41:13 +02:00
Sascha Hauer
5931e20907
imx spi: Use gpio as chip selects
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:25 +02:00
Sascha Hauer
d13f32d50a
imx: replace imx specific gpio functions with generic ones
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:34:03 +02:00
Sascha Hauer
2baeaf38f3
fs: replace broken dev_protect with protect_file function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-10-02 15:23:22 +02:00
Sascha Hauer
d9345607aa
Add USB device support
...
This patch adds support for USB devices. It uses
the Linux Kernel gadget API. Along with this patch
comes driver support for the Freescale (arc) USB OTG
Core and USB Device Firmware Update (DFU)
The serial gadget support is not working at the moment.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 14:31:26 +02:00
Sascha Hauer
3820307eb0
rename dma macros
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:34:57 +02:00
Sascha Hauer
0a0920af28
add xstrdup function
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:33:57 +02:00
Sascha Hauer
a205b87fa2
make copy_file() globally available
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-25 13:33:52 +02:00
Sascha Hauer
f46010a1ab
devfs: add open counter
...
Add an open counter for device files so that we cannot accidently
remove an opened device. This happened with bb devices.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-11 09:13:33 +02:00
Sascha Hauer
34a299d8a6
usb: remove unused fields from struct usb_device
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-09 11:51:28 +02:00
Sascha Hauer
970606b123
imx27: Add usb defines
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-09 11:50:55 +02:00
Sascha Hauer
13d3db22d3
Add MX25 support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer
1d2f68baa8
add iomux definitions for mx25
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-09-08 12:42:55 +02:00
Sascha Hauer
e2c8e8a180
Add MMU support
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:30 +02:00
Sascha Hauer
49ff3691b4
arm: Add bootu command
...
bootu command to start raw (uncompressed) Linux images
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:51:01 +02:00
Sascha Hauer
5db3059ebc
arm: make 'bootz' configurable
...
also, fix compilation with bootm disabled
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-19 10:50:31 +02:00
Sascha Hauer
270c2673a1
arm: implement optimized string functions
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-18 15:45:00 +02:00
Sascha Hauer
b96916ac9b
add missing include/fb.h
...
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
2009-08-13 10:42:54 +02:00