mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-25 13:14:19 +08:00
Merge branch 'master' of http://www.denx.de/git/u-boot
This commit is contained in:
commit
daaba9859b
41
CHANGELOG
41
CHANGELOG
@ -2,11 +2,52 @@
|
|||||||
Changes since U-Boot 1.1.4:
|
Changes since U-Boot 1.1.4:
|
||||||
======================================================================
|
======================================================================
|
||||||
|
|
||||||
|
* Define IH_CPU_AVR32
|
||||||
|
Make it possible to generate AVR32 uImage files with mkimage and
|
||||||
|
make cmd_bootm recognize them.
|
||||||
|
Patch by Haavard Skinnemoen, 22 Sep 2006
|
||||||
|
|
||||||
|
* Fix buffer overflow problem in ft_build.c
|
||||||
|
Patch by Fredrik Roubert, 09 Oct 2006
|
||||||
|
|
||||||
|
* Make bootp implementation RFC3046 compliant
|
||||||
|
Patch by Joakim Larsson, 27 Jun 2006
|
||||||
|
|
||||||
|
* TQM5200: perform POST memory test only on STK52xx carrier board.
|
||||||
|
(and then only if PSC6_3 is read as "1" when booting).
|
||||||
|
Patch by Martin Krause, 21 Jun 2006
|
||||||
|
|
||||||
|
* Move "ar" flags to config.mk to allow for silent "make -s"
|
||||||
|
Based on patch by Mike Frysinger, 20 Jun 2006
|
||||||
|
|
||||||
|
* Coding style cleanup
|
||||||
|
|
||||||
|
* Add support for EP82xxM boards
|
||||||
|
Patch by Aaron Sells, 20 Jun 2006
|
||||||
|
|
||||||
|
* Fix comments in include/ppc440.h
|
||||||
|
Patch by Martin Hicks, 16 Jun 2006
|
||||||
|
|
||||||
|
* Update for CAM5200 board:
|
||||||
|
- Map in a additional chip selects CS4 and CS5.
|
||||||
|
- Modify the port configration, configure six UARTs and no PCI,
|
||||||
|
ATA and USB.
|
||||||
|
- Add custom flash driver to handle specific byte swapping
|
||||||
|
|
||||||
|
* Fix TLB setup for Ocotea board
|
||||||
|
Patch by Stefan Roese, 30 Sep 2006
|
||||||
|
|
||||||
|
* Fix reset problem in sequoia sdram init code
|
||||||
|
Patch by Stefan Roese, 23 Sep 2006
|
||||||
|
|
||||||
* Disable autoboot abort for FO300 when silent mode is enabled
|
* Disable autoboot abort for FO300 when silent mode is enabled
|
||||||
(according to S1 switch setting).
|
(according to S1 switch setting).
|
||||||
|
|
||||||
* Cleanup examples binaries
|
* Cleanup examples binaries
|
||||||
|
|
||||||
|
* Add support for AMCC Rainier PPX440GRx eval board
|
||||||
|
Patch by Stefan Roese, 13 Sep 2006
|
||||||
|
|
||||||
* Add NAND environment support for PPC440EPx Sequoia NAND boot config
|
* Add NAND environment support for PPC440EPx Sequoia NAND boot config
|
||||||
Patch by Stefan Roese, 12 Sep 2006
|
Patch by Stefan Roese, 12 Sep 2006
|
||||||
|
|
||||||
|
4
CREDITS
4
CREDITS
@ -386,6 +386,10 @@ N: Robert Schwebel
|
|||||||
E: r.schwebel@pengutronix.de
|
E: r.schwebel@pengutronix.de
|
||||||
D: Support for csb226, logodl and innokom boards (PXA2xx)
|
D: Support for csb226, logodl and innokom boards (PXA2xx)
|
||||||
|
|
||||||
|
N: Aaron Sells
|
||||||
|
E: sellsa@embeddedplanet.com
|
||||||
|
D: Support for EP82xxM
|
||||||
|
|
||||||
N: Art Shipkowski
|
N: Art Shipkowski
|
||||||
E: art@videon-central.com
|
E: art@videon-central.com
|
||||||
D: Support for NetSilicon NS7520
|
D: Support for NetSilicon NS7520
|
||||||
|
12
MAKEALL
12
MAKEALL
@ -117,12 +117,12 @@ LIST_824x=" \
|
|||||||
|
|
||||||
LIST_8260=" \
|
LIST_8260=" \
|
||||||
atc cogent_mpc8260 CPU86 CPU87 \
|
atc cogent_mpc8260 CPU86 CPU87 \
|
||||||
ep8248 ep8260 gw8260 hymod \
|
ep8248 ep8260 ep82xxm gw8260 \
|
||||||
IPHASE4539 ISPAN MPC8260ADS MPC8266ADS \
|
hymod IPHASE4539 ISPAN MPC8260ADS \
|
||||||
MPC8272ADS PM826 PM828 ppmc8260 \
|
MPC8266ADS MPC8272ADS PM826 PM828 \
|
||||||
Rattler8248 RPXsuper rsdproto sacsng \
|
ppmc8260 Rattler8248 RPXsuper rsdproto \
|
||||||
sbc8260 SCM TQM8260_AC TQM8260_AD \
|
sacsng sbc8260 SCM TQM8260_AC \
|
||||||
TQM8260_AE ZPC1900 \
|
TQM8260_AD TQM8260_AE ZPC1900 \
|
||||||
"
|
"
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
18
Makefile
18
Makefile
@ -1145,6 +1145,21 @@ PPChameleonEVB_HI_33_config: unconfig
|
|||||||
}
|
}
|
||||||
@$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
|
@$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
|
||||||
|
|
||||||
|
rainier_config: unconfig
|
||||||
|
@echo "#define CONFIG_RAINIER" > include/config.h
|
||||||
|
@echo "Configuring for rainier board as subset of sequoia..."
|
||||||
|
@$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
|
||||||
|
|
||||||
|
rainier_nand_config: unconfig
|
||||||
|
@echo "#define CONFIG_RAINIER" > include/config.h
|
||||||
|
@echo "Configuring for rainier board as subset of sequoia..."
|
||||||
|
@ln -s board/amcc/sequoia/Makefile nand_spl/Makefile
|
||||||
|
@echo "#define CONFIG_NAND_U_BOOT" >> include/config.h
|
||||||
|
@echo "Compile NAND boot image for sequoia"
|
||||||
|
@$(MKCONFIG) -a sequoia ppc ppc4xx sequoia amcc
|
||||||
|
@echo "TEXT_BASE = 0x01000000" >board/amcc/sequoia/config.tmp
|
||||||
|
@echo "CONFIG_NAND_U_BOOT = y" >> include/config.mk
|
||||||
|
|
||||||
sbc405_config: unconfig
|
sbc405_config: unconfig
|
||||||
@$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
|
@$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
|
||||||
|
|
||||||
@ -1320,6 +1335,9 @@ ep8248E_config : unconfig
|
|||||||
ep8260_config: unconfig
|
ep8260_config: unconfig
|
||||||
@$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
|
@$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
|
||||||
|
|
||||||
|
ep82xxm_config: unconfig
|
||||||
|
@./mkconfig $(@:_config=) ppc mpc8260 ep82xxm
|
||||||
|
|
||||||
gw8260_config: unconfig
|
gw8260_config: unconfig
|
||||||
@$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
|
@$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -43,7 +43,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -50,7 +50,7 @@ EMUOBJ := $(addprefix $(obj),$(EMUOBJ))
|
|||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(EMUSRC)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS) $(EMUSRC)
|
||||||
make $(obj)libx86emu.a -C ../bios_emulator/scitech/src/x86emu -f makefile.uboot CROSS_COMPILE=$(CROSS_COMPILE)
|
make $(obj)libx86emu.a -C ../bios_emulator/scitech/src/x86emu -f makefile.uboot CROSS_COMPILE=$(CROSS_COMPILE)
|
||||||
-rm $(LIB)
|
-rm $(LIB)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS) $(EMUOBJ)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS) $(EMUOBJ)
|
||||||
|
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# (C) Copyright 2006
|
# (C) Copyright 2006
|
||||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
#
|
#
|
||||||
# (C) Copyright 2001
|
# (C) Copyright 2001
|
||||||
# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
|
# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
|
||||||
#
|
#
|
||||||
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# (C) Copyright 2006
|
# (C) Copyright 2006
|
||||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
#
|
#
|
||||||
# (C) Copyright 2001
|
# (C) Copyright 2001
|
||||||
# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
|
# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
|
||||||
#
|
#
|
||||||
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS)
|
$(LIB): $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -1,30 +1,31 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
|
* Copyright (C) 2002 Scott McNutt <smcnutt@artesyncp.com>
|
||||||
*
|
*
|
||||||
* See file CREDITS for list of people who contributed to this
|
* See file CREDITS for list of people who contributed to this
|
||||||
* project.
|
* project.
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
* published by the Free Software Foundation; either version 2 of
|
* published by the Free Software Foundation; either version 2 of
|
||||||
* the License, or (at your option) any later version.
|
* the License, or (at your option) any later version.
|
||||||
*
|
*
|
||||||
* This program is distributed in the hope that it will be useful,
|
* This program is distributed in the hope that it will be useful,
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
* GNU General Public License for more details.
|
* GNU General Public License for more details.
|
||||||
*
|
*
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with this program; if not, write to the Free Software
|
* along with this program; if not, write to the Free Software
|
||||||
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
* Foundation, Inc., 59 Temple Place, Suite 330, Boston,
|
||||||
* MA 02111-1307 USA
|
* MA 02111-1307 USA
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ppc_asm.tmpl>
|
#include <ppc_asm.tmpl>
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
/* General */
|
/* General */
|
||||||
#define TLB_VALID 0x00000200
|
#define TLB_VALID 0x00000200
|
||||||
|
#define _256M 0x10000000
|
||||||
|
|
||||||
/* Supported page sizes */
|
/* Supported page sizes */
|
||||||
|
|
||||||
@ -32,10 +33,11 @@
|
|||||||
#define SZ_4K 0x00000010
|
#define SZ_4K 0x00000010
|
||||||
#define SZ_16K 0x00000020
|
#define SZ_16K 0x00000020
|
||||||
#define SZ_64K 0x00000030
|
#define SZ_64K 0x00000030
|
||||||
#define SZ_256K 0x00000040
|
#define SZ_256K 0x00000040
|
||||||
#define SZ_1M 0x00000050
|
#define SZ_1M 0x00000050
|
||||||
|
#define SZ_8M 0x00000060
|
||||||
#define SZ_16M 0x00000070
|
#define SZ_16M 0x00000070
|
||||||
#define SZ_256M 0x00000090
|
#define SZ_256M 0x00000090
|
||||||
|
|
||||||
/* Storage attributes */
|
/* Storage attributes */
|
||||||
#define SA_W 0x00000800 /* Write-through */
|
#define SA_W 0x00000800 /* Write-through */
|
||||||
@ -54,7 +56,7 @@
|
|||||||
#define EPN(e) ((e) & 0xfffffc00)
|
#define EPN(e) ((e) & 0xfffffc00)
|
||||||
#define TLB0(epn,sz) ( (EPN((epn)) | (sz) | TLB_VALID ) )
|
#define TLB0(epn,sz) ( (EPN((epn)) | (sz) | TLB_VALID ) )
|
||||||
#define TLB1(rpn,erpn) ( ((rpn)&0xfffffc00) | (erpn) )
|
#define TLB1(rpn,erpn) ( ((rpn)&0xfffffc00) | (erpn) )
|
||||||
#define TLB2(a) ( (a)&0x00000fbf )
|
#define TLB2(a) ( (a)&0x00000fbf )
|
||||||
|
|
||||||
#define tlbtab_start\
|
#define tlbtab_start\
|
||||||
mflr r1 ;\
|
mflr r1 ;\
|
||||||
@ -86,12 +88,14 @@
|
|||||||
|
|
||||||
tlbtab:
|
tlbtab:
|
||||||
tlbtab_start
|
tlbtab_start
|
||||||
tlbentry( 0xf0000000, SZ_256M, 0xf0000000, 1, AC_R|AC_W|AC_X|SA_G|SA_I)
|
tlbentry( 0xf0000000, SZ_256M, 0xf0000000, 1, AC_R|AC_W|AC_X|SA_G|SA_I )
|
||||||
tlbentry( CFG_PERIPHERAL_BASE, SZ_256M, 0x40000000, 1, AC_R|AC_W|SA_G|SA_I)
|
tlbentry( CFG_PERIPHERAL_BASE, SZ_256M, 0x40000000, 1, AC_R|AC_W|SA_G|SA_I )
|
||||||
tlbentry( CFG_ISRAM_BASE, SZ_4K, 0x80000000, 0, AC_R|AC_W|AC_X )
|
tlbentry( CFG_ISRAM_BASE, SZ_4K, 0x80000000, 0, AC_R|AC_W|AC_X )
|
||||||
tlbentry( CFG_ISRAM_BASE + 0x1000, SZ_4K, 0x80001000, 0, AC_R|AC_W|AC_X )
|
tlbentry( CFG_ISRAM_BASE + 0x1000, SZ_4K, 0x80001000, 0, AC_R|AC_W|AC_X )
|
||||||
tlbentry( CFG_SDRAM_BASE, SZ_256M, 0x00000000, 0, AC_R|AC_W|AC_X|SA_G|SA_I )
|
tlbentry( CFG_SDRAM_BASE, SZ_256M, 0x00000000, 0, AC_R|AC_W|AC_X|SA_G|SA_I )
|
||||||
tlbentry( CFG_SDRAM_BASE+0x10000000, SZ_256M, 0x00000000, 0, AC_R|AC_W|AC_X|SA_G|SA_I )
|
tlbentry( CFG_SDRAM_BASE + 0x10000000, SZ_256M, 0x10000000, 0, AC_R|AC_W|AC_X|SA_G|SA_I )
|
||||||
|
tlbentry( CFG_SDRAM_BASE + 0x20000000, SZ_256M, 0x20000000, 0, AC_R|AC_W|AC_X|SA_G|SA_I )
|
||||||
|
tlbentry( CFG_SDRAM_BASE + 0x30000000, SZ_256M, 0x30000000, 0, AC_R|AC_W|AC_X|SA_G|SA_I )
|
||||||
tlbentry( CFG_PCI_BASE, SZ_256M, 0x00000000, 2, AC_R|AC_W|SA_G|SA_I )
|
tlbentry( CFG_PCI_BASE, SZ_256M, 0x00000000, 2, AC_R|AC_W|SA_G|SA_I )
|
||||||
tlbentry( CFG_PCI_MEMBASE, SZ_256M, 0x00000000, 3, AC_R|AC_W|SA_G|SA_I )
|
tlbentry( CFG_PCI_MEMBASE, SZ_256M, 0x00000000, 3, AC_R|AC_W|SA_G|SA_I )
|
||||||
tlbtab_end
|
tlbtab_end
|
||||||
|
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -34,12 +34,6 @@ long int initdram (int board_type)
|
|||||||
|
|
||||||
mtsdram(DDR0_02, 0x00000000);
|
mtsdram(DDR0_02, 0x00000000);
|
||||||
|
|
||||||
/*
|
|
||||||
* Soft-reset SDRAM controller
|
|
||||||
*/
|
|
||||||
mtsdr(sdr_srst, SDR0_SRST0_DMC);
|
|
||||||
mtsdr(sdr_srst, 0x00000000);
|
|
||||||
|
|
||||||
mtsdram(DDR0_00, 0x0000190A);
|
mtsdram(DDR0_00, 0x0000190A);
|
||||||
mtsdram(DDR0_01, 0x01000000);
|
mtsdram(DDR0_01, 0x01000000);
|
||||||
mtsdram(DDR0_03, 0x02030602);
|
mtsdram(DDR0_03, 0x02030602);
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*
|
*
|
||||||
* (C) Copyright 2006
|
* (C) Copyright 2006
|
||||||
* Jacqueline Pira-Ferriol, AMCC/IBM, jpira-ferriol@fr.ibm.com
|
* Jacqueline Pira-Ferriol, AMCC/IBM, jpira-ferriol@fr.ibm.com
|
||||||
* Alain Saurel, AMCC/IBM, alain.saurel@fr.ibm.com
|
* Alain Saurel, AMCC/IBM, alain.saurel@fr.ibm.com
|
||||||
*
|
*
|
||||||
* This program is free software; you can redistribute it and/or
|
* This program is free software; you can redistribute it and/or
|
||||||
* modify it under the terms of the GNU General Public License as
|
* modify it under the terms of the GNU General Public License as
|
||||||
@ -123,12 +123,12 @@ int board_early_init_f(void)
|
|||||||
|
|
||||||
/* setup NAND FLASH */
|
/* setup NAND FLASH */
|
||||||
mfsdr(SDR0_CUST0, sdr0_cust0);
|
mfsdr(SDR0_CUST0, sdr0_cust0);
|
||||||
sdr0_cust0 = SDR0_CUST0_MUX_NDFC_SEL |
|
sdr0_cust0 = SDR0_CUST0_MUX_NDFC_SEL |
|
||||||
SDR0_CUST0_NDFC_ENABLE |
|
SDR0_CUST0_NDFC_ENABLE |
|
||||||
SDR0_CUST0_NDFC_BW_8_BIT |
|
SDR0_CUST0_NDFC_BW_8_BIT |
|
||||||
SDR0_CUST0_NDFC_ARE_MASK |
|
SDR0_CUST0_NDFC_ARE_MASK |
|
||||||
(0x80000000 >> (28 + CFG_NAND_CS));
|
(0x80000000 >> (28 + CFG_NAND_CS));
|
||||||
mtsdr(SDR0_CUST0, sdr0_cust0);
|
mtsdr(SDR0_CUST0, sdr0_cust0);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -140,10 +140,12 @@ int misc_init_r(void)
|
|||||||
{
|
{
|
||||||
uint pbcr;
|
uint pbcr;
|
||||||
int size_val = 0;
|
int size_val = 0;
|
||||||
|
#ifdef CONFIG_440EPX
|
||||||
unsigned long usb2d0cr = 0;
|
unsigned long usb2d0cr = 0;
|
||||||
unsigned long usb2phy0cr, usb2h0cr = 0;
|
unsigned long usb2phy0cr, usb2h0cr = 0;
|
||||||
unsigned long sdr0_pfc1;
|
unsigned long sdr0_pfc1;
|
||||||
char *act = getenv("usbact");
|
char *act = getenv("usbact");
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* FLASH stuff...
|
* FLASH stuff...
|
||||||
@ -211,40 +213,41 @@ int misc_init_r(void)
|
|||||||
/*
|
/*
|
||||||
* USB suff...
|
* USB suff...
|
||||||
*/
|
*/
|
||||||
|
#ifdef CONFIG_440EPX
|
||||||
if (act == NULL || strcmp(act, "hostdev") == 0) {
|
if (act == NULL || strcmp(act, "hostdev") == 0) {
|
||||||
/* SDR Setting */
|
/* SDR Setting */
|
||||||
mfsdr(SDR0_PFC1, sdr0_pfc1);
|
mfsdr(SDR0_PFC1, sdr0_pfc1);
|
||||||
mfsdr(SDR0_USB0, usb2d0cr);
|
mfsdr(SDR0_USB0, usb2d0cr);
|
||||||
mfsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
mfsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
||||||
mfsdr(SDR0_USB2H0CR, usb2h0cr);
|
mfsdr(SDR0_USB2H0CR, usb2h0cr);
|
||||||
|
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_XOCLK_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_XOCLK_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_XOCLK_EXTERNAL; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_XOCLK_EXTERNAL; /*0*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_WDINT_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_WDINT_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_WDINT_16BIT_30MHZ; /*1*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_WDINT_16BIT_30MHZ; /*1*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DVBUS_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DVBUS_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DVBUS_PURDIS; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DVBUS_PURDIS; /*0*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DWNSTR_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DWNSTR_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DWNSTR_HOST; /*1*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DWNSTR_HOST; /*1*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_UTMICN_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_UTMICN_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_UTMICN_HOST; /*1*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_UTMICN_HOST; /*1*/
|
||||||
|
|
||||||
/* An 8-bit/60MHz interface is the only possible alternative
|
/* An 8-bit/60MHz interface is the only possible alternative
|
||||||
when connecting the Device to the PHY */
|
when connecting the Device to the PHY */
|
||||||
usb2h0cr = usb2h0cr &~SDR0_USB2H0CR_WDINT_MASK;
|
usb2h0cr = usb2h0cr &~SDR0_USB2H0CR_WDINT_MASK;
|
||||||
usb2h0cr = usb2h0cr | SDR0_USB2H0CR_WDINT_16BIT_30MHZ; /*1*/
|
usb2h0cr = usb2h0cr | SDR0_USB2H0CR_WDINT_16BIT_30MHZ; /*1*/
|
||||||
|
|
||||||
/* To enable the USB 2.0 Device function through the UTMI interface */
|
/* To enable the USB 2.0 Device function through the UTMI interface */
|
||||||
usb2d0cr = usb2d0cr &~SDR0_USB2D0CR_USB2DEV_EBC_SEL_MASK;
|
usb2d0cr = usb2d0cr &~SDR0_USB2D0CR_USB2DEV_EBC_SEL_MASK;
|
||||||
usb2d0cr = usb2d0cr | SDR0_USB2D0CR_USB2DEV_SELECTION; /*1*/
|
usb2d0cr = usb2d0cr | SDR0_USB2D0CR_USB2DEV_SELECTION; /*1*/
|
||||||
|
|
||||||
sdr0_pfc1 = sdr0_pfc1 &~SDR0_PFC1_UES_MASK;
|
sdr0_pfc1 = sdr0_pfc1 &~SDR0_PFC1_UES_MASK;
|
||||||
sdr0_pfc1 = sdr0_pfc1 | SDR0_PFC1_UES_USB2D_SEL; /*0*/
|
sdr0_pfc1 = sdr0_pfc1 | SDR0_PFC1_UES_USB2D_SEL; /*0*/
|
||||||
|
|
||||||
mtsdr(SDR0_PFC1, sdr0_pfc1);
|
mtsdr(SDR0_PFC1, sdr0_pfc1);
|
||||||
mtsdr(SDR0_USB0, usb2d0cr);
|
mtsdr(SDR0_USB0, usb2d0cr);
|
||||||
mtsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
mtsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
||||||
mtsdr(SDR0_USB2H0CR, usb2h0cr);
|
mtsdr(SDR0_USB2H0CR, usb2h0cr);
|
||||||
|
|
||||||
/*clear resets*/
|
/*clear resets*/
|
||||||
udelay (1000);
|
udelay (1000);
|
||||||
@ -261,11 +264,11 @@ int misc_init_r(void)
|
|||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_XOCLK_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_XOCLK_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_XOCLK_EXTERNAL; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_XOCLK_EXTERNAL; /*0*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DVBUS_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DVBUS_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DVBUS_PURDIS; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DVBUS_PURDIS; /*0*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DWNSTR_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DWNSTR_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DWNSTR_HOST; /*1*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DWNSTR_HOST; /*1*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_UTMICN_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_UTMICN_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_UTMICN_HOST; /*1*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_UTMICN_HOST; /*1*/
|
||||||
mtsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
mtsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
||||||
|
|
||||||
udelay (1000);
|
udelay (1000);
|
||||||
@ -284,33 +287,33 @@ int misc_init_r(void)
|
|||||||
/*-------------------PATCH-------------------------------*/
|
/*-------------------PATCH-------------------------------*/
|
||||||
|
|
||||||
/* SDR Setting */
|
/* SDR Setting */
|
||||||
mfsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
mfsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
||||||
mfsdr(SDR0_USB2H0CR, usb2h0cr);
|
mfsdr(SDR0_USB2H0CR, usb2h0cr);
|
||||||
mfsdr(SDR0_USB0, usb2d0cr);
|
mfsdr(SDR0_USB0, usb2d0cr);
|
||||||
mfsdr(SDR0_PFC1, sdr0_pfc1);
|
mfsdr(SDR0_PFC1, sdr0_pfc1);
|
||||||
|
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_XOCLK_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_XOCLK_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_XOCLK_EXTERNAL; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_XOCLK_EXTERNAL; /*0*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_WDINT_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_WDINT_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_WDINT_8BIT_60MHZ; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_WDINT_8BIT_60MHZ; /*0*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DVBUS_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DVBUS_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DVBUS_PUREN; /*1*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DVBUS_PUREN; /*1*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DWNSTR_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_DWNSTR_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DWNSTR_DEV; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_DWNSTR_DEV; /*0*/
|
||||||
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_UTMICN_MASK;
|
usb2phy0cr = usb2phy0cr &~SDR0_USB2PHY0CR_UTMICN_MASK;
|
||||||
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_UTMICN_DEV; /*0*/
|
usb2phy0cr = usb2phy0cr | SDR0_USB2PHY0CR_UTMICN_DEV; /*0*/
|
||||||
|
|
||||||
usb2h0cr = usb2h0cr &~SDR0_USB2H0CR_WDINT_MASK;
|
usb2h0cr = usb2h0cr &~SDR0_USB2H0CR_WDINT_MASK;
|
||||||
usb2h0cr = usb2h0cr | SDR0_USB2H0CR_WDINT_8BIT_60MHZ; /*0*/
|
usb2h0cr = usb2h0cr | SDR0_USB2H0CR_WDINT_8BIT_60MHZ; /*0*/
|
||||||
|
|
||||||
usb2d0cr = usb2d0cr &~SDR0_USB2D0CR_USB2DEV_EBC_SEL_MASK;
|
usb2d0cr = usb2d0cr &~SDR0_USB2D0CR_USB2DEV_EBC_SEL_MASK;
|
||||||
usb2d0cr = usb2d0cr | SDR0_USB2D0CR_EBC_SELECTION; /*0*/
|
usb2d0cr = usb2d0cr | SDR0_USB2D0CR_EBC_SELECTION; /*0*/
|
||||||
|
|
||||||
sdr0_pfc1 = sdr0_pfc1 &~SDR0_PFC1_UES_MASK;
|
sdr0_pfc1 = sdr0_pfc1 &~SDR0_PFC1_UES_MASK;
|
||||||
sdr0_pfc1 = sdr0_pfc1 | SDR0_PFC1_UES_EBCHR_SEL; /*1*/
|
sdr0_pfc1 = sdr0_pfc1 | SDR0_PFC1_UES_EBCHR_SEL; /*1*/
|
||||||
|
|
||||||
mtsdr(SDR0_USB2H0CR, usb2h0cr);
|
mtsdr(SDR0_USB2H0CR, usb2h0cr);
|
||||||
mtsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
mtsdr(SDR0_USB2PHY0CR, usb2phy0cr);
|
||||||
mtsdr(SDR0_USB0, usb2d0cr);
|
mtsdr(SDR0_USB0, usb2d0cr);
|
||||||
mtsdr(SDR0_PFC1, sdr0_pfc1);
|
mtsdr(SDR0_PFC1, sdr0_pfc1);
|
||||||
|
|
||||||
@ -322,6 +325,7 @@ int misc_init_r(void)
|
|||||||
|
|
||||||
printf("USB: Device(int phy)\n");
|
printf("USB: Device(int phy)\n");
|
||||||
}
|
}
|
||||||
|
#endif /* CONFIG_440EPX */
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
@ -330,7 +334,11 @@ int checkboard(void)
|
|||||||
{
|
{
|
||||||
char *s = getenv("serial#");
|
char *s = getenv("serial#");
|
||||||
|
|
||||||
|
#ifdef CONFIG_440EPX
|
||||||
printf("Board: Sequoia - AMCC PPC440EPx Evaluation Board");
|
printf("Board: Sequoia - AMCC PPC440EPx Evaluation Board");
|
||||||
|
#else
|
||||||
|
printf("Board: Rainier - AMCC PPC440GRx Evaluation Board");
|
||||||
|
#endif
|
||||||
if (s != NULL) {
|
if (s != NULL) {
|
||||||
puts(", serial# ");
|
puts(", serial# ");
|
||||||
puts(s);
|
puts(s);
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -958,7 +958,6 @@ int is_pci_host(struct pci_controller *hose)
|
|||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
int yucca_pcie_card_present(int port)
|
int yucca_pcie_card_present(int port)
|
||||||
{
|
{
|
||||||
u16 reg;
|
u16 reg;
|
||||||
@ -1084,8 +1083,6 @@ void yucca_setup_pcie_fpga_endpoint(int port)
|
|||||||
(endpoint | in_be16((u16 *)FPGA_REG1C)));
|
(endpoint | in_be16((u16 *)FPGA_REG1C)));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
static struct pci_controller pcie_hose[3] = {{0},{0},{0}};
|
static struct pci_controller pcie_hose[3] = {{0},{0},{0}};
|
||||||
|
|
||||||
void pcie_setup_hoses(void)
|
void pcie_setup_hoses(void)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $^
|
$(AR) $(ARFLAGS) $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -38,7 +38,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) $(SOBJS)
|
rm -f $(OBJS) $(SOBJS)
|
||||||
|
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) $(SOBJS)
|
rm -f $(OBJS) $(SOBJS)
|
||||||
|
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(OBJS) $(SOBJS)
|
rm -f $(OBJS) $(SOBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -36,7 +36,7 @@ SOBJS := $(addprefix $(obj),$(SOBJS))
|
|||||||
# HACK: depend needs bootscript.c, which needs tools/mkimage, which is not
|
# HACK: depend needs bootscript.c, which needs tools/mkimage, which is not
|
||||||
# built in the depend stage. So... put bootscript.o here, not in OBJS
|
# built in the depend stage. So... put bootscript.o here, not in OBJS
|
||||||
$(LIB): $(OBJS) $(SOBJS) $(obj)bootscript.o
|
$(LIB): $(OBJS) $(SOBJS) $(obj)bootscript.o
|
||||||
$(AR) crv $@ $^
|
$(AR) $(ARFLAGS) $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS) $(obj)bootscript.c \
|
rm -f $(SOBJS) $(OBJS) $(obj)bootscript.c \
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $^
|
$(AR) $(ARFLAGS) $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $^
|
$(AR) $(ARFLAGS) $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# (C) Copyright 2006
|
# (C) Copyright 2006
|
||||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
#
|
#
|
||||||
# (C) Copyright 2002
|
# (C) Copyright 2002
|
||||||
# Sysgo Real-Time Solutions, GmbH <www.elinos.com>
|
# Sysgo Real-Time Solutions, GmbH <www.elinos.com>
|
||||||
# Marius Groeger <mgroeger@sysgo.de>
|
# Marius Groeger <mgroeger@sysgo.de>
|
||||||
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $^
|
$(AR) $(ARFLAGS) $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -34,7 +34,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -37,7 +37,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -32,7 +32,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
49
board/ep82xxm/Makefile
Normal file
49
board/ep82xxm/Makefile
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
#
|
||||||
|
# (C) Copyright 2001-2006
|
||||||
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(TOPDIR)/config.mk
|
||||||
|
|
||||||
|
LIB = $(obj)lib$(BOARD).a
|
||||||
|
|
||||||
|
COBJS := $(BOARD).o
|
||||||
|
|
||||||
|
SRCS := $(COBJS:.o=.c)
|
||||||
|
OBJS := $(addprefix $(obj),$(COBJS))
|
||||||
|
|
||||||
|
$(LIB): $(OBJS)
|
||||||
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
|
clean:
|
||||||
|
rm -f $(OBJS)
|
||||||
|
|
||||||
|
distclean: clean
|
||||||
|
rm -f $(LIB) core *.bak .depend *~
|
||||||
|
|
||||||
|
#########################################################################
|
||||||
|
|
||||||
|
# defines $(obj).depend target
|
||||||
|
include $(SRCTREE)/rules.mk
|
||||||
|
|
||||||
|
sinclude $(obj).depend
|
||||||
|
|
||||||
|
#########################################################################
|
26
board/ep82xxm/config.mk
Normal file
26
board/ep82xxm/config.mk
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#
|
||||||
|
# (C) Copyright 2001-2006
|
||||||
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
|
#
|
||||||
|
# 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
|
||||||
|
#
|
||||||
|
|
||||||
|
# EP82xxM series boards by Embedded Planet
|
||||||
|
|
||||||
|
TEXT_BASE = 0xFFF00000
|
291
board/ep82xxm/ep82xxm.c
Normal file
291
board/ep82xxm/ep82xxm.c
Normal file
@ -0,0 +1,291 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2006 Embedded Planet, LLC.
|
||||||
|
*
|
||||||
|
* Support for Embedded Planet EP82xxM boards.
|
||||||
|
* Tested on EP82xxM (MPC8270).
|
||||||
|
*
|
||||||
|
* 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
|
||||||
|
*/
|
||||||
|
|
||||||
|
#include <common.h>
|
||||||
|
#include <mpc8260.h>
|
||||||
|
#include <ioports.h>
|
||||||
|
#include <asm/m8260_pci.h>
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
|
#include <pci.h>
|
||||||
|
#endif
|
||||||
|
#include <miiphy.h>
|
||||||
|
|
||||||
|
/*
|
||||||
|
* I/O Port configuration table
|
||||||
|
*
|
||||||
|
* if conf is 1, then that port pin will be configured at boot time
|
||||||
|
* according to the five values podr/pdir/ppar/psor/pdat for that entry
|
||||||
|
*/
|
||||||
|
|
||||||
|
#define CFG_FCC2 1
|
||||||
|
#define CFG_FCC3 1
|
||||||
|
|
||||||
|
const iop_conf_t iop_conf_tab[4][32] = {
|
||||||
|
|
||||||
|
/* Port A */
|
||||||
|
{ /* conf ppar psor pdir podr pdat */
|
||||||
|
/* PA31 */ { 0, 0, 0, 0, 0, 1 }, /* PA31 */
|
||||||
|
/* PA30 */ { 0, 0, 0, 0, 0, 1 }, /* PA30 */
|
||||||
|
/* PA29 */ { 0, 0, 0, 0, 0, 1 }, /* PA29 */
|
||||||
|
/* PA28 */ { 0, 0, 0, 0, 0, 1 }, /* PA28 */
|
||||||
|
/* PA27 */ { 0, 0, 0, 0, 0, 1 }, /* PA27 */
|
||||||
|
/* PA26 */ { 0, 0, 0, 0, 0, 1 }, /* PA26 */
|
||||||
|
/* PA25 */ { 0, 0, 0, 0, 0, 1 }, /* PA25 */
|
||||||
|
/* PA24 */ { 0, 0, 0, 0, 0, 1 }, /* PA24 */
|
||||||
|
/* PA23 */ { 0, 0, 0, 0, 0, 1 }, /* PA23 */
|
||||||
|
/* PA22 */ { 0, 0, 0, 0, 0, 0 }, /* PA22 */
|
||||||
|
/* PA21 */ { 0, 0, 0, 0, 0, 1 }, /* PA21 */
|
||||||
|
/* PA20 */ { 0, 0, 0, 0, 0, 1 }, /* PA20 */
|
||||||
|
/* PA19 */ { 0, 0, 0, 0, 0, 1 }, /* PA19 */
|
||||||
|
/* PA18 */ { 0, 0, 0, 0, 0, 1 }, /* PA18 */
|
||||||
|
/* PA17 */ { 0, 0, 0, 0, 0, 1 }, /* PA17 */
|
||||||
|
/* PA16 */ { 0, 0, 0, 0, 0, 1 }, /* PA16 */
|
||||||
|
/* PA15 */ { 0, 0, 0, 0, 0, 1 }, /* PA15 */
|
||||||
|
/* PA14 */ { 0, 0, 0, 0, 0, 1 }, /* PA14 */
|
||||||
|
/* PA13 */ { 0, 0, 0, 0, 0, 1 }, /* PA13 */
|
||||||
|
/* PA12 */ { 0, 0, 0, 0, 0, 1 }, /* PA12 */
|
||||||
|
/* PA11 */ { 0, 0, 0, 0, 0, 1 }, /* PA11 */
|
||||||
|
/* PA10 */ { 0, 0, 0, 0, 0, 1 }, /* PA10 */
|
||||||
|
/* PA9 */ { 1, 1, 0, 1, 0, 1 }, /* SMC2 TxD */
|
||||||
|
/* PA8 */ { 1, 1, 0, 0, 0, 1 }, /* SMC2 RxD */
|
||||||
|
/* PA7 */ { 0, 0, 0, 0, 0, 1 }, /* PA7 */
|
||||||
|
/* PA6 */ { 0, 0, 0, 0, 0, 1 }, /* PA6 */
|
||||||
|
/* PA5 */ { 0, 0, 0, 0, 0, 1 }, /* PA5 */
|
||||||
|
/* PA4 */ { 0, 0, 0, 0, 0, 1 }, /* PA4 */
|
||||||
|
/* PA3 */ { 0, 0, 0, 0, 0, 1 }, /* PA3 */
|
||||||
|
/* PA2 */ { 0, 0, 0, 0, 0, 1 }, /* PA2 */
|
||||||
|
/* PA1 */ { 0, 0, 0, 0, 0, 1 }, /* PA1 */
|
||||||
|
/* PA0 */ { 0, 0, 0, 0, 0, 1 } /* PA0 */
|
||||||
|
},
|
||||||
|
|
||||||
|
/* Port B */
|
||||||
|
{ /* conf ppar psor pdir podr pdat */
|
||||||
|
/* PB31 */ { CFG_FCC2, 1, 0, 1, 0, 0 }, /* FCC2 MII TX_ER */
|
||||||
|
/* PB30 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII RX_DV */
|
||||||
|
/* PB29 */ { CFG_FCC2, 1, 1, 1, 0, 0 }, /* FCC2 MII TX_EN */
|
||||||
|
/* PB28 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII RX_ER */
|
||||||
|
/* PB27 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII COL */
|
||||||
|
/* PB26 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII CRS */
|
||||||
|
/* PB25 */ { CFG_FCC2, 1, 0, 1, 0, 0 }, /* FCC2 MII TxD[3] */
|
||||||
|
/* PB24 */ { CFG_FCC2, 1, 0, 1, 0, 0 }, /* FCC2 MII TxD[2] */
|
||||||
|
/* PB23 */ { CFG_FCC2, 1, 0, 1, 0, 0 }, /* FCC2 MII TxD[1] */
|
||||||
|
/* PB22 */ { CFG_FCC2, 1, 0, 1, 0, 0 }, /* FCC2 MII TxD[0] */
|
||||||
|
/* PB21 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII RxD[0] */
|
||||||
|
/* PB20 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII RxD[1] */
|
||||||
|
/* PB19 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII RxD[2] */
|
||||||
|
/* PB18 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* FCC2 MII RxD[3] */
|
||||||
|
/* PB17 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:RX_DIV */
|
||||||
|
/* PB16 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:RX_ERR */
|
||||||
|
/* PB15 */ { CFG_FCC3, 1, 0, 1, 0, 0 }, /* FCC3:TX_ERR */
|
||||||
|
/* PB14 */ { CFG_FCC3, 1, 0, 1, 0, 0 }, /* FCC3:TX_EN */
|
||||||
|
/* PB13 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:COL */
|
||||||
|
/* PB12 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:CRS */
|
||||||
|
/* PB11 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:RXD */
|
||||||
|
/* PB10 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:RXD */
|
||||||
|
/* PB9 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:RXD */
|
||||||
|
/* PB8 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* FCC3:RXD */
|
||||||
|
/* PB7 */ { 0, 0, 0, 0, 0, 0 }, /* PB7 */
|
||||||
|
/* PB6 */ { CFG_FCC3, 1, 0, 1, 0, 0 }, /* FCC3:TXD */
|
||||||
|
/* PB5 */ { CFG_FCC3, 1, 0, 1, 0, 0 }, /* FCC3:TXD */
|
||||||
|
/* PB4 */ { CFG_FCC3, 1, 0, 1, 0, 0 }, /* FCC3:TXD */
|
||||||
|
/* PB3 */ { 0, 0, 0, 0, 0, 0 }, /* non-existent */
|
||||||
|
/* PB2 */ { 0, 0, 0, 0, 0, 0 }, /* non-existent */
|
||||||
|
/* PB1 */ { 0, 0, 0, 0, 0, 0 }, /* non-existent */
|
||||||
|
/* PB0 */ { 0, 0, 0, 0, 0, 0 } /* non-existent */
|
||||||
|
},
|
||||||
|
|
||||||
|
/* Port C */
|
||||||
|
{ /* conf ppar psor pdir podr pdat */
|
||||||
|
/* PC31 */ { 0, 0, 0, 0, 0, 0 }, /* PC31 */
|
||||||
|
/* PC30 */ { 0, 0, 0, 0, 0, 0 }, /* PC30 */
|
||||||
|
/* PC29 */ { 1, 1, 1, 0, 0, 0 }, /* SCC1 CTS# */
|
||||||
|
/* PC28 */ { 0, 0, 0, 0, 0, 0 }, /* PC28 */
|
||||||
|
/* PC27 */ { CFG_FCC3, 1, 0, 1, 0, 0 }, /* FCC3: TXD[0] */
|
||||||
|
/* PC26 */ { 0, 0, 0, 0, 0, 0 }, /* PC26 */
|
||||||
|
/* PC25 */ { 0, 0, 0, 0, 0, 0 }, /* PC25 */
|
||||||
|
/* PC24 */ { 0, 0, 0, 0, 0, 0 }, /* PC24 */
|
||||||
|
/* PC23 */ { 0, 0, 0, 0, 0, 0 }, /* PC23 */
|
||||||
|
/* PC22 */ { 0, 0, 0, 0, 0, 0 }, /* PC22 */
|
||||||
|
/* PC21 */ { 0, 0, 0, 0, 0, 0 }, /* PC21 */
|
||||||
|
/* PC20 */ { 0, 0, 0, 0, 0, 0 }, /* PC20 */
|
||||||
|
/* PC19 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* RxClk (CLK13) */
|
||||||
|
/* PC18 */ { CFG_FCC2, 1, 0, 0, 0, 0 }, /* TxClk (CLK14) */
|
||||||
|
/* PC17 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* RxClk (CLK15) */
|
||||||
|
/* PC16 */ { CFG_FCC3, 1, 0, 0, 0, 0 }, /* TxClk (CLK16) */
|
||||||
|
/* PC15 */ { 0, 0, 0, 0, 0, 0 }, /* PC15 */
|
||||||
|
/* PC14 */ { 1, 1, 0, 0, 0, 0 }, /* SCC1 CD# */
|
||||||
|
/* PC13 */ { 1, 1, 0, 0, 0, 0 }, /* SCC2 CTS# */
|
||||||
|
/* PC12 */ { 1, 1, 0, 0, 0, 0 }, /* SCC2 CD# */
|
||||||
|
/* PC11 */ { 0, 0, 0, 0, 0, 0 }, /* PC11 */
|
||||||
|
/* PC10 */ { 1, 1, 0, 0, 0, 0 }, /* SCC3 CD# */
|
||||||
|
/* PC9 */ { 0, 0, 0, 0, 0, 0 }, /* PC9 */
|
||||||
|
/* PC8 */ { 1, 1, 1, 0, 0, 0 }, /* SCC3 CTS# */
|
||||||
|
/* PC7 */ { 0, 0, 0, 0, 0, 0 }, /* PC7 */
|
||||||
|
/* PC6 */ { 0, 0, 0, 0, 0, 0 }, /* PC6 */
|
||||||
|
/* PC5 */ { 0, 0, 0, 0, 0, 0 }, /* PC5 */
|
||||||
|
/* PC4 */ { 0, 0, 0, 0, 0, 0 }, /* PC4 */
|
||||||
|
/* PC3 */ { 0, 0, 0, 0, 0, 0 }, /* PC3 */
|
||||||
|
/* PC2 */ { 0, 0, 0, 0, 0, 0 }, /* PC2 */
|
||||||
|
/* PC1 */ { 0, 0, 0, 0, 0, 0 }, /* PC1 */
|
||||||
|
/* PC0 */ { 0, 0, 0, 0, 0, 0 }, /* PC0 */
|
||||||
|
},
|
||||||
|
|
||||||
|
/* Port D */
|
||||||
|
{ /* conf ppar psor pdir podr pdat */
|
||||||
|
/* PD31 */ { 1, 1, 0, 0, 0, 0 }, /* SCC1 RXD */
|
||||||
|
/* PD30 */ { 1, 1, 1, 1, 0, 1 }, /* SCC1 TXD */
|
||||||
|
/* PD29 */ { 1, 1, 0, 1, 0, 0 }, /* SCC1 RTS# */
|
||||||
|
/* PD28 */ { 1, 1, 0, 0, 0, 0 }, /* SCC2 RXD */
|
||||||
|
/* PD27 */ { 1, 1, 0, 1, 0, 0 }, /* SCC2 TXD */
|
||||||
|
/* PD26 */ { 1, 1, 0, 1, 0, 0 }, /* SCC2 RTS# */
|
||||||
|
/* PD25 */ { 1, 1, 0, 0, 0, 0 }, /* SCC3 RXD */
|
||||||
|
/* PD24 */ { 1, 1, 0, 1, 0, 0 }, /* SCC3 TXD */
|
||||||
|
/* PD23 */ { 1, 1, 0, 1, 0, 0 }, /* SCC3 RTS# */
|
||||||
|
/* PD22 */ { 0, 0, 0, 0, 0, 1 }, /* PD22 */
|
||||||
|
/* PD21 */ { 0, 0, 0, 0, 0, 1 }, /* PD21 */
|
||||||
|
/* PD20 */ { 0, 0, 0, 0, 0, 1 }, /* PD20 */
|
||||||
|
/* PD19 */ { 0, 0, 0, 0, 0, 1 }, /* PD19 */
|
||||||
|
/* PD18 */ { 0, 0, 0, 0, 0, 1 }, /* PD18 */
|
||||||
|
/* PD17 */ { 0, 0, 0, 0, 0, 1 }, /* PD17 */
|
||||||
|
/* PD16 */ { 0, 0, 0, 0, 0, 1 }, /* PD16 */
|
||||||
|
/* PD15 */ { 1, 1, 1, 0, 1, 1 }, /* I2C SDA */
|
||||||
|
/* PD14 */ { 1, 1, 1, 0, 1, 1 }, /* I2C SCL */
|
||||||
|
/* PD13 */ { 0, 0, 0, 0, 0, 1 }, /* PD13 */
|
||||||
|
/* PD12 */ { 0, 0, 0, 0, 0, 1 }, /* PD12 */
|
||||||
|
/* PD11 */ { 0, 0, 0, 0, 0, 1 }, /* PD11 */
|
||||||
|
/* PD10 */ { 0, 0, 0, 0, 0, 1 }, /* PD10 */
|
||||||
|
/* PD9 */ { 1, 1, 0, 1, 0, 1 }, /* SMC1 TxD */
|
||||||
|
/* PD8 */ { 1, 1, 0, 0, 0, 1 }, /* SMC1 RxD */
|
||||||
|
/* PD7 */ { 1, 1, 0, 0, 0, 1 }, /* SMC1 SMSYN */
|
||||||
|
/* PD6 */ { 0, 0, 0, 0, 0, 1 }, /* PD6 */
|
||||||
|
/* PD5 */ { 0, 0, 0, 0, 0, 1 }, /* PD5 */
|
||||||
|
/* PD4 */ { 0, 0, 0, 0, 0, 1 }, /* PD4 */
|
||||||
|
/* PD3 */ { 0, 0, 0, 0, 0, 0 }, /* non-existent */
|
||||||
|
/* PD2 */ { 0, 0, 0, 0, 0, 0 }, /* non-existent */
|
||||||
|
/* PD1 */ { 0, 0, 0, 0, 0, 0 }, /* non-existent */
|
||||||
|
/* PD0 */ { 0, 0, 0, 0, 0, 0 } /* non-existent */
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
|
typedef struct pci_ic_s {
|
||||||
|
unsigned long pci_int_stat;
|
||||||
|
unsigned long pci_int_mask;
|
||||||
|
}pci_ic_t;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
int board_early_init_f (void)
|
||||||
|
{
|
||||||
|
vu_char *bcsr = (vu_char *)CFG_BCSR;
|
||||||
|
|
||||||
|
bcsr[4] |= 0x30; /* Turn the LEDs off */
|
||||||
|
|
||||||
|
#if defined(CONFIG_CONS_ON_SMC) || defined(CONFIG_KGDB_ON_SMC)
|
||||||
|
bcsr[6] |= 0x10;
|
||||||
|
#endif
|
||||||
|
#if defined(CONFIG_CONS_ON_SCC) || defined(CONFIG_KGDB_ON_SCC)
|
||||||
|
bcsr[7] |= 0x10;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#if CFG_FCC3
|
||||||
|
bcsr[8] |= 0xC0;
|
||||||
|
#endif /* CFG_FCC3 */
|
||||||
|
#if CFG_FCC2
|
||||||
|
bcsr[8] |= 0x30;
|
||||||
|
#endif /* CFG_FCC2 */
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
long int initdram(int board_type)
|
||||||
|
{
|
||||||
|
/* Size in MB of SDRAM populated on board*/
|
||||||
|
long int msize = 256;
|
||||||
|
|
||||||
|
#ifndef CFG_RAMBOOT
|
||||||
|
volatile immap_t *immap = (immap_t *)CFG_IMMR;
|
||||||
|
volatile memctl8260_t *memctl = &immap->im_memctl;
|
||||||
|
vu_char *ramaddr = (vu_char *)CFG_SDRAM_BASE;
|
||||||
|
uchar c = 0xFF;
|
||||||
|
uint psdmr = CFG_PSDMR;
|
||||||
|
int i;
|
||||||
|
|
||||||
|
unsigned char ramtmp;
|
||||||
|
unsigned char *ramptr1 = (unsigned char *)0x00000110;
|
||||||
|
|
||||||
|
memctl->memc_mptpr = CFG_MPTPR;
|
||||||
|
|
||||||
|
udelay(400);
|
||||||
|
|
||||||
|
/* Initialise 60x bus SDRAM */
|
||||||
|
memctl->memc_psrt = CFG_PSRT;
|
||||||
|
memctl->memc_or1 = CFG_SDRAM_OR;
|
||||||
|
memctl->memc_br1 = CFG_SDRAM_BR;
|
||||||
|
memctl->memc_psdmr = psdmr;
|
||||||
|
|
||||||
|
udelay(400);
|
||||||
|
|
||||||
|
memctl->memc_psdmr = psdmr | PSDMR_OP_PREA; /* Precharge all banks */
|
||||||
|
ramtmp = *ramptr1;
|
||||||
|
memctl->memc_psdmr = psdmr | PSDMR_OP_CBRR; /* CBR refresh */
|
||||||
|
for (i = 0; i < 8; i++) {
|
||||||
|
memctl->memc_psdmr = psdmr | PSDMR_OP_CBRR; /* CBR refresh */
|
||||||
|
}
|
||||||
|
ramtmp = *ramptr1;
|
||||||
|
memctl->memc_psdmr = psdmr | PSDMR_OP_MRW; /* Mode Register write */
|
||||||
|
*ramptr1 = 0xFF;
|
||||||
|
memctl->memc_psdmr = psdmr | PSDMR_RFEN; /* Refresh enable */
|
||||||
|
#endif /* !CFG_RAMBOOT */
|
||||||
|
|
||||||
|
/* Return total 60x bus SDRAM size */
|
||||||
|
return msize * 1024 * 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
int checkboard(void)
|
||||||
|
{
|
||||||
|
vu_char *bcsr = (vu_char *)CFG_BCSR;
|
||||||
|
|
||||||
|
puts("Board: ");
|
||||||
|
switch (bcsr[0]) {
|
||||||
|
case 0x0A:
|
||||||
|
printf("EP82xxM 1.0 CPLD revision %d\n", bcsr[1]);
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
printf("unknown: ID=%02X\n", bcsr[0]);
|
||||||
|
}
|
||||||
|
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
|
struct pci_controller hose;
|
||||||
|
|
||||||
|
extern void pci_mpc8250_init(struct pci_controller *);
|
||||||
|
|
||||||
|
void pci_init_board(void)
|
||||||
|
{
|
||||||
|
pci_mpc8250_init(&hose);
|
||||||
|
}
|
||||||
|
#endif
|
125
board/ep82xxm/u-boot.lds
Normal file
125
board/ep82xxm/u-boot.lds
Normal file
@ -0,0 +1,125 @@
|
|||||||
|
/*
|
||||||
|
* (C) Copyright 2001
|
||||||
|
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
|
*
|
||||||
|
* Modified by Yuli Barcohen <yuli@arabellasw.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
|
||||||
|
*/
|
||||||
|
|
||||||
|
OUTPUT_ARCH(powerpc)
|
||||||
|
SECTIONS
|
||||||
|
{
|
||||||
|
/* Read-only sections, merged into text segment: */
|
||||||
|
. = + SIZEOF_HEADERS;
|
||||||
|
.interp : { *(.interp) }
|
||||||
|
.hash : { *(.hash) }
|
||||||
|
.dynsym : { *(.dynsym) }
|
||||||
|
.dynstr : { *(.dynstr) }
|
||||||
|
.rel.text : { *(.rel.text) }
|
||||||
|
.rela.text : { *(.rela.text) }
|
||||||
|
.rel.data : { *(.rel.data) }
|
||||||
|
.rela.data : { *(.rela.data) }
|
||||||
|
.rel.rodata : { *(.rel.rodata) }
|
||||||
|
.rela.rodata : { *(.rela.rodata) }
|
||||||
|
.rel.got : { *(.rel.got) }
|
||||||
|
.rela.got : { *(.rela.got) }
|
||||||
|
.rel.ctors : { *(.rel.ctors) }
|
||||||
|
.rela.ctors : { *(.rela.ctors) }
|
||||||
|
.rel.dtors : { *(.rel.dtors) }
|
||||||
|
.rela.dtors : { *(.rela.dtors) }
|
||||||
|
.rel.bss : { *(.rel.bss) }
|
||||||
|
.rela.bss : { *(.rela.bss) }
|
||||||
|
.rel.plt : { *(.rel.plt) }
|
||||||
|
.rela.plt : { *(.rela.plt) }
|
||||||
|
.init : { *(.init) }
|
||||||
|
.plt : { *(.plt) }
|
||||||
|
.text :
|
||||||
|
{
|
||||||
|
cpu/mpc8260/start.o (.text)
|
||||||
|
*(.text)
|
||||||
|
*(.fixup)
|
||||||
|
*(.got1)
|
||||||
|
. = ALIGN(16);
|
||||||
|
*(.rodata)
|
||||||
|
*(.rodata1)
|
||||||
|
*(.rodata.str1.4)
|
||||||
|
*(.eh_frame)
|
||||||
|
}
|
||||||
|
.fini : { *(.fini) } =0
|
||||||
|
.ctors : { *(.ctors) }
|
||||||
|
.dtors : { *(.dtors) }
|
||||||
|
|
||||||
|
/* Read-write section, merged into data segment: */
|
||||||
|
. = (. + 0x0FFF) & 0xFFFFF000;
|
||||||
|
_erotext = .;
|
||||||
|
PROVIDE (erotext = .);
|
||||||
|
.reloc :
|
||||||
|
{
|
||||||
|
*(.got)
|
||||||
|
_GOT2_TABLE_ = .;
|
||||||
|
*(.got2)
|
||||||
|
_FIXUP_TABLE_ = .;
|
||||||
|
*(.fixup)
|
||||||
|
}
|
||||||
|
__got2_entries = (_FIXUP_TABLE_ - _GOT2_TABLE_) >> 2;
|
||||||
|
__fixup_entries = (. - _FIXUP_TABLE_) >> 2;
|
||||||
|
|
||||||
|
.data :
|
||||||
|
{
|
||||||
|
*(.data)
|
||||||
|
*(.data1)
|
||||||
|
*(.sdata)
|
||||||
|
*(.sdata2)
|
||||||
|
*(.dynamic)
|
||||||
|
CONSTRUCTORS
|
||||||
|
}
|
||||||
|
_edata = .;
|
||||||
|
PROVIDE (edata = .);
|
||||||
|
|
||||||
|
. = .;
|
||||||
|
__u_boot_cmd_start = .;
|
||||||
|
.u_boot_cmd : { *(.u_boot_cmd) }
|
||||||
|
__u_boot_cmd_end = .;
|
||||||
|
|
||||||
|
|
||||||
|
. = .;
|
||||||
|
__start___ex_table = .;
|
||||||
|
__ex_table : { *(__ex_table) }
|
||||||
|
__stop___ex_table = .;
|
||||||
|
|
||||||
|
. = ALIGN(4096);
|
||||||
|
__init_begin = .;
|
||||||
|
.text.init : { *(.text.init) }
|
||||||
|
.data.init : { *(.data.init) }
|
||||||
|
. = ALIGN(4096);
|
||||||
|
__init_end = .;
|
||||||
|
|
||||||
|
__bss_start = .;
|
||||||
|
.bss :
|
||||||
|
{
|
||||||
|
*(.sbss) *(.scommon)
|
||||||
|
*(.dynbss)
|
||||||
|
*(.bss)
|
||||||
|
*(COMMON)
|
||||||
|
}
|
||||||
|
_end = . ;
|
||||||
|
PROVIDE (end = .);
|
||||||
|
}
|
||||||
|
ENTRY(_start)
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -33,7 +33,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS)
|
$(LIB): $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $^
|
$(AR) $(ARFLAGS) $@ $^
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -40,7 +40,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -41,7 +41,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS)
|
$(LIB): $(obj).depend $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# (C) Copyright 2006
|
# (C) Copyright 2006
|
||||||
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
|
||||||
#
|
#
|
||||||
# (C) Copyright 2001
|
# (C) Copyright 2001
|
||||||
# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
|
# Josh Huber <huber@mclx.com>, Mission Critical Linux, Inc.
|
||||||
#
|
#
|
||||||
@ -42,7 +42,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
$(LIB): $(obj).depend $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS) $(SOBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS) $(SOBJS)
|
||||||
|
|
||||||
#########################################################################
|
#########################################################################
|
||||||
|
|
||||||
|
@ -35,7 +35,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS) $(SOBJS)
|
$(LIB): $(OBJS) $(SOBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
@ -36,7 +36,7 @@ OBJS := $(addprefix $(obj),$(COBJS))
|
|||||||
SOBJS := $(addprefix $(obj),$(SOBJS))
|
SOBJS := $(addprefix $(obj),$(SOBJS))
|
||||||
|
|
||||||
$(LIB): $(OBJS)
|
$(LIB): $(OBJS)
|
||||||
$(AR) crv $@ $(OBJS)
|
$(AR) $(ARFLAGS) $@ $(OBJS)
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f $(SOBJS) $(OBJS)
|
rm -f $(SOBJS) $(OBJS)
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user