01 Apr, 2011
2 commits
-
Signed-off-by: Wolfgang Denk
-
Commit 6dc1ece "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
Signed-off-by: Scott Wood
31 Mar, 2011
3 commits
-
Commit 44c6e65 "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
Signed-off-by: Wolfgang Denk
29 Mar, 2011
2 commits
-
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
Signed-off-by: Kumar Gala -
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
Signed-off-by: Stefan Roese
28 Mar, 2011
21 commits
-
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
Signed-off-by: Kumar Gala -
Signed-off-by: Wolfgang Denk
-
Signed-off-by: Wolfgang Denk
-
Signed-off-by: Tom Warren
-
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
Signed-off-by: Minkyu Kang -
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
Signed-off-by: Tushar Behera
Signed-off-by: Minkyu Kang -
Use the global data instead of bss variable, replace as follow.
count_value -> removed
timestamp -> tbl
lastdec -> lastincSigned-off-by: Minkyu Kang
Signed-off-by: Kyungmin Park
Acked-by: Albert ARIBAUD -
Signed-off-by: Minkyu Kang
-
Signed-off-by: Minkyu Kang
-
Signed-off-by: Minkyu Kang
-
Use pwm functions for timer that is PWM timer 4.
Signed-off-by: Minkyu Kang
-
This is common pwm driver of S5P.
Signed-off-by: Donghwa Lee
Signed-off-by: Kyungmin Park
Signed-off-by: Minkyu Kang -
Signed-off-by: Zhong Hongbo
Signed-off-by: Minkyu Kang -
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
Signed-off-by: Minkyu Kang -
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
Signed-off-by: Minkyu Kang -
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
Signed-off-by: Minkyu Kang -
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.ldsSigned-off-by: Zhong Hongbo
Signed-off-by: Minkyu Kang -
Fix CONFIG_SYS_INIT_SP_ADDR undefined issue.
Signed-off-by: Zhong Hongbo
Signed-off-by: Minkyu Kang -
Monitor protection region in FLASH did not cover .rel.dyn
and .dynsym sections, because it uses __bss_start to compute
monitor_flash_len. Use _end instead.Add _end to linker scripts for end of u-boot image
Add _end_ofs to all the start.S.Signed-off-by: Po-Yu Chuang
-
Currently, _end is used for end of BSS section. We want _end to mean
end of u-boot image, so we rename _end to __bss_end__ first.Signed-off-by: Po-Yu Chuang
24 Mar, 2011
5 commits
-
Update the PCIe address map to match standard FSL memory map.
Additionally, fix the TLBs so the cover the PCIe address space properly
so cards plugged in like an e1000 work correctly.Signed-off-by: Prabhakar Kushwaha
Signed-off-by: Kumar Gala -
The fix for errata workaround is to avoid covering physical address
0xff000000 to 0xffffffff during the implementation.Signed-off-by: York Sun
Signed-off-by: Kumar Gala -
rcw_en bit is only available for DDR3 controllers. It is a reserved bit on
DDR1 and DDR2 controllers.Signed-off-by: York Sun
Signed-off-by: Kumar Gala -
Tested all possible values for clk_adjust and write_data_delay for dual
rank UDIMM and RDIMM to revise the tables.Signed-off-by: York Sun
Signed-off-by: Kumar Gala -
To recognize DIMMs with ECC capability by testing ECC bit only. Not to be
confused by Address Parity bit.Signed-off-by: York Sun
Signed-off-by: Kumar Gala
23 Mar, 2011
3 commits
-
For example, an input of 0x80000000 should print:
2147.484 instead of -2147.-483.
Signed-off-by: Ed Swarthout
Signed-off-by: Kumar Gala -
commit 8aba9dceebb14144e07d19593111ee3a999c37fc
Divides variable of linker flags to LDFLAGS-u-boot and LDFLAGSbreaks the usage of --gc-section to build nand_spl. We still need linker option
--gc-section for every uboot image, not only the main one. LDFLAGS_FINAL passes
the --gc-sections to each uboot image.To get the proper linker flags, we use LDFLAGS and LDFLAGS_FINAL to replace
PLATFORM_LDFLAGS in the Makefile of each nand_spl board.Signed-off-by: Scott Wood
Signed-off-by: Haiying Wang -
Use negative used value to mark deleted entry. Search keeps probing
past deleted entries. Adding an entry uses first deleted entry when
it hits end of probe chain.Initially found that "ramdiskimage" and "preboot" collide modulus 347,
causing "preboot" to be inserted at idx 190, "ramdiskimage" at idx 191.
Previous to this fix when "preboot" is deleted, "ramdiskimage" is
orphaned.Signed-off-by: Peter Barada
Tested-by: Wolfgang Denk
22 Mar, 2011
4 commits
-
Seems to me that the top level config.mk should include
the auto generated include/config.mk so that all Makefile's
pickup those definitions.Signed-off-by: Joakim Tjernlund
-
Use get_timer() the same way as drivers/net/ftgmac100.c
Signed-off-by: Po-Yu Chuang
Reviewed-by: Macpaul Lin
Tested-by: Macpaul Lin -
Signed-off-by: Po-Yu Chuang
Reviewed-by: Macpaul Lin
Tested-by: Macpaul Lin -
If no Flash is connected to cs1, Linux crashes, because
reg entries are not correct adapted.Following fix is needed:
- swap base addresses in CONFIG_SYS_FLASH_BANKS_LIST, as
flash bank 1 is on chipselect 0 and flash bank 2 on
chipselect 1
- call fdt_fixup_nor_flash_size() from ft_board_setup()Signed-off-by: Heiko Schocher
cc: Wolfgang Denk
cc: Werner Pfister
cc: Detlev Zundel