summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2013-11-08include: delete include/linux/config.hMasahiro Yamada
Linux Kernel abolished include/linux/config.h long time ago. (around version v2.6.18..v2.6.19) We don't need to provide Linux copatibility any more. This commit deletes include/linux/config.h and fixes source files not to include this. Signed-off-by: Masahiro Yamada <[email protected]>
2013-11-08config/sandbox: Add EFI and GPT supportEgbert Eich
Signed-off-by: Egbert Eich <[email protected]>
2013-11-08config: Define HAVE_BLOCK_DEVICE when CONFIG_CMD_GPT is setEgbert Eich
Signed-off-by: Egbert Eich <[email protected]>
2013-11-08usb, g_dnl: make iSerialNumber board configurableHeiko Schocher
add the possibility to set the iSerialNumber board specific. Default value for iSerialNumber is 0x0. This value can changed board specific through the new function g_dnl_set_serialnumber() which must be called from the board specific function g_dnl_bind_fixup(). Signed-off-by: Heiko Schocher <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Lukasz Majewski <[email protected]> Cc: Kyungmin Park <[email protected]> Tested-by: Lukasz Majewski <[email protected]>
2013-11-08usb: ums: add ums exit feature by ctrl+c or by detach usb cablePrzemyslaw Marczak
This patch allows exiting from UMS mode to u-boot prompt by detaching usb cable or by pressing ctrl+c. Add new config: CONFIG_USB_CABLE_CHECK. If defined then board file should provide function: usb_cable_connected() (include/usb.h) that return 1 if cable is connected and 0 otherwise. Changes v2: - add a note to the README Signed-off-by: Przemyslaw Marczak <[email protected]> Cc: Marek Vasut <[email protected]>
2013-11-08usb: ums: move ums code from trats to Samsung common directoryPrzemyslaw Marczak
UMS init was implemented in trats board file but mostly it comprises common code. Due to that it has been moved to common/ums.c to avoid code duplication in the future. Changes: - move ums initialization code from trats to common/ums.c - remove unused CONFIG_USB_GADGET_MASS_STORAGE from trats.h Changes v2: - move this patch at the top of code cleanups patches Signed-off-by: Przemyslaw Marczak <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Minkyu Kang <[email protected]>
2013-11-08usb: ums: fix disk capacity miscalculation and code cleanupPrzemyslaw Marczak
This patch prevents: - ums disk capacity miscalculation because of integer overflow Changes v2: - Prevents passing zero size disk capacity to ums gadget driver - Change function ums_get_capacity() to ums_disk_init() and do ums disk initialization before gadget init - Remove unnecessary code from mass storage driver Signed-off-by: Przemyslaw Marczak <[email protected]> Cc: Marek Vasut <[email protected]>
2013-11-08usb: ums: code refactoring to improve reusability on other boards.Przemyslaw Marczak
This patch introduces some cleanups to ums code. Changes: ums common: - introduce UMS_START_SECTOR and UMS_NUM_SECTORS as defined in usb_mass_storage.h both default values as 0 if board config doesn't define them common cleanup changes: - change name of struct "ums_board_info" to "ums" - "ums_device" fields are moved to struct ums and "dev_num" is removed - change function name: board_ums_init to ums_init - remove "extern" prefixes from usb_mass_storage.h cmd_usb_mass_storage: - change error() to printf() if need to print info message - change return values to command_ret_t type at ums command code - add command usage string Changes v2: ums common: - always returns number of read/write sectors - coding style clean-up ums gadget: - calculate amount of read/write from device returned value. Signed-off-by: Przemyslaw Marczak <[email protected]> Cc: Marek Vasut <[email protected]>
2013-11-08cosmetic: remove empty lines at the top of fileMasahiro Yamada
Signed-off-by: Masahiro Yamada <[email protected]>
2013-11-08Add support for SX151x SPI GPIO ExpandersViktar Palstsiuk
Signed-off-by: Viktar Palstsiuk <[email protected]>
2013-11-08EP88x: remove remainders of dead boardMasahiro Yamada
Commit 1b0757e deleted the EP88x entry from boards.cfg file. But it missed to remove include/configs/EP88x.h and board/ep88x/. This commit removes them and adds EP88x to README.scrapyard. Signed-off-by: Masahiro Yamada <[email protected]> Cc: Wolfgang Denk <[email protected]>
2013-11-07Merge branch 'u-boot-imx/master' into 'u-boot-arm/master'Albert ARIBAUD
2013-11-06ColdFire: fix some typoes for CF platformjason
Signed-off-by: Jason Jin <[email protected]>
2013-11-06coldfire: cpu5282: increase malloc space to fix crash on start u-bootJens Scharsig (BuS Elektronik)
The malloc space is to small to boot, the current uboot 2013.10-rcX, This will fix the startup problems by increasing the mallog space to 4MiB. Signed-off-by: Jens Scharsig (BuS Elektronik) <[email protected]>
2013-11-05Merge branch 'u-boot-atmel/master' into 'u-boot-arm/master'Albert ARIBAUD
2013-11-04ARM: ATMEL: eb_cpux9k2: fix TEXT_BASE for ramboot targetJens Scharsig (BuS Elektronik)
Since more functions are enabled, the eb_cpux9k2_ram target does not boot. This patch changed the TEXT_BASE, that the code fits between TEXT_BASE and ram end. Signed-off-by: Jens Scharsig (BuS Elektronik) <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-04arm: atmel: get rid of too many ifdefferyBo Shen
Get rid of too many ifdeffery in usb ohci driver Add following two configuration for USB clock selecting - CONFIG_USB_ATMEL_CLK_SEL_PLLB: using PLLB as usb ohci input clock - CONFIG_USB_ATMEL_CLK_SEL_UPLL: using UPLL as usb ohci input clock Signed-off-by: Bo Shen <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-04arm: atmel: at91sam9n12ek: add usb host supportBo Shen
Add usb host support for at91sam9n12ek board. Signed-off-by: Bo Shen <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-04ARM: versatile: convert to common timer codeRob Herring
Convert versatile to use the commmon timer code. Signed-off-by: Rob Herring <[email protected]>
2013-11-04ARM: tegra: convert to common timer codeRob Herring
Convert tegra to use the commmon timer code. Signed-off-by: Rob Herring <[email protected]>
2013-11-04ARM: socfpga: convert to common timer codeRob Herring
Convert socfpga to use the commmon timer code. Signed-off-by: Rob Herring <[email protected]>
2013-11-04ARM: vexpress: convert to common timer codeRob Herring
Convert vexpress to use the commmon timer code. Signed-off-by: Rob Herring <[email protected]>
2013-11-04ARM: mx25: convert to common timer codeRob Herring
Convert mx25 to use the commmon timer code. Signed-off-by: Rob Herring <[email protected]>
2013-11-04ARM: highbank: convert to common timer codeRob Herring
Convert highbank to use the commmon timer code. Signed-off-by: Rob Herring <[email protected]>
2013-11-04Introduce common timer functionsRob Herring
Many platforms duplicate pretty much the same timer code yet they all have a 32-bit freerunning counter register. Create a common implementation that minimally requires 2 or 3 defines to add timer support: CONFIG_SYS_TIMER_RATE - Clock rate of the timer counter CONFIG_SYS_TIMER_COUNTER - Address of 32-bit counter CONFIG_SYS_TIMER_COUNTS_DOWN - Define if counter counts down All functions are weak or ifdef'ed so they can still be overriden by any platform. Signed-off-by: Rob Herring <[email protected]>
2013-11-04config: remove platform CONFIG_SYS_HZ definition part 2/2Rob Herring
Remove platform CONFIG_SYS_HZ definition for configs a-z*. Signed-off-by: Rob Herring <[email protected]>
2013-11-04config: remove platform CONFIG_SYS_HZ definition part 1/2Rob Herring
Remove platform CONFIG_SYS_HZ definition for configs A-Z*. Signed-off-by: Rob Herring <[email protected]>
2013-11-04config: consolidate CONFIG_SYS_HZ definitionRob Herring
According to the README, CONFIG_SYS_HZ must be 1000 and most platforms follow that. In preparation to remove CONFIG_SYS_HZ from all these platforms, provide a common definition. The platforms which use a value other than 1000 will get build warning now. These configs are: include/configs/M5271EVB.h:#define CONFIG_SYS_HZ 1000000 include/configs/balloon3.h:#define CONFIG_SYS_HZ 3250000 /* Timer @ 3250000 Hz */ include/configs/idmr.h:#define CONFIG_SYS_HZ (50000000 / 64) include/configs/mini2440.h:#define CONFIG_SYS_HZ 1562500 include/configs/mx1ads.h:#define CONFIG_SYS_HZ 3686400 include/configs/omap3_zoom2.h:#define CONFIG_SYS_HZ ((V_SCLK) / (2 << CONFIG_SYS_PTV)) include/configs/omap730p2.h:#define CONFIG_SYS_HZ ((CONFIG_SYS_CLK_FREQ)/(2 << CONFIG_SYS_PTV)) include/configs/palmld.h:#define CONFIG_SYS_HZ 3250000 /* Timer @ 3250000 Hz */ include/configs/palmtc.h:#define CONFIG_SYS_HZ 3686400 /* Timer @ 3686400 Hz */ include/configs/rsk7203.h:#define CONFIG_SYS_HZ (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER) include/configs/rsk7264.h:#define CONFIG_SYS_HZ (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER) include/configs/rsk7269.h:#define CONFIG_SYS_HZ (CONFIG_SYS_CLK_FREQ / CMT_CLK_DIVIDER) include/configs/scb9328.h:#define CONFIG_SYS_HZ 3686400 /* incrementer freq: 3.6864 MHz */ include/configs/versatile.h:#define CONFIG_SYS_HZ (1000000 / 256) include/configs/zipitz2.h:#define CONFIG_SYS_HZ 3250000 /* Timer @ 3250000 Hz */ Signed-off-by: Rob Herring <[email protected]>
2013-11-04config: Add a default CONFIG_SYS_PROMPTRob Herring
The definitions for CONFIG_SYS_PROMPT are varied with little reason other than to display the board name. Over half the definitions are "==> ", so make this the default. The rest of the boards remain unchanged to avoid breaking any external scripts expecting a certain prompt. Signed-off-by: Rob Herring <[email protected]> Reviewed-by: Fabio Estevam <[email protected]>
2013-11-04Revert "configs: imx: Make CONFIG_SYS_PROMPT uniform across FSL boards"Stefano Babic
This reverts commit 178b8e15ade96c7bd59b9704b91ca51d27c391cd. Patch was merged too fast, without checking that another patch is fixing the reported issue globally - reverted. Signed-off--by: Stefano Babic <[email protected]>
2013-11-01TI:omap5: Add rdaddr, use consistent loadaddr valuesTom Rini
rdaddr was missing which is a common location for loading ramdisks to. loadaddr was higher than it needs to be, so use the same value other TI platforms use. Signed-off-by: Tom Rini <[email protected]>
2013-11-01cm_t35: turn on GPIO commandsNikita Kiryanov
Turn on GPIO commands for cm-t35 and cm-t3730. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2013-11-01cm_t35: reduce default bootdelay to 3 secondsNikita Kiryanov
Current default bootdelay of 10 seconds is too long. Reduce default bootdelay to 3 seconds. Signed-off-by: Nikita Kiryanov <[email protected]> Signed-off-by: Igor Grinberg <[email protected]>
2013-11-01dra7xx_evm: Enabled UART-boot mode and add dra7xx_evm_uart3 buildMinal Shah
UART booting is supported on this SoC, but via UART3 rather than UART1. Because of this we must change the board to use UART3 for all console access (only one UART is exposed on this board and a slight HW mod is required to switch UARTs). Signed-off-by: Minal Shah <[email protected]> [trini: Make apply to mainline, reword commit] Signed-off-by: Tom Rini <[email protected]>
2013-11-01TI:armv7: Change CONFIG_SYS_SPL_ARGS_ADDR to a higher addressTom Rini
With changes to increase the size of the device tree (required to move more data out of the kernel and into DT), loading the args at the old address leads to us overwriting things later on. To correct this, load the args file to where we load the device tree anyhow. This is also safe for non-DT booting as in either case we use r2 to pass in the location of things. Signed-off-by: Tom Rini <[email protected]>
2013-11-01am335x: Enable CONFIG_OMAP_WATCHDOG supportTom Rini
There is a board-specific portion for calling watchdog enable itself, in main U-Boot. Signed-off-by: Tom Rini <[email protected]>
2013-11-01tricorder: support 256MiB SDRAM on revision > DAndreas Bießmann
Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: read kernel directly from NANDAndreas Bießmann
Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: switch to alternative memtestThomas Weber
Increase the tested memory region for mtest and define CONFIG_SYS_MEMTEST_SCRATCH for CONFIG_SYS_ALT_MEMTEST Signed-off-by: Thomas Weber <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: Make u-boot fasterThomas Weber
Silent u-boot and no bootdelay Signed-off-by: Thomas Weber <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: add led supportAndreas Bießmann
Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: panic() on unknown boardAndreas Bießmann
Also hang() the board on panic(). Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: add tricordereeprom commandAndreas Bießmann
The new tricordereeprom command can read and write the eeprom for hardware detection on tricorder devices. Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: add mtdparts to environmentAndreas Bießmann
Before we always ran 'mtdparts default' which also set the mtdparts and mtdids environment. But if we changed that values by intention we will overwrite them with our default values. This is obviously bad! Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: add cmdline historyAndreas Bießmann
Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: use generic provided loadaddrAndreas Bießmann
Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: update flash partitioningAndreas Bießmann
The new flash layout respects posible bad blocks in sectors reserved for e.g. SPL, u-boot, kernel, env a.s.o. Additionally this patch prepares for U-Boot Falcon mode for boot time saving. Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01tricorder: remove lcdmode from bootargsThomas Weber
Signed-off-by: Thomas Weber <[email protected]> Signed-off-by: Andreas Bießmann <[email protected]>
2013-11-01arm, da85x: update for the ipam390 boardHeiko Schocher
- switch to correct ecc layout used by the RBL enable CONFIG_NAND_6BYTES_OOB_FREE_10BYTES_ECC - update default environment - change A2CR to correct value for UART boot mode - adapt cs3cfg timings for nand - change LED bootmode signalization Signed-off-by: Heiko Schocher <[email protected]> Cc: Tom Rini <[email protected]>
2013-11-01ARM: OMAP4: Convert to ti_armv7_common.hLokesh Vutla
Update omap4_common.h to use ti_armv7_common.h Testing: * Boot tested on OMAP4430 ES2.1 OMAP4460 ES1.1 SDP, OMAP4 PANDA/PANDA ES * Verified ./MAKEALL -s omap Signed-off-by: Lokesh Vutla <[email protected]>