shengjiangwu
f464a63142
arm: socfpga: Fix USB doesn't work on socdk board
...
Updated pinmux group EMACIO[1-8] and EMACIO[10-13] for USB.
Signed-off-by: shengjiangwu <shengjiangwu@icloud.com >
Cc: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-23 04:04:46 +01:00
Marek Vasut
c339ea5bfe
arm: socfpga: Add support for Denali NAND controller
...
Add common configuration bits for the Denali NAND controller and also
support for using it as a boot device in SPL.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Chin Liang See <clsee@altera.com >
2015-12-22 21:30:02 +01:00
Marek Vasut
eba522a0f7
arm: socfpga: Enable DFU MMC support only if DM_MMC is enabled
...
It is not possible to compile DFU MMC support if the MMC support is not
compiled into U-Boot. Secure the code with an ifdef to prevent compiler
splat.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Chin Liang See <clsee@altera.com >
2015-12-22 21:30:02 +01:00
Marek Vasut
4197a0f45b
arm: socfpga: Enable SPL MMC/SPI support only if DM_MMC/SPI is enabled
...
It is not possible to compile MMC/SPI SPL if the respective DM_MMC/DM_SPI
bits are not enabled. Secure the code with an ifdef to prevent compiler
splat.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Chin Liang See <clsee@altera.com >
2015-12-22 21:30:02 +01:00
Marek Vasut
8f7ed08eb3
arm: socfpga: Unreset NAND in U-Boot
...
Make sure the NAND reset is not asserted in full U-Boot.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Chin Liang See <clsee@altera.com >
2015-12-22 21:30:02 +01:00
Marek Vasut
ac242e1625
arm: socfpga: Unreset NAND in SPL
...
If the system boots from NAND, make sure to de-assert the NAND IP
reset, otherwise the system will get stuck.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-22 21:30:02 +01:00
Marek Vasut
f2f3782ead
arm: socfpga: Define NAND reset bit
...
Define the NAND reset bit and fix the ordering of the macros.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-22 21:30:02 +01:00
shengjiangwu
caee45ecc3
arm: socfpga: Fix QSPI doesn't work on socdk board
...
Updated pinmux group MIXED1IO[15-20] for QSPI.
Updated QSPI clock.
Signed-off-by: shengjiangwu <shengjiangwu@icloud.com >
Cc: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:02 +01:00
shengjiangwu
b0808b912d
arm: socfpga: Fix emac1 doesn't work on socdk board
...
Updated pinmux group MIXED1IO[0-13] for RGMII1.
Updated EMAC1 clock.
Signed-off-by: shengjiangwu <shengjiangwu@icloud.com >
Cc: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
94f53a7ddf
arm: socfpga: sr1500: Update qspiboot to use UBIFS
...
Update the qspiboot console command to use UBIFS instead
of old jffs2 file system.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
5abbdfadbe
arm: socfpga: sockit: Update qspiboot to use UBIFS
...
Update the qspiboot console command to use UBIFS instead
of old jffs2 file system.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
d6d55cdeca
arm: socfpga: arria5_socdk: Update qspiboot to use UBIFS
...
Update the qspiboot console command to use UBIFS instead
of old jffs2 file system.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
0f28b1a404
arm: socfpga: cyclone5_socdk: Update qspiboot to use UBIFS
...
Update the qspiboot console command to use UBIFS instead
of old jffs2 file system.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
b3bb1110cf
arm: socfpga: sr1500: Enable qspiload console command
...
Enabling qspiload command which will load the kernel
image and dtb from UBIFS within MTD partition labeled
UBI.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
8ee0c64865
arm: socfpga: sockit: Enable qspiload console command
...
Enabling qspiload command which will load the kernel
image and dtb from UBIFS within MTD partition labeled
UBI.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
f8e08b8f2e
arm: socfpga: arria5_socdk: Enable qspiload console command
...
Enabling qspiload command which will load the kernel
image and dtb from UBIFS within MTD partition labeled
UBI.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
d9f2bd4096
arm: socfpga: cyclone5_socdk: Enable qspiload console command
...
Enabling qspiload command which will load the kernel
image and dtb from UBIFS within MTD partition labeled
UBI.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
eb45022c4c
arm: socfpga: sr1500: Enable ubiload console command
...
Enabling ubiload command to load kernel image and
device tree from mtd part labeled "UBI". ubiload
command will search the file from directory /boot.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
3e8a075d6e
arm: socfpga: sockit: Enable ubiload console command
...
Enabling ubiload command to load kernel image and
device tree from mtd part labeled "UBI". ubiload
command will search the file from directory /boot.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:01 +01:00
Chin Liang See
c26112a73d
arm: socfpga: arria5_socdk: Enable ubiload console command
...
Enabling ubiload command to load kernel image and
device tree from mtd part labeled "UBI". ubiload
command will search the file from directory /boot.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:00 +01:00
Chin Liang See
dc93280d3e
arm: socfpga: cyclone5_socdk: Enable ubiload console command
...
Enabling ubiload command to load kernel image and
device tree from mtd part labeled "UBI". ubiload
command will search the file from directory /boot.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:30:00 +01:00
Chin Liang See
0645c77315
arm: socfpga: sr1500: Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS
...
Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS for UBI
and UBIFS support on serial NOR flash
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:29:59 +01:00
Chin Liang See
aa2ba82925
arm: socfpga: arria5: Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS
...
Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS for UBI
and UBIFS support on serial NOR flash
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:29:47 +01:00
Chin Liang See
6a6e6cf869
arm: socfpga: cyclone5: Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS
...
Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS for UBI
and UBIFS support on serial NOR flash
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:29:29 +01:00
Chin Liang See
6cdd465cbe
arm: socfpga: Enable ubi and ubifs support
...
When QSPI and NAND is enabled, the ubi and ubifs support
will be enabled too.
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 21:16:08 +01:00
Marek Vasut
574967c241
arm: socfpga: Enable simple bus in SPL on all boards
...
The simple bus support must be enabled in SPL, otherwise the boards
will not be able to parse the DT and will fail to boot.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-22 04:42:28 +01:00
Marek Vasut
68909e823e
arm: socfpga: Make /soc available in pre-reloc
...
This node must be available before relocation, otherwise the board
will not find mmc and will thus not boot.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-22 04:42:28 +01:00
Chin Liang See
55702fe275
arm: socfpga: Enabling MTD default partitions
...
Enabling MTD default partitions if its not defined in board
configuration file. The layout as below
device nor0 <ff705000.spi.0>, # parts = 6
#: name size offset mask_flags
0: u-boot 0x00100000 0x00000000 0
1: env1 0x00040000 0x00100000 0
2: env2 0x00040000 0x00140000 0
3: UBI 0x03e80000 0x00180000 0
4: boot 0x00e80000 0x00180000 0
5: rootfs 0x01000000 0x01000000 0
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:28 +01:00
Chin Liang See
520b9e0956
arm: socfpga: socrates: Consolidate SDMMC environment
...
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:28 +01:00
Chin Liang See
866da6e779
arm: socfpga: sockit: Consolidate SDMMC environment
...
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:28 +01:00
Chin Liang See
a4417affe1
arm: socfpga: mcvevk: Consolidate SDMMC environment
...
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:28 +01:00
Chin Liang See
617600bd61
arm: socfpga: de0_nano_soc: Consolidate SDMMC environment
...
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:28 +01:00
Chin Liang See
8a08962a5b
arm: socfpga: arria5_socdk: Consolidate SDMMC environment
...
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:27 +01:00
Chin Liang See
7d6bf079c4
arm: socfpga: cyclone5_socdk: Consolidate SDMMC environment
...
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:27 +01:00
Chin Liang See
79cc48e77c
arm: socfpga: Consolidate SDMMC environment
...
Remove the duplication of SDMMC environment configuration
from each boards' configuration header file into
socfpga_common.h
Signed-off-by: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Dinh Nguyen <dinh.linux@gmail.com >
Cc: Pavel Machek <pavel@denx.de >
Cc: Marek Vasut <marex@denx.de >
Cc: Stefan Roese <sr@denx.de >
2015-12-22 04:42:27 +01:00
Marek Vasut
2b26109219
net: designware: Zap trailing backslash
...
Trailing backslashes are necessary only in macros, not in the actual
code, so remove them.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Joe Hershberger <joe.hershberger@ni.com >
2015-12-22 04:42:27 +01:00
Marek Vasut
4c9ae24fe8
net: designware: Zap CONFIG_DW_AUTONEG
...
This symbol is not used anywhere, so remove it. For spear600, remove
it from the board file, since the symbol is not defined for spear600
either.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Joe Hershberger <joe.hershberger@ni.com >
2015-12-22 04:42:27 +01:00
Thomas Chou
25af71c4bf
net: eth_designware: select PHYLIB in Kconfig
...
Select PHYLIB in drivers/net/Kconfig. And remove CONFIG_PHYLIB
from legacy board header files.
This fixed the warnings when both ALTERA_TSE and ETH_DESIGNWARE
are selected.
Signed-off-by: Thomas Chou <thomas@wytron.com.tw >
Reported-by: Pavel Machek <pavel@denx.de >
Acked-by: Chin Liang See <clsee@altera.com >
Acked-by: Pavel Machek <pavel@denx.de >
Tested-by: Pavel Machek <pavel@denx.de >
Reviewed-by: Bin Meng <bmeng.cn@gmail.com >
2015-12-22 04:42:27 +01:00
Marek Vasut
0780697787
arm: socfpga: Actually enable L2 cache
...
The L2 cache was never enabled in the v7_outer_cache_enable(), fix
this and enable the L2 cache.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
Cc: Chin Liang See <clsee@altera.com >
2015-12-22 04:42:27 +01:00
Simon Glass
3721208fa7
x86: Remove Graeme Russ from the git alias file
...
As requested, remove Graeme's email address.
Signed-off-by: Simon Glass <sjg@chromium.org >
Acked-by: Bin Meng <bmeng.cn@gmail.com >
2015-12-21 09:37:46 -05:00
Tom Rini
34059d8f50
Merge branch 'master' of git://www.denx.de/git/u-boot-socfpga
2015-12-19 22:05:31 -05:00
Dinh Nguyen
48275c96ff
arm: socfpga: fix trivial header preprocessor for socfpga_common.h
...
Replace__CONFIG_SOCFPGA_CYCLONE5_COMMON_H__ with
__CONFIG_SOCFPGA_COMMON_H__ as the file is now called socfpga_common.h
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-20 03:44:56 +01:00
Dinh Nguyen
a1684b6105
arm: socfpga: fix up a questionable macro for SDMMC
...
Move the macro into the socfpga_dwmci_clksel().
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com >
Signed-off-by: Marek Vasut <marex@denx.de >
[fix parenthesis in the sdmmc_mask]
2015-12-20 03:44:56 +01:00
Dinh Nguyen
e5ad7d9889
arm: socfpga: remove building scan manager
...
The scan manager is not needed for the Arria10. Edit the makefile to
build the scan manager for arria5 and cyclone5 only.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com >
Acked-by: Marek Vasut <marex@denx.de >
2015-12-20 03:44:56 +01:00
Dinh Nguyen
ed77aeb575
arm: socfpga: introduce TARGET_SOCFPGA_GEN5 config property
...
In order to re-use as much Cyclone5 and Arria5 code as possible to support
the Arria10 platform, we need to wrap some of the code with #ifdef's. By
adding CONFIG_TARGET_SOCFPGA_GEN5, we can shorten the check by not having to check
for both AV || AV.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-20 03:44:56 +01:00
Dinh Nguyen
ccf5648e0e
arm: socfpga: remove note to add CONFIG_USB_DWC2_REG_ADDR
...
Now that the USB DWC2 probing is done from OF, remove this note to add
CONFIG_USB_DWC2_REG_ADDR.
Signed-off-by: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-20 03:36:52 +01:00
Marek Vasut
dbd6fcfbe2
arm: socfpga: Drop the board boilerplate
...
Drop all the common board code, since it is not completely useless.
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-20 03:36:51 +01:00
Marek Vasut
8e535af2e4
arm: socfpga: Introduce common board code
...
The SoCFPGA has reached a point where every single board code become
the same, since each and every single board is probed equally from OF.
Move the common board code into arch/arm/mach-socfpga/ .
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-20 03:36:51 +01:00
Marek Vasut
ea08234651
arm: socfpga: Switch CONFIG_HOSTNAME to CONFIG_SYS_BOARD
...
We already have the CONFIG_SYS_BOARD variable, which defines the name
of the board. The value in CONFIG_HOSTNAME is exactly the same and is
thus just a duplicity, so switch it to reuse CONFIG_SYS_BOARD .
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-20 03:36:51 +01:00
Marek Vasut
a5cad67735
arm: socfpga: Switch CONFIG_G_DNL_MANUFACTURER to CONFIG_SYS_VENDOR
...
We already have the CONFIG_SYS_VENDOR variable, which defines the
manufacturer of the board. The value in CONFIG_G_DNL_MANUFACTURER
is just a duplicity, so switch it to reuse CONFIG_SYS_VENDOR .
Signed-off-by: Marek Vasut <marex@denx.de >
Cc: Chin Liang See <clsee@altera.com >
Cc: Dinh Nguyen <dinguyen@opensource.altera.com >
2015-12-20 03:36:51 +01:00