From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Schwingen Date: Sun, 22 May 2011 21:51:22 +0200 Subject: [U-Boot] [IXP42x PATCH series v4 08/17] update/fix AcTux1 board In-Reply-To: <201105210203.24980.marek.vasut@gmail.com> References: <1302126558-1318-1-git-send-email-michael@schwingen.org> <1302126558-1318-9-git-send-email-michael@schwingen.org> <201105210203.24980.marek.vasut@gmail.com> Message-ID: <4DD9693A.3040503@discworld.dascon.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Am 05/21/2011 02:03 AM, schrieb Marek Vasut: > >> -int board_init (void) >> +int board_early_init_f(void) >> +{ >> + /* CS5: Debug port */ >> + writel(0x9d520003, IXP425_EXP_CS5); >> + /* CS6: HwRel */ >> + writel(0x81860001, IXP425_EXP_CS6); >> + /* CS7: LEDs */ >> + writel(0x80900003, IXP425_EXP_CS7); > Any idea what this magic means ? Those are the parameters for the chip select timings on the expansion bus. Since the IXP port does no supply useful defines for these bits, I had to use magics there (however, even defines would only be readable if you have the datasheet open at the same time). This is basically just existing code that is moved around. >> diff --git a/board/actux1/config.mk b/board/actux1/config.mk >> deleted file mode 100644 >> index 88634f7..0000000 >> --- a/board/actux1/config.mk >> +++ /dev/null >> @@ -1,6 +0,0 @@ >> -CONFIG_SYS_TEXT_BASE = 0x00e00000 >> - >> -# include NPE ethernet driver >> -BOARDLIBS = arch/arm/cpu/ixp/npe/libnpe.o >> - >> -LDSCRIPT := $(SRCTREE)/board/$(BOARDDIR)/u-boot.lds > Do you need uboot.lds at all ? Unfortunately, yes, because the environment sector is embedded inside the u-boot image. cu Michael