04 Nov, 2011
40 commits
-
The Xilinx FPGA must be reconfigured each time the unit
reboots. The FPGA is connected to the GPIO pin 39 from kirkwood.
This patch triggers this pin for km_kirkwood_pci targets.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Prafulla Wadaskar -
We need in some cases a possibility for the kernel to distinguish
on which board he is running. On powerpc we did this with different
dts files. On arm currently we can't do this, so add boardid and
hwkey to the kernel command line and use it later on in the kernel
code.Signed-off-by: Holger Brunck
-
We got dropped from Linux mach-types.h because of a lack of mainline
support and this is needed since the last Linux/u-boot mach-types
synchro.This patch also defines CONFIG_MACH_TYPE for all keymile boards, as
this is a mandatory CONFIG for ARM boards now. The initialization
of gd->bd->bi_arch_number is removed form km_arm.c, our board file.Signed-off-by: Valentin Longchamp
Signed-off-by: Holger Brunck
Signed-off-by: Prafulla Wadaskar -
An I2C EEPROM HT24LC04 (512B) is available on the netspace_v2 board
(and parents). This EEPROM hold data such as Ethernet MAC addresses
and power flags.Signed-off-by: Simon Guinot
-
Network Space (Max) v2 and Internet Space v2 boards have different
SDRAM configuration and size: respectively 256MB (DDR2 1Gb, 128Mbx8
organisation) and 128MB (DDR2 512Mb, 64Mbx8 organisation). To handle
the differences, this patch add a dedicated kwimage.cfg file for
Internet Space v2.Additionnaly the number of SDRAM banks is fixed.
Signed-off-by: Simon Guinot
-
By default, on Armada100 SoC DCache Lnd ICache line
lengths are 32 bytes longSigned-off-by: Lei Wen
-
By default, on Pantheon SoC DCache Lnd ICache line
lengths are 32 bytes longSigned-off-by: Lei Wen
-
By default, on Kirkwood SoC DCache Lnd ICache line
lengths are 32 bytes longCc: Albert ARIBAUD
Cc: Prafulla Wadaskar
Signed-off-by: Michael Walle
Signed-off-by: Prafulla Wadaskar -
This generated file does not belong in the tree -> punt.
Signed-off-by: Mike Frysinger
Signed-off-by: Prafulla Wadaskar -
The mgcoge3un waits to be released from mgcoge3ne at startup.
This patch enhances this feature with the possibility to interrupt
this wait if a key is pressed.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Prafulla Wadaskar -
Add this board specific variable to the default environment
of this board.Signed-off-by: Holger Brunck
Signed-off-by: Valentin Longchamp
cc: Prafulla Wadaskar -
This patch fix the build failure (error: 'MACH_TYPE_SHEEVAD' undeclared
(first use in this function)) for gplugD due to recent sync of
mach-types.h with its linux original.Signed-off-by: Ajay Bhargav
-
Fix build issues:
mvrtc.c: In function 'rtc_get':
mvrtc.c:45: warning: implicit declaration of function 'readl'
mvrtc.c: In function 'rtc_set':
mvrtc.c:100: warning: implicit declaration of function 'writel'
dreamplug.c: In function 'board_early_init_f':
dreamplug.c:43: warning: implicit declaration of function 'kw_config_gpio'
dreamplug.c: In function 'board_init':
dreamplug.c:108: warning: implicit declaration of function 'kw_sdram_bar'
drivers/rtc/librtc.o: In function `rtc_set':
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:92: undefined reference to `writel'
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:103: undefined reference to `writel'
drivers/rtc/librtc.o: In function `rtc_reset':
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:117: undefined reference to `readl'
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:120: undefined reference to `readl'
drivers/rtc/librtc.o: In function `rtc_get':
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:45: undefined reference to `readl'
/home/ag/u-boot/u-boot-move-new-host/u-boot-video/drivers/rtc/mvrtc.c:48: undefined reference to `readl'
...Signed-off-by: Anatolij Gustschin
Cc: Jason Cooper
Cc: Albert ARIBAUD
Acked-by: Marek Vasut -
Fix build problem:
mvgbe.c: In function 'mvgbe_initialize':
mvgbe.c:735: warning: implicit declaration of function 'get_random_hex'
dockstar.c: In function 'board_early_init_f':
dockstar.c:43: warning: implicit declaration of function 'kw_config_gpio'
dockstar.c: In function 'board_init':
dockstar.c:113: warning: implicit declaration of function 'kw_sdram_bar'
dockstar.c: In function 'set_leds':
dockstar.c:161: warning: implicit declaration of function 'readl'
dockstar.c:161: error: dereferencing pointer to incomplete type
dockstar.c:162: warning: implicit declaration of function 'writel'
dockstar.c:162: error: dereferencing pointer to incomplete type
dockstar.c:163: error: dereferencing pointer to incomplete type
dockstar.c:164: error: dereferencing pointer to incomplete type
make[1]: *** [dockstar.o] Error 1
make: *** [board/Seagate/dockstar/libdockstar.o] Error 2Reported-by: Roland Kletzing
Signed-off-by: Anatolij Gustschin
Cc: Albert ARIBAUD
Cc: Prafulla Wadaskar -
Fix compiler warnings when compiling for netspace_v2, netspace_max_v2
and inetspace_v2:netspace_v2.c: In function 'board_early_init_f':
netspace_v2.c:37: warning: implicit declaration of function 'kw_config_gpio'
netspace_v2.c: In function 'board_init':
netspace_v2.c:86: warning: implicit declaration of function 'kw_sdram_bar'Signed-off-by: Anatolij Gustschin
Cc: Simon Guinot
Cc: Albert ARIBAUD
Acked-by: Marek Vasut -
This isn't used presumably should be a typedef if needed later.
Signed-off-by: Tom Rini
-
This is registered and can be removed at the next sync up.
Signed-off-by: Tom Rini
-
Enable support for PMIC driver at C210 Universal reference target.
Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Signed-off-by: Minkyu Kang -
Define the D-cache line size for S5PC210 UNIVERSAL reference target.
Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Acked-by: Anton Staaf
Signed-off-by: Minkyu Kang -
Define the D-cache line size for S5PC110 GONI reference target.
Signed-off-by: Lukasz Majewski
Signed-off-by: Kyungmin Park
Acked-by: Anton Staaf
Signed-off-by: Minkyu Kang -
board/samsung/smdkv310/mmc_boot.c:
Removed the typedef for "mmc data read API (copy_sd_mmc_to_mem)"
as it is used only once and replaced hard-coded API address value
by macro.Signed-off-by: Chander Kashyap
Signed-off-by: Minkyu Kang -
smdkv310 board was using mmc_spl framework for mmc spl support.
This patch migrates the framework from mmc_spl to spl.Signed-off-by: Chander Kashyap
Signed-off-by: Minkyu Kang -
smdkv310.c: in dram_init_banksize(void) function dram size was
initialized without validation. get_ram_size() function will
validate the bank size before initialization.Signed-off-by: Chander Kashyap
Signed-off-by: Minkyu Kang -
Use CONFIG_MACH_TYPE generic macro to initialize board id.
Signed-off-by: Chander Kashyap
Signed-off-by: Minkyu Kang -
On some hosts using relative paths will cause the build to fail. This
patch sets absolute paths for the tools directoryGet rid of MSDOS style excecutable extension
Signed-off-by: Angus Ainslie
Signed-off-by: Minkyu Kang -
Enable passing a flattened device tree to the kernel.
Signed-off-by: Angus Ainslie
Acked-by: Chander Kashyap
Signed-off-by: Minkyu Kang -
Added MACH_TYPE for the tx25 to the configuration file.
The MACH_TYPE is dropped from mach-types.h after last sync
with kernel.Signed-off-by: Stefano Babic
-
This adds basic board support for TT-01 based on
the Bluetechnix i.MX31 SOM. Currently only NOR-Flash
boot is implemented.Signed-off-by: Helmut Raiger
Acked-by: Stefano Babic -
This allows to initialize DDR memory in C code.
Currently all mx31 boards use assembler code (lowlevel_init.S)Signed-off-by: Helmut Raiger
Acked-by: Stefano Babic -
Signed-off-by: Helmut Raiger
Acked-by: Stefano Babic -
The flea3 board is a custom board by CarMediaLab used
in automotive.
Network (FEC), NOR, NAND and SPI are supported.Signed-off-by: Stefano Babic
-
Add the MACH type to the configuration file. Maybe the board
will be not pushed into linux ML, but it remains compatible
with older kernels.Signed-off-by: Stefano Babic
-
errno.h is not used on this file, so remove it.
Signed-off-by: Fabio Estevam
-
No board information is passed for MX51EVK, so remove get_board_rev function.
Signed-off-by: Fabio Estevam
-
Remove unneeded '1' from mx51evk.h.
Signed-off-by: Fabio Estevam
-
The problem was caused by a global variable being used early in the boot
process.The symptoms were on imx31_phycore board, reading the environment from I2C
EEPROM didn't work correctly and causes default environment to be loaded.Signed-off-by: Marek Vasut
Cc: Wolfgang Denk
Cc: Albert ARIBAUD
Cc: Heiko Schocher
Cc: Stefano Babic
Acked-by: Heiko Schocher
Tested-by: Anatolij Gustschin
Tested-by: Stefano Babic -
MX35PDK has an MC13892 PMIC. Add RTC support.
Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic
Tested-by: Stefano Babic -
GPIO API provides mxc_request_iomux function for setting the IOMUX mode.
Use this function instead of directly writing to the IOMUX register.
Signed-off-by: Fabio Estevam
-
MX51EVK has a MC13892 PMIC. Add RTC support.
Tested via 'date' command that reads the PMIC RTC registers:
MX51EVK U-Boot > date
Date: 1970-01-01 (Thursday) Time: 0:40:35Signed-off-by: Fabio Estevam
-
Rename mc13783-rtc so that it can be used for both MC13783 and MC13892 PMICs.
efikamx board, for example, does use a MC13892 PMIC, but the RTC selection is currently made as:
#define CONFIG_RTC_MC13783
,which is not very obvious.
Let the MC13783 and MC13892 RTC be selected by:
#define CONFIG_RTC_MC13XXX
Signed-off-by: Fabio Estevam
Acked-by: Stefano Babic