- Jun 25, 2013
-
-
Bo Shen authored
When use checkpatch.pl to check network related patch, it will report --->8--- WARNING: networking block comments don't use an empty /* line, use /* Comment... ---<8--- So, add --ignore NETWORKING_BLOCK_COMMENT_STYLE into .checkpatch.conf This will help to keep all driver include network related driver use the same comment style Signed-off-by:
Bo Shen <voice.shen@atmel.com>
-
- Jun 22, 2013
-
-
git://git.denx.de/u-boot-armTom Rini authored
-
- Jun 21, 2013
-
-
Albert ARIBAUD authored
Use section symbols directly Drop support for R_ARM_ABS32 record types Eliminate unneeded intermediate registers Optimize relocation table iteration Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Tested-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Albert ARIBAUD authored
This change is only done where needed: some linker scripts may contain relocation symbols yet remain unchanged. __rel_dyn_start and __rel_dyn_end each requires its own output section; putting them in relocation sections changes their flags and breaks relocation. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Tested-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Albert ARIBAUD authored
This change is only done where needed: some linker scripts may contain __image_copy_{start,end} yet remain unchanged. Also, __image_copy_end needs its own section; putting it in relocation sections changes their flags and makes relocation break. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Tested-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Albert ARIBAUD authored
File arch/arm/lib/bss.c was initially defined for BSS only, but is now going to also contain definitions for other section-boundary-related symbols, so rename it for better accuracy. Also, remove useless 'used' attributes. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Tested-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Albert ARIBAUD authored
Discard all .dynsym sections from linker scripts Remove all __dynsym_start definitions from linker scripts Remove all __dynsym_start references from the codebase Note: this touches include/asm-generic/sections.h, which is not ARM-specific, but actual uses of __dynsym_start are only in ARM, so this patch can safely go through the ARM repository. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Tested-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
Albert ARIBAUD authored
Add a Makefile target ('checkarmreloc') which fails if the ELF binary contains relocation records of types other than R_ARM_RELATIVE. Signed-off-by:
Albert ARIBAUD <albert.u.boot@aribaud.net> Tested-by:
Lubomir Popov <lpopov@mm-sol.com> Tested-by:
Jeroen Hofstee <jeroen@myspectrum.nl> Reviewed-by:
Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
-
- Jun 20, 2013
-
-
Chunhe Lan authored
P1023RDB Specification: ----------------------- Memory subsystem: 512MB DDR3 (Fixed DDR on board) 64MB NOR flash 128MB NAND flash Ethernet: eTSEC1: Connected to Atheros AR8035 GETH PHY eTSEC2: Connected to Atheros AR8035 GETH PHY PCIe: Three mini-PCIe slots USB: Two USB2.0 Type A ports I2C: AT24C08 8K Board EEPROM (8 bit address) Signed-off-by:
Chunhe Lan <Chunhe.Lan@freescale.com> Cc: Scott Wood <scottwood@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
init_tlbs() initialize all the TLB entries required for the system. So disable DEBUG TLB entry before TLB entries initialization. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
York Sun authored
"pixis_reset help" command prints the message without a new line "\n", which makes the prompt on the same line. Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Chris Packham authored
Instead of assuming that SYS_TEXT_BASE is 0xFFF80000 calculate the initial pbl command offset by subtracting the image size from the top of the 24-bit address range. Also increase the size of the memory buffer to accommodate a larger output image. Signed-off-by:
Chris Packham <chris.packham@alliedtelesis.co.nz> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Axel Lin authored
If a variable is used as array subscript, it's valid value range is 0 ... ARRAY_SIZE -1. Signed-off-by:
Axel Lin <axel.lin@ingics.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Ying Zhang authored
Move the common makefile line shared by the SPL and non-SPL to the public area, so that we can avoid excessive SPL symbols. Some of them will be used by the SPL later. This patch is on top of the patch "common/Makefile: Add new symbol CONFIG_SPL_ENV_SUPPORT for environment in SPL". Signed-off-by:
Ying Zhang <b40530@freescale.com> Acked-by:
Tom Rini <trini@ti.com> Acked-by:
Tom Rini <trini@ti.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Ying Zhang authored
There will need the environment in SPL for reasons other than network support (in particular, hwconfig contains info for how to set up DDR). Add a new symbol CONFIG_SPL_ENV_SUPPORT to replace CONFIG_SPL_NET_SUPPORT for environment in common/Makefile. Signed-off-by:
Ying Zhang <b40530@freescale.com> Reviewed-by:
Tom Rini <trini@ti.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Ying Zhang authored
There will clear the BSS in the function clear_bss(), the reset address of the BSS started from the __bss_start, and increased by four-byte increments, finally stoped depending on the address is equal to the _bss_end. If the end address __bss_end is not alignment to 4byte, it will be an infinite loop. 1. The reset action stoped depending on the reset address is greater than or equal the end address of the BSS. 2. The end address of the BSS should be 4byte aligned. Because the reset unit is 4 Bytes. This patch is on top of the patch "powerpc/mpc85xx: support application without resetvec segment in the linker script". Signed-off-by:
Ying Zhang <b40530@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Ying Zhang authored
For SD/SPI 2-stage bootloader, the On-Chip Rom code loads the SPL into L2 SRAM, then jump to it to begin execution. After that, the SPL loads the final uboot image into DDR, then jump to it to begin execution. The segment .resetvec in the SPL and in final U-boot is useless. So, add new symbols CONFIG_SYS_MPC85XX_NO_RESETVEC for this application. If CONFIG_SYS_MPC85XX_NO_RESETVEC is set, the segment .resetvec is excluded and the segment .bootpg is placed in the previous 4K of the segment .text. Signed-off-by:
Ying Zhang <b40530@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
PCIe TLB should be created with CONFIG_PCI defined Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
Relax parameters to give address latching more time to setup. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Scott Wood authored
Erratum A-006593 is "Atomic store may report failure but still allow the store data to be visible". The workaround is: "Set CoreNet Platform Cache register CPCHDBCR0 bit 21 to 1'b1. This may have a small impact on synthetic write bandwidth benchmarks but should have a negligible impact on real code." Signed-off-by:
Scott Wood <scottwood@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Mingkai Hu authored
Calculate reserved fields according to IFC bank count 1. Move csor_ext register behind csor register and fix res offset 2. Move ifc bank count to config_mpc85xx.h to support 8 bank count 3. Guard fsl_ifc.h with CONFIG_FSL_IFC macro to eliminate the compile error on some devices that does not have IFC controller. Signed-off-by:
Mingkai Hu <Mingkai.hu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Liu Gang authored
When a T4 board boots from SRIO or PCIE, it needs to finish these processes: 1. Set all the cores in holdoff status. 2. Set the boot location to one PCIE or SRIO interface by RCW. 3. Set a specific TLB entry for the boot process. 4. Set a LAW entry with the TargetID of one PCIE or SRIO for the boot. 5. Set a specific TLB entry in order to fetch ucode and ENV from master. 6. Set a LAW entry with the TargetID one of the PCIE ports for ucode and ENV. 7. Slave's u-boot image should be generated specifically by make xxxx_SRIO_PCIE_BOOT_config. This will set SYS_TEXT_BASE=0xFFF80000 and other configurations. For more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by:
Liu Gang <Gang.Liu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Liu Gang authored
T4 can support the feature of Boot from SRIO/PCIE, and the macro "CONFIG_SRIO_PCIE_BOOT_MASTER" will enable the master module of this feature when building the u-boot image. You can get some description about this macro in README file, and for more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by:
Liu Gang <Gang.Liu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Liu Gang authored
When a b4860qds board boots from SRIO or PCIE, it needs to finish these processes: 1. Set all the cores in holdoff status. 2. Set the boot location to one PCIE or SRIO interface by RCW. 3. Set a specific TLB entry for the boot process. 4. Set a LAW entry with the TargetID of one PCIE or SRIO for the boot. 5. Set a specific TLB entry in order to fetch ucode and ENV from master. 6. Set a LAW entry with the TargetID one of the PCIE ports for ucode and ENV. 7. Slave's u-boot image should be generated specifically by make xxxx_SRIO_PCIE_BOOT_config. This will set SYS_TEXT_BASE=0xFFF80000 and other configurations. For more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by:
Liu Gang <Gang.Liu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Liu Gang authored
B4860QDS can support the feature of Boot from SRIO/PCIE, and the macro "CONFIG_SRIO_PCIE_BOOT_MASTER" will enable the master module of this feature when building the u-boot image. You can get some description about this macro in README file, and for more information about the feature of Boot from SRIO/PCIE, please refer to the document doc/README.srio-pcie-boot-corenet. Signed-off-by:
Liu Gang <Gang.Liu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Liu Gang authored
Currently, the macro "CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER" can enable the master module of Boot from SRIO and PCIE on a platform. But this is not a silicon feature, it's just a specific booting mode based on the SRIO and PCIE interfaces. So it's inappropriate to put the macro into the file arch/powerpc/include/asm/config_mpc85xx.h. Change the macro "CONFIG_SYS_FSL_SRIO_PCIE_BOOT_MASTER" to "CONFIG_SRIO_PCIE_BOOT_MASTER", remove them from arch/powerpc/include/asm/config_mpc85xx.h file, and add those macros in configuration header file of each board which can support the master module of Boot from SRIO and PCIE. Signed-off-by:
Liu Gang <Gang.Liu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Liu Gang authored
1. Misalignment will be found in the doc/README.srio-pcie-boot-corenet file when the tabs are set to 8 characters. And the standard for u-boot should be 8 character tabs! So this issue should be amended. 2. Add a NOTE for the ENV parameters of the Slave. Signed-off-by:
Liu Gang <Gang.Liu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
e500v2 processor does not support 8K page size TLB entries. So create new TLB entry only during NAND SPL boot. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Andy Fleming authored
All the other constants use lowercase 'x' in "MPC85xx", so we duplicate that here. Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Fabio Estevam authored
Freescale documentation presents the PowerPC core names in lower case, such as "e300", "e500", "e600", etc. Change the upper case occurrences into lower case so that the core names reported in U-boot can match the ones from the documentation. While at it also fix a checkpatch error: ERROR: space prohibited before that close parenthesis ')' #53: FILE: arch/powerpc/cpu/mpc86xx/cpu.c:81: + printf("e600 Core %d", (msscr0 & 0x20) ? 1 : 0 ); Reported-by:
Heinz Wrobel <heinz.wrobel@freescale.com> Signed-off-by:
Fabio Estevam <fabio.estevam@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
York Sun authored
BSC9132 has 3 IFC banks. Signed-off-by:
York Sun <yorksun@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Priyanka Jain authored
BSC9131RDB has 1GB DDR. Out of this, only 880MB is passed on to Linux via bootm_size. Remaining -16MB is reserved for PowerPC-DSP shared control area -128MB is reserved for DSP private area. Also 256MB, out of this 880MB is required for data communication between PowerPC and DSP core. For this bootargs are modified to pass parameter to create 1 hugetlb page of 256MB via default_hugepagesz, hugepagesz and hugepages Signed-off-by:
Priyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Priyanka Jain authored
BSC9131RDB is a Freescale Reference Design Board for BSC9131 SoC which is a integrated device that contains one powerpc e500v2 core and one DSP starcore. To support DSP starcore -Creating LAW and TLB for DSP-CCSR space. -Creating LAW for DSP-core subsystem M2 memory Signed-off-by:
Priyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by:
Poonam Aggrwal <poonam.aggrwal@freescale.com> Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Priyanka Jain authored
BSC9131RDB supports Sysclk -66MHz if jumper J16 is close (default state) -100MHz if jumper J16 is open Add targets -BSC9131RDB_NAND_SYSCLK100 : for NAND boot at Sysclk 100MHz -BSC9131RDB_SPIFLASH_SYSCLK100: for SPI boot at Sysclk 100MHz Signed-off-by:
Ramneek Mehresh <ramneek.mehresh@freescale.com> Signed-off-by:
Priyanka Jain <Priyanka.Jain@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
- Add NAND boot target - defines constants - Add spl_minimal.c to initialise DDR - update TLB, LAW entries as per NAND boot Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
- Add NAND boot target - defines constants - Add spl_minimal.c to initialise DDR - update TLB entries as per NAND boot Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
- defines constants - Add spl_minimal.c to initialise DDR - update TLB entries as per NAND boot - remove nand_spl support for P1010RDB Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
Linker script is not able find start.o binary. So add its absolute path in u-boot-spl.lds. This change is similar to u-boot-nand.lds common/Makefile: Avoid compiling unnecssary files fsl_ifc_spl.c : It is is responsible for reading u-boot binary from NAND flash and copying into DDR. It also transfer control from NAND SPL to u-boot image present in DDR. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Prabhakar Kushwaha authored
IFC errata A003399 is valid for IFC NOR boot i.e.if no on-board NOR flash or no NOR boot, do not compile its workaround. Signed-off-by:
Prabhakar Kushwaha <prabhakar@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-
Mingkai Hu authored
To avoid sign extension problem, use explicit casting to cast the SDRAM size to type phys_size_t, or else, if the SDRAM size is 2G(0x80000000), it will be extended to 0xffffffff80000000 when phys_size_t is type 'unsigned long long'. Signed-off-by:
Mingkai Hu <Mingkai.Hu@freescale.com> Signed-off-by:
Andy Fleming <afleming@freescale.com>
-