summaryrefslogtreecommitdiff
path: root/include
Commit message (Collapse)AuthorAgeLines
* ENGR00292012 MX6SL EVK:Increase env offset to 512KiBrel_imx_3.10.17_1.0.0_betaimx_v2013.04_3.10.17_1.0.0_betaLiu Ying2013-12-13-1/+1
| | | | | | | | | | This patch increases Uboot environmental variable offset from 384KiB to 512KiB to align with MX6 Sabre platforms so that we may simplify mfgtool implementation. Tested-by: Robby Cai <R63905@freescale.com> Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 1260160c062e31536ae70137e5c52ce03328a3e1)
* ENGR00291115-2 MX6 Sabreauto:Add IPUv3 splash screen supportLiu Ying2013-12-11-19/+18
| | | | | | | | | | | | | | | | This patch adds IPUv3 splash screen support for the MX6Q/SDL Sabreauto platforms. The default display is the Hannstar-XGA LVDS panel. Users may set the uboot variable 'panel' to be 'HDMI' to switch to use HDMI splash screen. To avoid duplicate configures on different sabre platforms, this patch moves the IPUv3 splash screen relevant configures to the head file 'mx6qsabre_common.h'. Also, this patch modifies the condition to build in EPDC splash screen feature in order to avoid the build break due to the migration of the IPUv3 splash screen relevant configures. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit 346c9db1eec35d91669ee3bfb38ba672a06705f0)
* ENGR00291115-1 MX6 common:Increase env offset for MMCLiu Ying2013-12-11-1/+1
| | | | | | | | | | | Uboot image size will be larger than 400KiB, when we add the splash screen with IPUv3 at this stage. So, the patch increases CONFIG_ENV_OFFSET from 384KiB to 512KiB for MMC to avoid overlapping bewteen the Uboot image and the environmental data. Signed-off-by: Liu Ying <Ying.Liu@freescale.com> (cherry picked from commit a3696740eba4027a8d61ca06edc650d90f2e6d2a)
* mx6qsabresd: Add splash screen support via HDMIPardeep Kumar Singla2013-11-22-1/+18
| | | | | | | Signed-off-by: Pardeep Kumar Singla <b45784@freescale.com> (cherry picked from commit 58cc97877713f46d2e7dfd515844c29c70c56d82) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 53cc4d3645875739eb85992083dadd7dd0fdf9e4)
* mx6: Factor out common HDMI setup codePardeep Kumar Singla2013-11-22-0/+2
| | | | | | | | | | | | | | | Instead of duplicating HDMI setup code for every mx6 board, factor out the common code Signed-off-by: Pardeep Kumar Singla <b45784@freescale.com> Acked-By: Eric Nelson <eric.nelson@boundarydevices.com> (cherry picked from commit 5ea7f0e328c19542ce96d8242125b51b3dbca86b) Conflicts: arch/arm/cpu/armv7/mx6/soc.c arch/arm/include/asm/arch-mx6/clock.h Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit e968e5301c42d2c2071f9ef871cfee8200e58b11)
* video: consolidate splash screen alignment codeAnatolij Gustschin2013-11-22-0/+7
| | | | | | | | | | | | | Code for checking "splashpos" environment variable is duplicated in drivers, move it to the common function. Call this function also in the bmp display command to consider "splashpos" settings. Signed-off-by: Anatolij Gustschin <agust@denx.de> Acked-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit ff8fb56b6f7edafc1bcba8ef008b3f368cabe60d) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 9eba1a8ff0b87142306b557559be8a2a5e6e839a)
* video: lcd: Add CONFIG_SPLASH_SCREEN_PREPARE support to CONFIG_VIDEORobert Winkler2013-11-22-1/+29
| | | | | | | | | | | Create splash.c/h to put the function and any future common splash screen code in. Signed-off-by: Robert Winkler <robert.winkler@boundarydevices.com> Acked-by: Igor Grinberg <grinberg@compulab.co.il> (cherry picked from commit dd4425e85260c2e750676e2dc9c225cfff1b4bcd) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 46ed430cf175585c4b2926d648c90efaf9bbec49)
* lcd: add functions to set up simplefb device treeStephen Warren2013-11-22-0/+3
| | | | | | | | | | | | | | | | | | | simple-framebuffer is a new device tree binding that describes a pre- configured frame-buffer memory region and its format. The Linux kernel contains a driver that supports this binding. Implement functions to create a DT node (or fill in an existing node) with parameters that describe the framebuffer format that U-Boot is using. This will be immediately used by the Raspberry Pi board in U-Boot, and likely will be used by the Samsung ARM ChromeBook support soon too. It could well be used by many other boards (e.g. Tegra boards with built-in LCD panels, which aren't yet supported by the Linux kernel). Signed-off-by: Stephen Warren <swarren@wwwdotorg.org> Acked-by: Simon Glass <sjg@chromium.org> (cherry picked from commit 6a195d2d8a9c321817e1f034afcdc8c8642664bc) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 91403a3401cf35c1356d1a21b239e57a9843c3e9)
* wandboard: Enable HDMI splashscreenFabio Estevam2013-11-22-1/+14
| | | | | | | Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> (cherry picked from commit 7bcb983feb8296f58a651c2b2a48683fc27174cd) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit fdd320883fc36f4726f7d10d13dfc16615de1152)
* wandboard: Add boot selection supportOtavio Salvador2013-11-22-0/+2
| | | | | | | | | | | Adds support for 'bmode' command which let user to choose where to boot from; this allows U-Boot to load system from another storage without messing with jumpers. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit eaffaa2d25ce6e94a965460467352bd12513bf09) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit 101e40f636c950eaf726f26b8246b2dde8ede6a5)
* wandboard: Add update_sd_firmware supportOtavio Salvador2013-11-22-0/+16
| | | | | | | | | | This allow for easy update of firmware in the SD card from a running U-Boot. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 0798d5785d3fe71f1e2b30dab908fc9a9b40e016) Signed-off-by: Jason Liu <r64343@freescale.com> (cherry picked from commit dfa136614b8ab08692f6b621413ceee39948059b)
* ENGR00288418 Add EPDC splash screen for MX 6DL SabreSD and 6SL EVKRobby Cai2013-11-21-0/+577
| | | | | | | | | | | | | | | | | Add EPDC splash screen feature for MX6SL EVK, and MX6DL SABRESD board. - Currently, splash screen consists of a simple black border around a white screen. Done this way to save in memory footprint. - EPDC splash screen is disabled by default in the config file for MX6DL_SABRESD and MX6SL_EVK. If left enabled, the U-Boot image will not boot correctly (hang), since some additional content on the boot device (waveform file) is required for EPDC splash to work correctly. Please refer to Linux Reference Manual for how to flash WAVEFORM file. Signed-off-by: Robby Cai <R63905@freescale.com> (cherry picked from commit b934091a04e11e96281b10cf63830851fd096fdd)
* ENGR00270355 Fix eMMC fast boot hang issueYe.Li2013-11-20-1/+8
| | | | | | | | | | | | | When booting in eMMC fast boot, the uboot v2013.04 always hangs. The root cause is that MMC host does not exit from boot mode after bootrom loading image. So the first command 'CMD0' sent in uboot will pull down the CMD line to low and cause errors. This patch cleans the MMC boot register in "mmc_init" to put the MMC host back to normal mode. Signed-off-by: Ye Li <b37916@freescale.com> (cherry picked from commit fa9f30b03b65b253ba292020f3ebbe70220e3c29)
* ENGR00288341 NAND: change the rootfs's mtd number for NAND bootHuang Shijie2013-11-18-6/+7
| | | | | | | Since the imx6q{dl}-sabreauto-gpmi-weim.dts also enables the WEIN NOR which is mtd0. So the rootfs's mtd number becomes mtd4 now. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00288064 set the mmcdev number dynamiclly according to the boot slotJason Liu2013-11-15-1/+15
| | | | | | | | | | For the SPI/WEIM NOR, it can't store all the images into it due to it's capacity, we need one default mmc device to load the left image or rootfs. The end user need change the default setting according to their needs. For NAND/SATA boot, the storage is big enough to hold all the stuff. For SD/MMC boot, mmcdev is dynamiclly created due to the boot SD/MMC slot. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00284053 imx6sl: increase the console I/O buffer to 1KHuang Shijie2013-11-15-1/+1
| | | | | | | | Current console buffer is 256 bytes long, it is too small. increase it to 1K. Signed-off-by: Huang Shijie <b32955@freescale.com> (cherry picked from commit 94cf546c2f798d431c648b1bc287d7c7bbc9056d)
* ENGR00286912 mx6slevk support mfgtoolsFrank Li2013-11-08-0/+12
| | | | | | support mfgtools Signed-off-by: Frank Li <Frank.Li@freescale.com>
* ENGR00285646 add NAND partition info for mfgtoolFrank Li2013-10-31-2/+11
| | | | | | must add initrd_high, otherwise initrd will be relocated to random address. Signed-off-by: Frank Li <Frank.Li@freescale.com>
* ENGR00280959 configs/mx6qsabre_common: correctify the sector size for SPI-NORJason Liu2013-09-25-1/+1
| | | | | | Correctify the sector size for the SPI-NOR flash on the board, it should be 64KB Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00280943 configs/mx6qsabre_common: remove HW PROTECTION for NOR flashJason Liu2013-09-25-1/+0
| | | | | | | | The CONFIG_SYS_FLASH_PROTECTION will mark env partion of the NOR flash to RO, which will cause some problems for the tools such as MFG, thus turn it off to make life easier. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00280494 Add g_mass_storage parameter for manufactory toolsFrank Li2013-09-19-0/+3
| | | | | | | Reduce hardcode in kernel. Pass down g_mass_storage paremeters Signed-off-by: Frank Li <Frank.li@freescale.com>
* ENGR00278716 imx6sl: correct mmc/sd partition number to load uImage and rootfsRobby Cai2013-09-09-2/+2
| | | | | | | | The uImage and rootfs has been stored on partition #1 and #2 respectively. This patch fixes the partition index thus the boot script can boot from mmc/sd automatically. Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00278575 imx6sl: modify fdt_addr to avoid overlap of image and dtb fileRobby Cai2013-09-06-1/+1
| | | | | | | | since loadaddr is set to 0x80800000, previous setting for 'fdt_addr' is 0x81000000, the kernel image could be overlapped by dtb file when do decompressing. This patch changes 'fdt_addr' to 0x83000000 to fix it. Signed-off-by: Robby Cai <R63905@freescale.com>
* ENGR00277992 Auto check if boot from usbFrank Li2013-09-04-0/+11
| | | | | | | If boot from usb, reset environment to default value. Auto apply mfgtools setting and boot mfgtools kernel. Signed-off-by: Frank Li <Frank.li@freescale.com>
* ENGR00276023-3: ARM: mx6: enable ldo bypass check on mx6 boardRobin Gong2013-09-02-0/+2
| | | | | | | Enable ldo bypass check on mx6 and get fdt->blob from 'fdt_addr' which contained the right fdt. Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00276276 Add config file for uboot that used for mfgtool.Lu Lin2013-08-22-0/+61
| | | | | | this patch adds the config file to build uboot of mx6qsabresd for mfgtool. Signed-off-by: Lu Lin <b37454@freescale.com>
* ENGR00275348-12 imx6slevk: add the secureboot supportJason Liu2013-08-22-0/+5
| | | | | | | | | In order to support the secureboot, please turn on the CONFIG_SECURE_BOOT in include/configs/mx6slevk.h By default, the CONFIG_SECURE_BOOT is disabled Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-11 imx6slevk: add the plugin mode supportJason Liu2013-08-22-0/+3
| | | | | | | | This patch add the plugin mode support for imx6slevk board. In order to enable the plugin mode, please turn on the CONFIG_USE_PLUGIN in the include/configs/mx6slevk.h Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-9 imx6/sabre{sd,auto}: add the secureboot supportJason Liu2013-08-21-0/+5
| | | | | | | | | In order to support the secureboot, please turn on the CONFIG_SECURE_BOOT in include/configs/mx6qsabre_common.h By default, the CONFIG_SECURE_BOOT is disabled. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-8 imx6/arm2: add the secureboot supportJason Liu2013-08-21-0/+5
| | | | | | | | | In order to support the secureboot, please turn on CONFIG_SECURE_BOOT in the include/configs/mx6qarm2.h By default, the CONFIG_SECURE_BOOT is disabled. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-5 imx6/sabreauto: add the plugin mode supportJason Liu2013-08-21-0/+7
| | | | | | | | This patch add the plugin mode support for sabreauto board. In order to enable the plugin mode, please turn on the CONFIG_USE_PLUGIN in the include/configs/mx6qsabre_common.h Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-4 imx6/arm2: add the plugin mode supportJason Liu2013-08-21-0/+3
| | | | | | | | This patch add the plugin mode support for arm2 board. In order to enable the plugin mode, please turn on the CONFIG_USE_PLUGIN in the include/configs/mx6qarm2.h Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275348-1 imx6: turn on L2 cache supportJason Liu2013-08-21-0/+12
| | | | | | This patch is to turn on the L2 cache support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00275413-02: imx6sl:evk: add i2c0 support for imx6sl evkFugang Duan2013-08-15-0/+9
| | | | | | Add i2c0 bus support in mx6slevk config file. Signed-off-by: Fugang Duan <B38611@freescale.com>
* ENGR00275369-04: imx6sl:evk: add fec support in config fileFugang Duan2013-08-15-0/+14
| | | | | | Add fec support in imx6sl evk config file. Signed-off-by: Fugang Duan <B38611@freescale.com>
* mx6sl: Add initial support for mx6slevk boardFabio Estevam2013-08-07-0/+189
| | | | | | | | | | | | mx6slevk board is a development board from Freescale based on the mx6 solo-lite processor. For details about mx6slevk, please refer to: http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=IMX6SLEVK&parentCode=i.MX6SL&fpsp=1 [Jason Liu]: Cherry-pick from upstream version, fix some conflicts. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by: Jason Liu <r64343@freescale.com>
* ARM: mx6: define CONFIG_ARM_ERRATA_742230Shawn Guo2013-07-29-0/+1
| | | | | | | | | | The ARM errata 742230 - "ARM errata: DMB operation may be faulty" is claimed for Cortex-A9 (r1p0..r2p2). Though i.MX6 uses a newer revision than r2p2, we are seeing a reboot failure on i.MX6 SMP build that can be fixed by applying the workaround for this errata. So for safety, let's define CONFIG_ARM_ERRATA_742230 to enable the workaround on i.MX6. Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
* ENGR00258606 increase the console I/O buffer to 1KHuang Shijie2013-06-26-5/+5
| | | | | | | Current console buffer is 256 bytes long, it is too small. increase it to 1K. Signed-off-by: Huang Shijie <b32955@freescale.com>
* ENGR00268557 imx6q:sabresd: add SATA supportJason Liu2013-06-26-3/+30
| | | | | | This patch adds the SATA support for i.mx6qsabresd board Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00268502-2 imx6q{dl}-sabreauto: set the environment for NAND bootHuang Shijie2013-06-26-0/+21
| | | | | | Set the default environment for nand boot. Signed-off-by: Huang Shijie <b32955@freescale.com>
* cfi_flash: Fix unaligned accesses to cfi_qry structureAndrew Gabbasov2013-06-24-7/+11
| | | | | | | | | | | | | | | Packed structure cfi_qry contains unaligned 16- and 32-bits members, accessing which causes problems when cfi_flash driver is compiled with -munaligned-access option: flash initialization hangs, probably due to data error. Since the structure is supposed to replicate the actual data layout in CFI Flash chips, the alignment issue can't be fixed in the structure. So, unaligned fields need using of explicit unaligned access macros. Signed-off-by: Andrew Gabbasov <andrew_gabbasov@mentor.com> Reviewed-By: Albert ARIBAUD <albert.u.boot@aribaud.net> Signed-off-by: Stefan Roese <sr@denx.de>
* ENGR00268032 config/sabre_common: change the fdt_addr to a high addressJason Liu2013-06-20-1/+1
| | | | | | | | | | | | | current the fdt_addr is just 16MB offset from the ddr base address, which will cause the dtb will be overritten by linux kernel(include .bss section) if the linux kernel is bigger than 16MB, which cause setup_machine_fdt failed and thus kernel failed to boot. This patch change the defaut fdt_addr to 128MB offset from the ddr base address, which should be enough for common user case. user can change it to other value according to their system needs. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00265265 I2C: add I2C support on Sabre- boardRobin Gong2013-06-03-0/+10
| | | | | | - add I2C support on Sabresd ,Sabreauto board. - add pfuze init code based on I2C transfer in Sabre* board file. Signed-off-by: Robin Gong <b38343@freescale.com>
* ENGR00265233 config/i.mx6: fix the abuse of CONFIG_SYS_MMC_ENV_PARTJason Liu2013-06-03-5/+6
| | | | | | | | | | | | | | | | | | | | | | CONFIG_SYS_MMC_ENV_PART: was used to tell the u-boot which emmc (boot)partition to be used for the env_mmc.Usually, the emmc card will have 2 boot partitions, boot1 and boot2. 0: means user area 1: means boot partition 1 2: means boot partition 2 The patch fix the abuse of CONFIG_SYS_MMC_ENV_PART, which detached the emmc boot partition number and the mmc partition to store the boot image such as uImage/dtb or bootscripts. If user want to use the boot partition to store the u-boot env, please change the CONFIG_SYS_MMC_ENV_PART to which boot partition you want. This patch also fixed 2 small display format issue for CONFIG_LOADADDR and CONFIG_SYS_TEXT_BASE. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00264076-4 i.mx6:sabre_common:change mmc dev settingJason Liu2013-05-24-5/+1
| | | | | | | - change the CONFIG_MMCROOT to SDHC3(sd3) - make the mmcdev/part independent of ENV_IS_IN_MMC Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263306 imx6q: put CONFIG_SYS_NAND out of the common configJason Liu2013-05-22-2/+2
| | | | | | | Since Sabresd board does not have NAND, we need put CONFIG_SYS_NAND into the Sabreauto board only. Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-14 i.mx6:sabreauto: Add the GPMI nand supportJason Liu2013-05-21-1/+27
| | | | | | Add the GPMI nand support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-9 i.mx6q/dl/solo:sabreauto: Add the WEIM-NOR supportJason Liu2013-05-21-0/+26
| | | | | | Add the WEIM-NOR support Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-8 i.mx6q/dl/solo: sabresd/sabreauto: Add the SPI-NOR supportJason Liu2013-05-21-2/+35
| | | | | | | | | This patch adds the SPI-NOR support for the i.mx6q/dl/solo:sabresd/auto board: - Support the SPI-NOR function with sf command, - Support the enviroment from SPI-NOR when CONFIG_SYS_BOOT_SPINOR Signed-off-by: Jason Liu <r64343@freescale.com>
* ENGR00263305-1 i.mx:i.mx6q: make preparation for the i.mx6dl supportJason Liu2013-05-21-8/+3
| | | | | | | | | | | | | | This patch is to make preparation for the i.mx6dl support - Move CONFIG_MX6Q definition out of the mx6qsabre_common.h file - Include the mx6_pins.h instead of the mx6q_pins.h in board file, - Make the CPU configure by using the boards.cfg file - Make the DDR size configurable based on the boards.cfg. - Make the FDT file configurable based on the boards.cfg. There is no function change with this patch. Signed-off-by: Jason Liu <r64343@freescale.com>