[U-Boot] [IXP42x PATCH series v4 08/17] update/fix AcTux1 board
Michael Schwingen
rincewind at discworld.dascon.de
Sun May 22 21:51:22 CEST 2011
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
More information about the U-Boot
mailing list