- Apr 04, 2011
-
-
Kumar Gala authored
Move the include of mpc85xx/u-boot-nand.lds to utilize CONFIG_SYS_LDSCRIPT rather than having an explicit config.mk Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
We've been utilizing board_lmb_reserve to reserve the boot page for MP systems. We can just move this into arch_lmb_reserve for 85xx & 86xx systems rather than duplicating in each board port. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Li Yang authored
Read MAC address from EEPROM. Add hwconfig settings. Modified the default othbootargs to include the cache-sram-size parameter. This parameter is needed as the L2 as SRAM is ON by default in the P2020RDB kernel and used by the Gianfar driver. Also cleanup some of the boot commands. Signed-off-by:
Li Yang <leoli@freescale.com> Signed-off-by:
Zhao Chenhui <b35336@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Jerry Huang authored
We enable SDHC_CD and SDHC_WP signals (pin muxed with GPIO8 & GPIO9 respectively). We enable EXT2, FAT, and parition support for both MMC & USB configs. Signed-off-by:
Jerry Huang <Chang-Ming.Huang@freescale.com> Signed-off-by:
Jin Qing <b24347@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Specify the number of DDR controllers, number of frame managers, number of 1g and 10g ports. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Pankaj Chauhan authored
In a manner similar to passing ethernet stashing parameters into device tree for "gianfar", extend the support to the "fsl,etsec2" as well. Signed-off-by:
Pankaj Chauhan <pankaj.chauhan@freescale.com> Signed-off-by:
Sandeep Gopalpet <sandeep.kumar@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Remove declerations of fsl_ddr_set_memctl_regs in board files with and place it into a common header. Based on patch from Poonam Aggrwal. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Kumar Gala authored
Rather than having #defines DATARATE_*_MHZ, lets just match what we do on the SPD code and convert the DDR frequency into MHZ and just compare with a constant. Based on patch from Poonam Aggrwal. Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Timur Tabi authored
The ngPIXIS is an FPGA used on the reference boards of most Freescale PowerPC SOCs. Although programming the ngPIXIS is mostly standard on all boards that have it, the P1022DS is unique in that the ngPIXIS needs to be programmed in "indirect" mode whenever the video display (DIU) is active. To support indirect mode, and to make it easier to support other quirks on future reference boards, the low-level ngPIXIS functions are all marked as weak, so that board-specific code can override any of them. We take advantage of this feature on the P1022DS, so that we can properly reset the board when the DIU is active. Signed-off-by:
Timur Tabi <timur@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Dipen Dudhat authored
The Integrated Flash Controller (IFC) is used to access the external NAND Flash, NOR Flash, EPROM, SRAM and Generic ASIC memories.Four chip selects are provided in IFC so that maximum of four Flash devices can be hooked, but only one can be accessed at a given time. Features supported by IFC are, - Functional muxing of pins between NAND, NOR and GPCM - Support memory banks of size 64KByte to 4 GBytes - Write protection capability (only for NAND and NOR) - Provision of Software Reset - Flexible Timing programmability for every chip select - NAND Machine - x8/ x16 NAND Flash Interface - SLC and MLC NAND Flash devices support with configurable page sizes of upto 4KB - Internal SRAM of 9KB which is directly mapped and availble at boot time for NAND Boot - Configurable block size - Boot chip select (CS0) available at system reset - NOR Machine - Data bus width of 8/16/32 - Compatible with asynchronous NOR Flash - Directly memory mapped - Supports address data multiplexed (ADM) NOR device - Boot chip select (CS0) available at system reset - GPCM Machine (NORMAL GPCM Mode) - Support for x8/16/32 bit device - Compatible with general purpose addressable device e.g. SRAM, ROM - External clock is supported with programmable division ratio - GPCM Machine (Generic ASIC Mode) - Support for x8/16/32 bit device - Address and Data are shared on I/O bus - Following Address and Data sequences can be supported on I/O bus - 32 bit I/O: AD - 16 bit I/O: AADD - 8 bit I/O : AAAADDDD - Configurable Even/Odd Parity on Address/Data bus supported Signed-off-by:
Dipen Dudhat <Dipen.Dudhat@freescale.com> Acked-by:
Scott Wood <scottwood@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
Prabhakar Kushwaha authored
Add the ability to determine if a given IP block connected on SERDES is configured. This is useful for things like PCIe and SRIO since they are only ever connected on SERDES. Updated MPC85xx_PORDEVSR_IO_SEL & MPC85xx_PORDEVSR_IO_SEL_SHIFT Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Apr 01, 2011
-
-
michael authored
If NCE is hooked up to NCS3, we don't need to (and can't) explicitly set the state of the NCE pin. Instead, the controller asserts it automatically as part of a command/data access. Only "CE don't care"-type NAND chips can be used in this manner. Signed-off-by:
Michael Trimarchi <michael@amarulasolutions.com> Cc: Scott Wood <scottwood@freescale.com> Cc: Reinhard Meyer <u-boot@emk-elektronik.de>
-
Florian Fainelli authored
This patch adds support for reading an ONFI page parameter from a NAND device supporting it. If this is the case, struct nand_chip onfi_version member contains the supported ONFI version, 0 otherwise. This allows NAND drivers past nand_scan_ident to set the best timings for the NAND chip. Signed-off-by:
Florian Fainelli <florian@openwrt.org> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Haiying Wang authored
Signed-off-by:
Haiying Wang <Haiying.Wang@freescale.com> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Scott Wood authored
Poke the watchdog in a variety of looping constructs, which could take a long time to complete. Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
- Mar 31, 2011
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Commit 6dc1eceb "Introduce a new linker flag LDFLAGS_FINAL" modified a number of Makefiles in a way that broke out-of-tree builds. The problem was that $(nandobj) was used before it got defined. Fix this. Signed-off-by:
Wolfgang Denk <wd@denx.de> Signed-off-by:
Scott Wood <scottwood@freescale.com>
-
Wolfgang Denk authored
Commit 44c6e659 "rename _end to __bss_end__ broke building of a large number of systems (at least all PowerPC?): libstubs.o: In function `app_startup': examples/standalone/stubs.c:197: undefined reference to `__bss_end__' The rename should not be done for the files in the examples/standalone/ directory, as these are not using the code from start.S, but do their own BSS clearing, and either use their own linker scripts or the ones provided by the compilers. Signed-off-by:
Po-Yu Chuang <ratbert@faraday-tech.com> Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
- Mar 29, 2011
-
-
Prabhakar Kushwaha authored
The P1011, P1012, P1015, P1016, P1020, P1021, P1024, & P1025 SoCs require that we initialize the SERDES registers if the lanes are configured for PCIe. Additionally these devices PCIe controller do not support ASPM and we have to explicitly disable it. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Mar 28, 2011
-
-
Martin Krause authored
The function find_sector() does not take into account if the flash bank has changed since the last call. This could lead to illegal accesses inside and beyond the flash_info_t info strcture. For example if the current flash bank has less sectors than the last used flash bank. This patch adds two cheks. One that insures, that the current sector does not exceed the allowed maximum (which is always a good idea). And one that checks if the current access is to the same flash bank as the last access. If not, the search loop will start with sector 0. Signed-off-by:
Martin Krause <martin.krause@tqs.de> Signed-off-by:
Stefan Roese <sr@denx.de>
-
Jiang Yutang authored
Enable workaround for errata ELBC A001, ESDHC 111 & SATA A001 on P1022/P1013 SoCs. Also updated P1022DS config to properly enable CONFIG_FSL_SATA_V2. Signed-off-by:
Jiang Yutang <b14898@freescale.com> Signed-off-by:
Kumar Gala <galak@kernel.crashing.org>
-
- Mar 27, 2011
-
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Wolfgang Denk authored
Signed-off-by:
Wolfgang Denk <wd@denx.de>
-
Tom Warren authored
Signed-off-by:
Tom Warren <twarren@nvidia.com>
-
Chander Kashyap authored
Blocksize was hardcoded to 512 bytes. But the blocksize varies depeding on various mmc subsystem commands (between 8 and 512). This hardcoding was resulting in interrupt error during data transfer. It is now calculated based upon the request sent by mmc subsystem. Signed-off-by:
Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Chander Kashyap authored
The MMC registers are accessed through struct s5p_mmc member variables. MMC controller "control4" register offset is set to 0x8C as per data sheet. The size of struct s5p_mmc is also corrected. Signed-off-by:
Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by:
Tushar Behera <tushar.behera@linaro.org> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Minkyu Kang authored
Use the global data instead of bss variable, replace as follow. count_value -> removed timestamp -> tbl lastdec -> lastinc Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Acked-by:
Albert ARIBAUD <albert.aribaud@free.fr>
-
Minkyu Kang authored
Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Minkyu Kang authored
Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Minkyu Kang authored
Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Minkyu Kang authored
Use pwm functions for timer that is PWM timer 4. Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
Donghwa Lee authored
This is common pwm driver of S5P. Signed-off-by:
Donghwa Lee <dh09.lee@samsung.com> Signed-off-by:
Kyungmin Park <kyungmin.park@samsung.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
seedshope authored
Signed-off-by:
Zhong Hongbo <bocui107@gmail.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
seedshope authored
Since nand boot have some limit for the first 4KB, We only disable the LED function to reduce the code space. At the same time, Fix the compile error for LED function undefined in the compile time of nand_spl. Signed-off-by:
Zhong Hongbo <bocui107@gmail.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
seedshope authored
In the nand_spl feature of SMDK6400. Add some relocation symbols to nand_spl/board/samsung/smdk6400/u-boot.lds to fix the compile error. Signed-off-by:
Zhong Hongbo <bocui107@gmail.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
seedshope authored
The first, the cpu_init.o have already been link for cmd_link_o_target atfer compile, But, The link script re-link the point file. So the link machine will generate multiple definition error information. The second, Since the first 4kB of nand boot featue code move to nand_spl, So It is not necessary to force the cpu_init.o in non-nand boot. Signed-off-by:
Zhong Hongbo <bocui107@gmail.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-
seedshope authored
Modify Makefile for cpu_init.c and Start.s use some label,this defined u-boot.lds of arch/arm/cpu/arm1176. But SMDK6400 use the link script board/samsung/smdk6400/u-boot-nand.lds. So add some label form u-boot.lds to u-boot-nand.lds Signed-off-by:
Zhong Hongbo <bocui107@gmail.com> Signed-off-by:
Minkyu Kang <mk7.kang@samsung.com>
-