aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2011-03-28RF: MT6140 initial supportHEADmasterxpumami9-1/+1005
This patch provides initial drivers for BPI, BSI, BFE and MT6140. Currently it just supports TX path on low band (for testing purposes). Signed-off-by: xpumami <xpumami@xpumami-OptiPlex-760.(none)>
2011-02-17defconfig: Update of Sciphone G2 default configMarcin Mielczarczyk1-3/+10
Removed option 'environment in NAND' to protect phone from accidentally storing environment in flash memory (would corrupt original firmware). Boot options has been updated to get kernel from SD card and mount root file system from SD card. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17logo: OsmocomBB logo updatedMarcin Mielczarczyk2-1/+1
New OsmocomBB logo has been added on splash screen of U-Boot. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: Vibrator control in SPLMarcin Mielczarczyk2-1/+10
To inform user that SPL has successfully started, vibrator is turned on just before loading code from NAND. Vibrator is turned off when code loading is finished, thanks to which user knows that SPL has loaded code from NAND to SDRAM and didn't hang up. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: Vibrator functionalityMarcin Mielczarczyk8-2/+170
This patch adds vibrator functionality. It implements vibrator driver and introduces new U-Boot command: vibrate Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: NAND driver read/write fixMarcin Mielczarczyk1-2/+12
Added checking if read FIFO is not empty during reading and if write FIFO is not full during writing. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17lcd: Support for LCD frame buffer.Marcin Mielczarczyk14-74/+1185
Driver for LCD controller/frame buffer has been provided. Now, it's possible to redirect console output to LCD screen and display logo/splash screen on LCD. The driver has been tested with ILI9325 and ILI9331 chip drivers. Signed-off-by: Krzysztof Antonowicz <krzysztof.antonowicz@tieto.com>
2011-02-17u-boot: BMP_LOGO tool fixesMarcin Mielczarczyk1-2/+8
This patch fixes two issues: * width of bitmap has to be aligned to 4 (otherwise padding bytes will be added and bitmap will be not properly displayed) * size of bitmap can't be bigger than 65535 (LCD on Sciphone G2 is 240x320 = 76800) Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: ENV in NAND and MTD partitionsMarcin Mielczarczyk1-11/+16
This patch configures U-Boot's environment to be placed in NAND and adds MTD partitions support. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: Support for saving BBT in NANDMarcin Mielczarczyk2-30/+80
This implementation allows U-Boot to save BBT table in NAND. Without this option BBT table is created everytime when first nand command is executed (except "nand dump"). Full scanning of NAND takes long time and unnecessarily delays start of platform. NOTE! This option is disabled by defaut as at startup it deletes last two blocks of NAND. Most of people run code from RAM and don't have NAND memory dumped yet. If you don't like to wait on first nand command, you should define MT62XX_NAND_BBT_IN_NAND. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: MT62xx boot header generatorMarcin Mielczarczyk1-0/+356
This tool generates boot header which is parsed by IPL (Internal Program Loader). Generated boot header is placed at the begining of given binary file. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: NAND SPL functionality addedMarcin Mielczarczyk8-27/+960
Implementation of Secondary Program Loader which loads U-Boot from NAND memory to SDRAM memory. SBL is loaded by IPL (Initial Program Loader) at processor startup. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: ARM926EJS preloader BSS fixMarcin Mielczarczyk1-1/+3
Even in preloader configuration BSS section should be cleared, otherwise initialized variables will have wrong values. Relocation symbols are not available in SBL configuration and should be not included. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: Support for NAND with HW ECCMarcin Mielczarczyk2-43/+412
Implementation of MT62xx NAND controller (NFI) which supports large page devices and small page devices. It also enables hardware ECC control. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@tieto.com>
2011-02-17sciphone_g2: Changed load addressMarcin1-1/+12
Loading U-Boot code at low addresses (begining of RAM) can cause problem. Function get_ram_size() detects size of RAM writing pattern between 256MB and 0MB. It takes highest address and divides it by 2 on every iteration. It's possible that this function will destroy code which is executed at the moment (writing detection pattern). U-Boot will probably not occupy more than 2MB, so it's safe to load code between 4MB and 8MB (excluding 0x400000 and 0x800000). Loading U-Boot at address 0x500000 eliminates problem with get_ram_size() function. Signed-off-by: Marcin <marcin.mielczarczyk@gmail.com>
2011-02-17sciphone_g2: Added support for SD/MMC memory cards.Krzysztof Antonowicz7-0/+1254
Driver for MSDC controller added to U-boot. Signed-off-by: Krzysztof Antonowicz <krzysztof.antonowicz@gmail.com>
2011-02-17sciphone_g2: Added support for Sciphone G2Marcin Mielczarczyk17-0/+1214
Added support for Sciphone G2 mobile phone based on MT6235. Signed-off-by: Marcin Mielczarczyk <marcin.mielczarczyk@gmail.com>
2011-02-15add checking the CONFIG_ENV_IS_IN_SPI_FLASH in Enbedded envYoshihiro Shimoda1-1/+2
Fix the problem which cannot build the U-boot, if we only set the CONFIG_ENV_IS_IN_SPI_FLASH. Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com> Acked-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2011-02-15net: ne2000: Add spport RTL-8019ASNobuhiro Iwamatsu1-1/+2
Add infomation of RTL-8016AS to hw_info. Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> CC: Ben Warren <biggerbadderben@gmail.com>
2011-02-15unzip: return uncompressed size in `filesize', and print it.Wolfgang Denk1-1/+9
The unzip command did not provide a way for the caller to get any information about the uncompressed size. To make it better usable in scripts, we now store the uncompressed size in the `filesize' variable, like we do when for example loading a file over the network or when reading it from a file system. Following that analogy, it is only consequent to also print the size. Signed-off-by: Wolfgang Denk <wd@denx.de>
2011-02-15itest: fix result of string comparesWolfgang Denk1-5/+2
The implementation of the string compare function of the "itest" command was weird, as only the length of the shortest argument was included in the compare, with the result that something like "itest.s abd == abddef" would return TRUE. Fix this. Signed-off-by: Wolfgang Denk <wd@denx.de> Acked-by: Detlev Zundel <dzu@denx.de>
2011-02-15microblaze: Fix msr handling in interrupt_handlerMichal Simek1-18/+1
Fix ancient code which worked with MSR in a bad way. Use rtid instruction which enable IRQs and jump. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-02-15microblaze: Fix systems with MSR=0Michal Simek1-1/+1
u-boot BSP generates XILINX_USE_MSR_INSTR macro even for system with MSR=0. That's why explicitly check that MSR=1. Signed-off-by: Michal Simek <monstr@monstr.eu>
2011-02-12Merge branch 'master' of git://git.denx.de/u-boot-mipsWolfgang Denk9-145/+39
2011-02-12eNET: Move initial Global Data into CARGraeme Russ1-1/+1
2011-02-12sc520: Release CAR and enable cachingGraeme Russ1-5/+11
2011-02-12x86: Convert board_init_f to use an init_sequenceGraeme Russ1-41/+29
2011-02-12x86: Rearrange function calls in board_init_fGraeme Russ1-8/+8
2011-02-12x86: Split board_init_f() into init_fnc_t compatible functionsGraeme Russ2-49/+74
2011-02-12x86: Fix incorrect usage of relocation offsetGraeme Russ2-6/+6
x86 has always used relocation offset in the opposite sense to the ELF standard - Fix this
2011-02-12x86: Move console initialisation into board_init_fGraeme Russ1-3/+12
2011-02-12x86: Move test for cold boot into init functionsGraeme Russ2-13/+11
2011-02-12x86: Move call to dram_init_f into board_init_fGraeme Russ3-3/+4
2011-02-12x86: Defer setup of final stackGraeme Russ2-17/+33
2011-02-12sc520: Move RAM sizing code from asm to CGraeme Russ10-767/+611
2011-02-12x86: Use Cache-As-RAM for initial stackGraeme Russ5-21/+135
2011-02-12x86: Move initial gd to fixed locationGraeme Russ4-19/+39
2011-02-12eNET: General code cleanupGraeme Russ3-186/+129
2011-02-12eNET: Rearrange PAR assignmentsGraeme Russ2-30/+46
2011-02-12eNET: Define MMCR values in config.hGraeme Russ3-46/+445
2011-02-12eNET: Add RTC support to eNETGraeme Russ2-0/+8
The SC520 has an inbuilt MC146818 - Enable it for the eNET board
2011-02-12eNET: Fix eNET Interrupt Setup for LinuxGraeme Russ1-6/+9
Fix minor issues with the configuration of the hardware interrupts for Linux when booting the eNET board
2011-02-12sc520: Remove printf calls from cpu_init_fGraeme Russ1-2/+0
In later patches, cpu_init_f will be called before console has been initialised and printf will not be legitimately available
2011-02-12sc520: Move board specific settings to board init functionGraeme Russ2-19/+9
2011-02-12sc520: Define MMCR address in include fileGraeme Russ4-39/+55
2011-02-12x86: Make cpu init functions weakGraeme Russ4-32/+17
2011-02-12x86: Call early_board_init when warm bootingGraeme Russ1-5/+5
early_board_init has been skipped to avoid SDRAM corruption in the case that a fully relocatable image has been loaded into SDRAM and is being executed from SDRAM. x86 is being aligned with other architectures (ARM and PPC in particlar) and will be using Cache-As-RAM to run a C environment from Flash (or SRAM if you have some). early_board_init may be needed to assist in the setup of Cache-As-RAM and the early C environment
2011-02-12x86: Add processor flags header from linuxGraeme Russ6-10/+121
2011-02-12x86: Move Global Descriptor Table defines to processor.hGraeme Russ2-10/+7
2011-02-12x86: Add stack dump to register dumpGraeme Russ1-0/+16