Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
U
uboot-imx
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
7
Merge Requests
7
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Librem5
uboot-imx
Commits
650a9e7a
Commit
650a9e7a
authored
Sep 09, 2008
by
Andy Fleming
Committed by
Andrew Fleming-AFLEMING
Sep 09, 2008
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'denx'
parents
6cc64f9b
3b20fd83
Changes
104
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
104 changed files
with
3228 additions
and
933 deletions
+3228
-933
CREDITS
CREDITS
+2
-1
MAINTAINERS
MAINTAINERS
+2
-0
MAKEALL
MAKEALL
+4
-0
Makefile
Makefile
+56
-12
README
README
+8
-7
board/atc/atc.c
board/atc/atc.c
+0
-1
board/avnet/v5fx30teval/Makefile
board/avnet/v5fx30teval/Makefile
+27
-0
board/avnet/v5fx30teval/config.mk
board/avnet/v5fx30teval/config.mk
+26
-0
board/avnet/v5fx30teval/v5fx30teval.c
board/avnet/v5fx30teval/v5fx30teval.c
+28
-0
board/avnet/v5fx30teval/xparameters.h
board/avnet/v5fx30teval/xparameters.h
+33
-0
board/cpu86/cpu86.c
board/cpu86/cpu86.c
+0
-1
board/cpu87/cpu87.c
board/cpu87/cpu87.c
+0
-1
board/esd/cpci405/config.mk
board/esd/cpci405/config.mk
+2
-14
board/esd/cpci405/u-boot.lds
board/esd/cpci405/u-boot.lds
+0
-15
board/gen860t/gen860t.c
board/gen860t/gen860t.c
+0
-2
board/integratorcp/integratorcp.c
board/integratorcp/integratorcp.c
+6
-1
board/mcc200/mcc200.c
board/mcc200/mcc200.c
+0
-1
board/mpl/common/common_util.c
board/mpl/common/common_util.c
+0
-1
board/netstal/hcu5/sdram.c
board/netstal/hcu5/sdram.c
+1
-1
board/netta2/netta2.c
board/netta2/netta2.c
+0
-14
board/pm520/pm520.c
board/pm520/pm520.c
+0
-1
board/pm826/pm826.c
board/pm826/pm826.c
+0
-1
board/pm828/pm828.c
board/pm828/pm828.c
+0
-1
board/sc520_cdp/sc520_cdp.c
board/sc520_cdp/sc520_cdp.c
+5
-5
board/stxxtc/stxxtc.c
board/stxxtc/stxxtc.c
+0
-14
board/svm_sc8xx/svm_sc8xx.c
board/svm_sc8xx/svm_sc8xx.c
+0
-1
board/trab/tsc2000.c
board/trab/tsc2000.c
+6
-4
board/xilinx/ml507/Makefile
board/xilinx/ml507/Makefile
+5
-36
board/xilinx/ml507/config.mk
board/xilinx/ml507/config.mk
+5
-6
board/xilinx/ml507/ml507.c
board/xilinx/ml507/ml507.c
+1
-20
board/xilinx/ml507/xparameters.h
board/xilinx/ml507/xparameters.h
+8
-9
board/xilinx/ppc440-generic/Makefile
board/xilinx/ppc440-generic/Makefile
+62
-0
board/xilinx/ppc440-generic/config.mk
board/xilinx/ppc440-generic/config.mk
+25
-0
board/xilinx/ppc440-generic/init.S
board/xilinx/ppc440-generic/init.S
+45
-0
board/xilinx/ppc440-generic/u-boot-ram.lds
board/xilinx/ppc440-generic/u-boot-ram.lds
+0
-0
board/xilinx/ppc440-generic/u-boot-rom.lds
board/xilinx/ppc440-generic/u-boot-rom.lds
+0
-0
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
board/xilinx/ppc440-generic/xilinx_ppc440_generic.c
+52
-0
board/xilinx/ppc440-generic/xparameters.h
board/xilinx/ppc440-generic/xparameters.h
+34
-0
common/Makefile
common/Makefile
+5
-4
common/cmd_bootm.c
common/cmd_bootm.c
+27
-82
common/image.c
common/image.c
+59
-8
common/usb.c
common/usb.c
+9
-4
common/usb_kbd.c
common/usb_kbd.c
+2
-0
cpu/arm1176/s3c64xx/interrupts.c
cpu/arm1176/s3c64xx/interrupts.c
+4
-1
cpu/arm946es/config.mk
cpu/arm946es/config.mk
+7
-0
cpu/arm_intcm/config.mk
cpu/arm_intcm/config.mk
+7
-0
cpu/ppc4xx/44x_spd_ddr2.c
cpu/ppc4xx/44x_spd_ddr2.c
+95
-63
cpu/ppc4xx/4xx_enet.c
cpu/ppc4xx/4xx_enet.c
+160
-8
cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c
cpu/ppc4xx/4xx_ibm_ddr2_autocalib.c
+1212
-0
cpu/ppc4xx/Makefile
cpu/ppc4xx/Makefile
+3
-0
cpu/ppc4xx/miiphy.c
cpu/ppc4xx/miiphy.c
+34
-3
disk/part.c
disk/part.c
+6
-0
doc/uImage.FIT/source_file_format.txt
doc/uImage.FIT/source_file_format.txt
+1
-1
drivers/mtd/mw_eeprom.c
drivers/mtd/mw_eeprom.c
+1
-1
drivers/rtc/Makefile
drivers/rtc/Makefile
+3
-3
drivers/rtc/mk48t59.c
drivers/rtc/mk48t59.c
+1
-1
drivers/rtc/rs5c372.c
drivers/rtc/rs5c372.c
+1
-2
drivers/serial/Makefile
drivers/serial/Makefile
+3
-3
drivers/serial/serial_pl011.c
drivers/serial/serial_pl011.c
+0
-161
drivers/serial/serial_pl01x.c
drivers/serial/serial_pl01x.c
+68
-20
drivers/serial/serial_pl01x.h
drivers/serial/serial_pl01x.h
+0
-0
drivers/usb/usb_ohci.c
drivers/usb/usb_ohci.c
+3
-1
examples/82559_eeprom.c
examples/82559_eeprom.c
+10
-6
include/asm-i386/byteorder.h
include/asm-i386/byteorder.h
+2
-2
include/asm-i386/global_data.h
include/asm-i386/global_data.h
+2
-2
include/asm-i386/ic/ssi.h
include/asm-i386/ic/ssi.h
+34
-0
include/asm-i386/pci.h
include/asm-i386/pci.h
+0
-1
include/asm-i386/string.h
include/asm-i386/string.h
+2
-0
include/asm-ppc/ppc4xx-sdram.h
include/asm-ppc/ppc4xx-sdram.h
+16
-1
include/common.h
include/common.h
+3
-0
include/configs/CPCI4052.h
include/configs/CPCI4052.h
+6
-0
include/configs/CPCI405AB.h
include/configs/CPCI405AB.h
+6
-0
include/configs/NETPHONE.h
include/configs/NETPHONE.h
+0
-2
include/configs/NETTA.h
include/configs/NETTA.h
+0
-2
include/configs/NETTA2.h
include/configs/NETTA2.h
+0
-3
include/configs/NETVIA.h
include/configs/NETVIA.h
+0
-2
include/configs/PIP405.h
include/configs/PIP405.h
+0
-1
include/configs/integratorap.h
include/configs/integratorap.h
+1
-1
include/configs/integratorcp.h
include/configs/integratorcp.h
+1
-1
include/configs/kilauea.h
include/configs/kilauea.h
+19
-0
include/configs/ml507.h
include/configs/ml507.h
+9
-82
include/configs/sc520_cdp.h
include/configs/sc520_cdp.h
+24
-0
include/configs/stxxtc.h
include/configs/stxxtc.h
+0
-1
include/configs/v5fx30teval.h
include/configs/v5fx30teval.h
+49
-0
include/configs/versatile.h
include/configs/versatile.h
+1
-1
include/configs/xilinx-ppc440-generic.h
include/configs/xilinx-ppc440-generic.h
+49
-0
include/configs/xilinx-ppc440.h
include/configs/xilinx-ppc440.h
+106
-0
include/image.h
include/image.h
+2
-0
include/onenand_uboot.h
include/onenand_uboot.h
+1
-0
include/ppc440.h
include/ppc440.h
+0
-13
include/ppc4xx.h
include/ppc4xx.h
+13
-0
include/ppc4xx_enet.h
include/ppc4xx_enet.h
+3
-0
lib_arm/bootm.c
lib_arm/bootm.c
+1
-2
lib_i386/bios_setup.c
lib_i386/bios_setup.c
+4
-2
lib_i386/board.c
lib_i386/board.c
+8
-5
lib_i386/bootm.c
lib_i386/bootm.c
+1
-1
lib_i386/video_bios.c
lib_i386/video_bios.c
+3
-0
lib_mips/Makefile
lib_mips/Makefile
+4
-0
lib_mips/bootm.c
lib_mips/bootm.c
+1
-1
lib_mips/bootm_qemu_mips.c
lib_mips/bootm_qemu_mips.c
+76
-0
lib_ppc/interrupts.c
lib_ppc/interrupts.c
+6
-1
tools/env/README
tools/env/README
+6
-0
tools/env/fw_env.c
tools/env/fw_env.c
+600
-263
tools/env/fw_env.config
tools/env/fw_env.config
+5
-1
No files found.
CREDITS
View file @
650a9e7a
...
...
@@ -405,7 +405,8 @@ D: Atmel AT91CAP9ADK support
N: Ricardo Ribalda Delgado
E: ricardo.ribalda@uam.es
D: PPC440x5 (Virtex5), ML507 Board, eeprom_simul, adt7460
D: PPC440x5 (Virtex5), ML507 Board, eeprom_simul, adt7460, v5fx30teval
D: Virtex ppc440 generic architecture
W: http://www.ii.uam.es/~rribalda
N: Stefan Roese
...
...
MAINTAINERS
View file @
650a9e7a
...
...
@@ -314,6 +314,8 @@ Daniel Poirot <dan.poirot@windriver.com>
Ricardo Ribalda <ricardo.ribalda@uam.es>
ml507 PPC440x5
v5fx30teval PPC440x5
xilinx-pp440-generic PPC440x5
Stefan Roese <sr@denx.de>
...
...
MAKEALL
View file @
650a9e7a
...
...
@@ -230,12 +230,16 @@ LIST_4xx=" \
sequoia_nand
\
taihu
\
taishan
\
v5fx30teval
\
v5fx30teval_flash
\
VOH405
\
VOM405
\
W7OLMC
\
W7OLMG
\
walnut
\
WUH405
\
xilinx-ppc440-generic
\
xilinx-ppc440-generic_flash
\
XPEDITE1K
\
yellowstone
\
yosemite
\
...
...
Makefile
View file @
650a9e7a
...
...
@@ -295,7 +295,7 @@ $(obj)u-boot.hex: $(obj)u-boot
$(OBJCOPY)
${OBJCFLAGS}
-O
ihex
$<
$@
$(obj)u-boot.srec
:
$(obj)u-boot
$(OBJCOPY)
${OBJCFLAGS}
-O
srec
$<
$@
$(OBJCOPY)
-O
srec
$<
$@
$(obj)u-boot.bin
:
$(obj)u-boot
$(OBJCOPY)
${OBJCFLAGS}
-O
binary
$<
$@
...
...
@@ -1242,12 +1242,15 @@ CMS700_config: unconfig
CPCI2DP_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx cpci2dp esd
CPCI405_config
\
CPCI4052_config
\
CPCI405_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx cpci405 esd
CPCI4052_config
\
CPCI405DT_config
\
CPCI405AB_config
:
unconfig
@
mkdir
-p
$(obj)
board/esd/cpci405
@
echo
"TEXT_BASE = 0xFFFC0000"
>
$(obj)
board/esd/cpci405/config.tmp
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx cpci405 esd
@
echo
"BOARD_REVISION =
$
(@:_config=)"
>>
$(obj)
include/config.mk
CPCIISER4_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx cpciiser4 esd
...
...
@@ -1356,16 +1359,23 @@ ML2_config: unconfig
ml300_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx ml300 xilinx
ml507_flash_config
:
unconfig
ml507_flash_config
:
unconfig
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ppc440-generic
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ml507
@
cp
$(obj)
board/xilinx/ml507/u-boot-rom.lds
$(obj)
board/xilinx/ml507/u-boot.lds
@
echo
"TEXT_BASE = 0xFE360000"
>
$(obj)
board/xilinx/ml507/config.tmp
@
$(MKCONFIG)
$
(
@:_flash_config
=)
ppc ppc4xx ml507 xilinx
ml507_config
:
unconfig
@
echo
"LDSCRIPT:=
$(SRCTREE)
/board/xilinx/ppc440-generic/u-boot-rom.lds"
\
>
$(obj)
board/xilinx/ml507/config.tmp
@
echo
"TEXT_BASE := 0xFE360000"
\
>>
$(obj)
board/xilinx/ml507/config.tmp
@
$(MKCONFIG)
ml507 ppc ppc4xx ml507 xilinx
ml507_config
:
unconfig
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ppc440-generic
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ml507
@
cp
$(obj)
board/xilinx/ml507/u-boot-ram.lds
$(obj)
board/xilinx/ml507/u-boot.lds
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx ml507 xilinx
@
echo
"LDSCRIPT:=
$(SRCTREE)
/board/xilinx/ppc440-generic/u-boot-ram.lds"
\
>
$(obj)
board/xilinx/ml507/config.tmp
@
echo
"TEXT_BASE := 0x04000000"
\
>>
$(obj)
board/xilinx/ml507/config.tmp
@
$(MKCONFIG)
ml507 ppc ppc4xx ml507 xilinx
ocotea_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx ocotea amcc
...
...
@@ -1461,6 +1471,24 @@ taihu_config: unconfig
taishan_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx taishan amcc
v5fx30teval_config
:
unconfig
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ppc440-generic
@
mkdir
-p
$(obj)
include
$(obj)
board/avnet/v5fx30teval
@
echo
"LDSCRIPT:=
$(SRCTREE)
/board/xilinx/ppc440-generic/u-boot-ram.lds"
\
>
$(obj)
board/avnet/v5fx30teval/config.tmp
@
echo
"TEXT_BASE := 0x03000000"
\
>>
$(obj)
board/avnet/v5fx30teval/config.tmp
@
$(MKCONFIG)
v5fx30teval ppc ppc4xx v5fx30teval avnet
v5fx30teval_flash_config
:
unconfig
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ppc440-generic
@
mkdir
-p
$(obj)
include
$(obj)
board/avnet/v5fx30teval
@
echo
"LDSCRIPT:=
$(SRCTREE)
/board/xilinx/ppc440-generic/u-boot-rom.lds"
\
>
$(obj)
/board/avnet/v5fx30teval/config.tmp
@
echo
"TEXT_BASE := 0xFF1C0000"
\
>>
$(obj)
/board/avnet/v5fx30teval/config.tmp
@
$(MKCONFIG)
v5fx30teval ppc ppc4xx v5fx30teval avnet
VOH405_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx voh405 esd
...
...
@@ -1479,6 +1507,22 @@ sycamore_config: unconfig
WUH405_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx wuh405 esd
xilinx-ppc440-generic_flash_config
:
unconfig
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ppc440-generic
@
echo
"LDSCRIPT:=
$(SRCTREE)
/board/xilinx/ppc440-generic/u-boot-rom.lds"
\
>
$(obj)
board/xilinx/ppc440-generic/config.tmp
@
echo
"TEXT_BASE := 0xFE360000"
\
>>
$(obj)
board/xilinx/ppc440-generic/config.tmp
@
$(MKCONFIG)
xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
xilinx-ppc440-generic_config
:
unconfig
@
mkdir
-p
$(obj)
include
$(obj)
board/xilinx/ppc440-generic
@
echo
"LDSCRIPT:=
$(SRCTREE)
/board/xilinx/ppc440-generic/u-boot-ram.lds"
\
>
$(obj)
board/xilinx/ppc440-generic/config.tmp
@
echo
"TEXT_BASE := 0x04000000"
\
>>
$(obj)
board/xilinx/ppc440-generic/config.tmp
@
$(MKCONFIG)
xilinx-ppc440-generic ppc ppc4xx ppc440-generic xilinx
XPEDITE1K_config
:
unconfig
@
$(MKCONFIG)
$
(
@:_config
=)
ppc ppc4xx xpedite1k
...
...
README
View file @
650a9e7a
...
...
@@ -380,11 +380,11 @@ The following options need to be configured:
param header, the default value is zero if undefined.
- Serial Ports:
C
F
G_PL010_SERIAL
C
ONFI
G_PL010_SERIAL
Define this if you want support for Amba PrimeCell PL010 UARTs.
C
F
G_PL011_SERIAL
C
ONFI
G_PL011_SERIAL
Define this if you want support for Amba PrimeCell PL011 UARTs.
...
...
@@ -3030,8 +3030,9 @@ details; basically, the header defines the following image properties:
* Target Operating System (Provisions for OpenBSD, NetBSD, FreeBSD,
4.4BSD, Linux, SVR4, Esix, Solaris, Irix, SCO, Dell, NCR, VxWorks,
LynxOS, pSOS, QNX, RTEMS, ARTOS;
Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, ARTOS, LynxOS).
LynxOS, pSOS, QNX, RTEMS, INTEGRITY;
Currently supported: Linux, NetBSD, VxWorks, QNX, RTEMS, LynxOS,
INTEGRITY).
* Target CPU Architecture (Provisions for Alpha, ARM, AVR32, Intel x86,
IA64, MIPS, NIOS, PowerPC, IBM S390, SuperH, Sparc, Sparc 64 Bit;
Currently supported: ARM, AVR32, Intel x86, MIPS, NIOS, PowerPC).
...
...
@@ -3089,9 +3090,9 @@ But now you can ignore ALL boot loader code (in arch/ppc/mbxboot).
Just make sure your machine specific header file (for instance
include/asm-ppc/tqm8xx.h) includes the same definition of the Board
Information structure as we define in include/
u-boot.h, and make
sure that your definition of IMAP_ADDR uses the same value as your
U-Boot configuration in CFG_IMMR.
Information structure as we define in include/
asm-<arch>/u-boot.h,
and make sure that your definition of IMAP_ADDR uses the same value
as your
U-Boot configuration in CFG_IMMR.
Configuring the Linux kernel:
...
...
board/atc/atc.c
View file @
650a9e7a
...
...
@@ -380,7 +380,6 @@ phys_size_t initdram (int board_type)
}
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/avnet/v5fx30teval/Makefile
0 → 100644
View file @
650a9e7a
#
# (C) Copyright 2008
# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda@uam.es
# This work has been supported by: Qtechnology http://qtec.com/
#
# See file CREDITS for list of people who contributed to this
# project.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
COBJS
+=
$(BOARD)
.o
include
$(SRCTREE)/board/xilinx/ppc440-generic/Makefile
board/avnet/v5fx30teval/config.mk
0 → 100644
View file @
650a9e7a
#
# (C) Copyright 2008
# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
# Work supported by Qtechnology http://www.qtec.com
#
# See file CREDITS for list of people who contributed to this
# project.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License as
# published by the Free Software Foundation; either version 2 of
# the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
#
sinclude
$(SRCTREE)/board/xilinx/ppc440-generic/config.mk
board/avnet/v5fx30teval/v5fx30teval.c
0 → 100644
View file @
650a9e7a
/*
* (C) Copyright 2008
* Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
* This work has been supported by: QTechnology http://qtec.com/
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include <config.h>
#include <common.h>
#include <asm/processor.h>
int
checkboard
(
void
)
{
puts
(
"Avnet Virtex 5 FX30 Evaluation Board
\n
"
);
return
0
;
}
board/avnet/v5fx30teval/xparameters.h
0 → 100644
View file @
650a9e7a
/*
* (C) Copyright 2008
* Ricado Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
* This work has been supported by: QTechnology http://qtec.com/
* based on xparameters.h by Xilinx
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef XPARAMETER_H
#define XPARAMETER_H
#define XPAR_DDR2_SDRAM_MEM_BASEADDR 0x00000000
#define XPAR_INTC_0_BASEADDR 0x81800000
#define XPAR_UARTLITE_0_BASEADDR 0x84000000
#define XPAR_FLASH_MEM0_BASEADDR 0xFF000000
#define XPAR_PLB_CLOCK_FREQ_HZ 100000000
#define XPAR_CORE_CLOCK_FREQ_HZ 400000000
#define XPAR_INTC_MAX_NUM_INTR_INPUTS 13
#define XPAR_UARTLITE_0_BAUDRATE 9600
#endif
board/cpu86/cpu86.c
View file @
650a9e7a
...
...
@@ -313,7 +313,6 @@ phys_size_t initdram (int board_type)
}
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/cpu87/cpu87.c
View file @
650a9e7a
...
...
@@ -323,7 +323,6 @@ phys_size_t initdram (int board_type)
}
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/esd/cpci405/config.mk
View file @
650a9e7a
...
...
@@ -21,20 +21,8 @@
# MA 02111-1307 USA
#
#
# esd CPCI405 boards
#
sinclude
$(OBJTREE)/board/$(BOARDDIR)/config.tmp
ifeq
($(BOARD_REVISION),CPCI4052)
TEXT_BASE
=
0xFFFC0000
else
ifeq
($(BOARD_REVISION),CPCI405DT)
TEXT_BASE
=
0xFFFC0000
else
ifeq
($(BOARD_REVISION),CPCI405AB)
TEXT_BASE
=
0xFFFC0000
else
ifndef
TEXT_BASE
TEXT_BASE
=
0xFFFD0000
endif
endif
endif
board/esd/cpci405/u-boot.lds
View file @
650a9e7a
...
...
@@ -57,22 +57,7 @@ SECTIONS
.plt : { *(.plt) }
.text :
{
/* WARNING - the following is hand-optimized to fit within */
/* the sector layout of our flash chips! XXX FIXME XXX */
cpu/ppc4xx/start.o (.text)
cpu/ppc4xx/traps.o (.text)
cpu/ppc4xx/interrupts.o (.text)
cpu/ppc4xx/4xx_uart.o (.text)
cpu/ppc4xx/cpu_init.o (.text)
cpu/ppc4xx/speed.o (.text)
common/dlmalloc.o (.text)
lib_generic/crc32.o (.text)
lib_ppc/extable.o (.text)
lib_generic/zlib.o (.text)
/* . = env_offset;*/
/* common/environment.o(.text)*/
*(.text)
*(.fixup)
...
...
board/gen860t/gen860t.c
View file @
650a9e7a
...
...
@@ -223,8 +223,6 @@ phys_size_t initdram (int board_type)
* The DOC lives in the CS2* space
*/
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
printf
(
"Probing at 0x%.8x: "
,
DOC_BASE
);
...
...
board/integratorcp/integratorcp.c
View file @
650a9e7a
...
...
@@ -34,6 +34,7 @@
*/
#include <common.h>
#include <div64.h>
DECLARE_GLOBAL_DATA_PTR
;
...
...
@@ -244,7 +245,11 @@ ulong get_timer_masked (void)
total_count
+=
lastdec
-
now
;
}
lastdec
=
now
;
timestamp
=
(
ulong
)(
total_count
/
div_timer
);
/* Reuse "now" */
now
=
total_count
;
do_div
(
now
,
div_timer
);
timestamp
=
now
;
return
timestamp
;
}
...
...
board/mcc200/mcc200.c
View file @
650a9e7a
...
...
@@ -323,7 +323,6 @@ void ide_set_reset (int idereset)
#endif
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/mpl/common/common_util.c
View file @
650a9e7a
...
...
@@ -565,7 +565,6 @@ int do_mplcommon(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
MULTI_PURPOSE_SOCKET_ADDR
);
...
...
board/netstal/hcu5/sdram.c
View file @
650a9e7a
...
...
@@ -122,7 +122,7 @@ void sdram_panic(const char *reason)
}
#ifdef CONFIG_DDR_ECC
static
void
blank_string
(
int
size
)
void
blank_string
(
int
size
)
{
int
i
;
...
...
board/netta2/netta2.c
View file @
650a9e7a
...
...
@@ -620,20 +620,6 @@ void hw_watchdog_reset(void)
#endif
#ifdef CONFIG_SHOW_ACTIVITY
/* called from timer interrupt every 1/CFG_HZ sec */
void
board_show_activity
(
ulong
timestamp
)
{
}
/* called when looping */
void
show_activity
(
int
arg
)
{
}
#endif
#if defined(CFG_CONSOLE_IS_IN_ENV) && defined(CFG_CONSOLE_OVERWRITE_ROUTINE)
int
overwrite_console
(
void
)
{
...
...
board/pm520/pm520.c
View file @
650a9e7a
...
...
@@ -316,7 +316,6 @@ void ide_set_reset (int idereset)
#endif
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/pm826/pm826.c
View file @
650a9e7a
...
...
@@ -312,7 +312,6 @@ phys_size_t initdram (int board_type)
}
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/pm828/pm828.c
View file @
650a9e7a
...
...
@@ -345,7 +345,6 @@ phys_size_t initdram (int board_type)
}
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/sc520_cdp/sc520_cdp.c
View file @
650a9e7a
...
...
@@ -114,7 +114,7 @@ static void irq_init(void)
}
#ifdef CONFIG_PCI
/* PCI stuff */
static
void
pci_sc520_cdp_fixup_irq
(
struct
pci_controller
*
hose
,
pci_dev_t
dev
)
{
...
...
@@ -129,7 +129,7 @@ static void pci_sc520_cdp_fixup_irq(struct pci_controller *hose, pci_dev_t dev)
};
static
int
next_irq_index
=
0
;
char
tmp_pin
;
u
char
tmp_pin
;
int
pin
;
pci_hose_read_config_byte
(
hose
,
dev
,
PCI_INTERRUPT_PIN
,
&
tmp_pin
);
...
...
@@ -193,7 +193,7 @@ void pci_init_board(void)
{
pci_sc520_init
(
&
sc520_cdp_hose
);
}
#endif
static
void
silence_uart
(
int
port
)
{
...
...
@@ -563,12 +563,12 @@ void spi_eeprom_probe(int x)
{
}
int
spi_eeprom_read
(
int
x
,
int
offset
,
char
*
buffer
,
int
len
)
int
spi_eeprom_read
(
int
x
,
int
offset
,
u
char
*
buffer
,
int
len
)
{
return
0
;
}
int
spi_eeprom_write
(
int
x
,
int
offset
,
char
*
buffer
,
int
len
)
int
spi_eeprom_write
(
int
x
,
int
offset
,
u
char
*
buffer
,
int
len
)
{
return
0
;
}
...
...
board/stxxtc/stxxtc.c
View file @
650a9e7a
...
...
@@ -599,20 +599,6 @@ void hw_watchdog_reset(void)
#endif
#ifdef CONFIG_SHOW_ACTIVITY
/* called from timer interrupt every 1/CFG_HZ sec */
void
board_show_activity
(
ulong
timestamp
)
{
}
/* called when looping */
void
show_activity
(
int
arg
)
{
}
#endif
#if defined(CFG_CONSOLE_IS_IN_ENV) && defined(CFG_CONSOLE_OVERWRITE_ROUTINE)
int
overwrite_console
(
void
)
{
...
...
board/svm_sc8xx/svm_sc8xx.c
View file @
650a9e7a
...
...
@@ -154,7 +154,6 @@ phys_size_t initdram (int board_type)
}
#if defined(CONFIG_CMD_DOC)
extern
void
doc_probe
(
ulong
physadr
);
void
doc_init
(
void
)
{
doc_probe
(
CFG_DOC_BASE
);
...
...
board/trab/tsc2000.c
View file @
650a9e7a
...
...
@@ -27,6 +27,7 @@
#include <common.h>
#include <s3c2400.h>
#include <div64.h>
#include "tsc2000.h"
#include "Pt1000_temp_data.h"
...
...
@@ -332,6 +333,7 @@ void tsc2000_reg_init (void)
int
tsc2000_interpolate
(
long
value
,
long
data
[][
2
],
long
*
result
)
{
int
i
;
unsigned
long
long
val
;
/* the data is sorted and the first element is upper
* limit so we can easily check for out-of-band values
...
...
@@ -347,10 +349,10 @@ int tsc2000_interpolate(long value, long data[][2], long *result)
result in 'long long'.
*/
*
result
=
data
[
i
-
1
][
1
]
+
((
unsigned
long
long
)(
data
[
i
][
1
]
-
data
[
i
-
1
][
1
])
*
(
unsigned
long
long
)(
value
-
data
[
i
-
1
][
0
]))
/
(
data
[
i
][
0
]
-
data
[
i
-
1
][
0
])
;
val
=
((
unsigned
long
long
)(
data
[
i
][
1
]
-
data
[
i
-
1
][
1
])
*
(
unsigned
long
long
)(
value
-
data
[
i
-
1
][
0
]));
do_div
(
val
,
(
data
[
i
][
0
]
-
data
[
i
-
1
][
0
]));
*
result
=
data
[
i
-
1
][
1
]
+
val
;
return
0
;
}
...
...
board/xilinx/ml507/Makefile
View file @
650a9e7a
#
# (C) Copyright 2000-2006
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
# (C) Copyright 2008
# Ricardo Ribalda,Universidad Autonoma de Madrid, ricardo.ribalda@uam.es
# This work has been supported by: Qtechnology http://qtec.com/
#
# See file CREDITS for list of people who contributed to this
# project.
...
...
@@ -21,38 +22,6 @@
# MA 02111-1307 USA
#
include
$(TOPDIR)/config.mk
ifneq
($(OBJTREE),$(SRCTREE))
endif
COBJS
+=
$(BOARD)
.o
INCS
:=
CFLAGS
+=
$(INCS)
HOST_CFLAGS
+=
$(INCS)
LIB
=
$(obj)
lib
$(BOARD)
.a
COBJS
=
$(BOARD)
.o
SOBJS
=
init.o
SRCS
:=
$(SOBJS:.o=.S)
$(COBJS:.o=.c)
OBJS
:=
$(
addprefix
$(obj)
,
$(COBJS)
)
SOBJS
:=
$(
addprefix
$(obj)
,
$(SOBJS)
)
$(LIB)
:
$(OBJS) $(SOBJS)
$(AR)
$(ARFLAGS)
$@
$^
clean
:
rm
-f
$(SOBJS)
$(OBJS)
distclean
:
clean
rm
-f
$(LIB)
core
*
.bak .depend
#########################################################################
# defines $(obj).depend target
include
$(SRCTREE)/rules.mk
sinclude
$(obj).depend
#########################################################################
include
$(SRCTREE)/board/xilinx/ppc440-generic/Makefile
board/xilinx/ml507/config.mk
View file @
650a9e7a
#
# (C) Copyright 2000
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
# (C) Copyright 2008
# Ricardo Ribalda-Universidad Autonoma de Madrid-ricardo.ribalda@uam.es
# Work supported by Qtechnology http://www.qtec.com
#
# See file CREDITS for list of people who contributed to this
# project.
...
...
@@ -20,8 +21,6 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA
#
sinclude
$(OBJTREE)/board/$(BOARDDIR)/config.tmp
#
ifndef
TEXT_BASE
TEXT_BASE
=
0x04000000
endif
sinclude
$(SRCTREE)/board/xilinx/ppc440-generic/config.mk
board/xilinx/ml507/ml507.c
View file @
650a9e7a
...
...
@@ -20,28 +20,9 @@
#include <common.h>
#include <asm/processor.h>
int
board_pre_init
(
void
)
{
return
0
;
}
int
checkboard
(
void
)
{
puts
(
"ML507 Board
\n
"
);
puts
(
"
Xilinx
ML507 Board
\n
"
);
return
0
;
}
phys_size_t
initdram
(
int
board_type
)
{
return
get_ram_size
(
XPAR_DDR2_SDRAM_MEM_BASEADDR
,
CFG_SDRAM_SIZE_MB
*
1024
*
1024
);
}
void
get_sys_info
(
sys_info_t
*
sysInfo
)
{
sysInfo
->
freqProcessor
=
XPAR_CORE_CLOCK_FREQ_HZ
;
sysInfo
->
freqPLB
=
XPAR_PLB_CLOCK_FREQ_HZ
;
sysInfo
->
freqPCI
=
0
;
return
;
}
board/xilinx/ml507/xparameters.h
View file @
650a9e7a
...
...
@@ -21,15 +21,14 @@
#ifndef XPARAMETER_H
#define XPARAMETER_H
#define XPAR_DDR2_SDRAM_MEM_BASEADDR 0x00000000
#define XPAR_IIC_EEPROM_BASEADDR 0x81600000
#define XPAR_INTC_0_BASEADDR 0x81800000
#define XPAR_LLTEMAC_0_BASEADDR 0x81C00000
#define XPAR_UARTLITE_0_BASEADDR 0x84000000
#define XPAR_FLASH_MEM0_BASEADDR 0xFE000000
#define XPAR_PLB_CLOCK_FREQ_HZ 100000000
#define XPAR_CORE_CLOCK_FREQ_HZ 400000000
#define XPAR_INTC_MAX_NUM_INTR_INPUTS 13
#define XPAR_DDR2_SDRAM_MEM_BASEADDR 0x00000000
#define XPAR_IIC_EEPROM_BASEADDR 0x81600000
#define XPAR_INTC_0_BASEADDR 0x81800000
#define XPAR_UARTLITE_0_BASEADDR 0x84000000
#define XPAR_FLASH_MEM0_BASEADDR 0xFE000000
#define XPAR_PLB_CLOCK_FREQ_HZ 100000000