[Armadeus-commitlog] armadeus branch, master, updated. armadeus-4.1-89-g578988a
Brought to you by:
sszy
|
From: jorasse <jo...@us...> - 2012-03-02 21:06:26
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 578988ad79410671b45f24985498f58b8a868c99 (commit)
from e04eef5e1728ce995b9c91c064a51b379d5df328 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 578988ad79410671b45f24985498f58b8a868c99
Author: Eric Jarrige <eri...@ar...>
Date: Fri Mar 2 22:05:37 2012 +0100
[BUILDROOT] Add missing Uboot patch
-----------------------------------------------------------------------
Summary of changes:
...madeus_specific_options_for_config_header.patch | 29 ++++++++++++++++++++
1 files changed, 29 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/2012.02/175-u-boot-handle_armadeus_specific_options_for_config_header.patch
diff --git a/patches/buildroot/2012.02/175-u-boot-handle_armadeus_specific_options_for_config_header.patch b/patches/buildroot/2012.02/175-u-boot-handle_armadeus_specific_options_for_config_header.patch
new file mode 100644
index 0000000..5447fc4
--- /dev/null
+++ b/patches/buildroot/2012.02/175-u-boot-handle_armadeus_specific_options_for_config_header.patch
@@ -0,0 +1,29 @@
+Armadeus APF modules require some special U-Boot config variables to be set.
+
+Index: buildroot/boot/uboot/uboot.mk
+===================================================================
+--- buildroot/boot/uboot/uboot.mk 2012-03-02 17:43:02.634245000 +0100
++++ buildroot/boot/uboot/uboot.mk 2012-03-02 17:58:45.761539865 +0100
+@@ -85,6 +85,22 @@ define UBOOT_CONFIGURE_CMDS
+ $(call insert_define,CONFIG_SERVERIP,$(BR2_TARGET_UBOOT_SERVERIP))
+ $(call insert_define,CONFIG_ETHADDR,$(BR2_TARGET_UBOOT_ETHADDR))
+ $(call insert_define,CONFIG_ETH1ADDR,$(BR2_TARGET_UBOOT_ETH1ADDR))
++$(ifneq ($(strip $(BOARD_NAME)),""))
++ $(call insert_define, CONFIG_BOARD_NAME, $(BOARD_NAME))
++$(endif)
++$(ifneq ($(BR2_TARGET_ARMADEUS_SDRAM_SIZE),))
++ $(SED) "s,^#define CFG_SDRAM_MBYTE_SYZE.*,#define CFG_SDRAM_MBYTE_SYZE $(BR2_TARGET_ARMADEUS_SDRAM_SIZE),g;"\
++ $(@D)/include/config.h
++ $(SED) "s,^#define CONFIG_SYS_SDRAM_MBYTE_SYZE.*,#define CONFIG_SYS_SDRAM_MBYTE_SYZE $(BR2_TARGET_ARMADEUS_SDRAM_SIZE),g;"\
++ $(@D)/include/config.h
++$(endif)
++$(ifneq ($(strip $(BR2_TARGET_ARMADEUS_NR_SDRAM)),"1"))
++ $(SED) "s,^#define CONFIG_NR_DRAM_BANKS.*,#define CONFIG_NR_DRAM_BANKS $(BR2_TARGET_ARMADEUS_NR_SDRAM),g;"\
++ $(@D)/include/config.h
++ $(SED) "s,^#define CONFIG_SYS_NR_DRAM_BANKS.*,#define CONFIG_SYS_NR_DRAM_BANKS $(BR2_TARGET_ARMADEUS_NR_SDRAM),g;"\
++ $(@D)/include/config.h
++ $(call insert_define, CONFIG_NR_DRAM_POPULATED, $(BR2_TARGET_ARMADEUS_NR_SDRAM))
++$(endif)
+ @echo "#endif /* __BR2_ADDED_CONFIG_H */" >> $(@D)/include/config.h
+ endef
+
hooks/post-receive
--
armadeus
|