* [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian
2012-03-16 13:42 [Buildroot] [PATCH 1/3] DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, $2=FILE_NAME Alvaro G. M
@ 2012-03-16 13:42 ` Alvaro G. M
2012-03-18 21:52 ` Peter Korsgaard
0 siblings, 1 reply; 4+ messages in thread
From: Alvaro G. M @ 2012-03-16 13:42 UTC (permalink / raw)
To: buildroot
From: "Alvaro G. M" <alvaro.gamez@hazent.com>
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
---
target/Config.in.arch | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/target/Config.in.arch b/target/Config.in.arch
index 25c6e50..1910ff6 100644
--- a/target/Config.in.arch
+++ b/target/Config.in.arch
@@ -21,6 +21,10 @@ config BR2_i386
config BR2_m68k
bool "m68k"
depends on BROKEN # ice in uclibc / inet_ntoa_r
+config BR2_microblazeel
+ bool "Microblaze AXI (little-endian)"
+config BR2_microblazebe
+ bool "Microblaze non-AXI (big-endian)""
config BR2_mips
bool "mips"
config BR2_mipsel
@@ -40,6 +44,10 @@ config BR2_xtensa
bool "xtensa"
endchoice
+config BR2_microblaze
+ bool
+ default y if BR2_microblazeel || BR2_microblazebe
+
#
# Keep the variants separate, there's no need to clutter everything else.
# sh is fairly "special" in this regard, as virtually everyone else has
@@ -515,6 +523,7 @@ config BR2_ARCH
default "i686" if BR2_x86_athlon
default "i686" if BR2_x86_athlon_4
default "m68k" if BR2_m68k
+ default "microblaze" if BR2_microblaze
default "mips" if BR2_mips
default "mipsel" if BR2_mipsel
default "powerpc" if BR2_powerpc
@@ -542,10 +551,12 @@ config BR2_ARCH
config BR2_ENDIAN
string
default "LITTLE" if BR2_arm || BR2_bfin || BR2_i386 || BR2_mipsel || \
- BR2_sh3 || BR2_sh4 || BR2_sh4a || BR2_x86_64 || BR2_sh64
+ BR2_sh3 || BR2_sh4 || BR2_sh4a || BR2_x86_64 || BR2_sh64 || \
+ BR2_microblazeel
default "BIG" if BR2_armeb || BR2_avr32 || BR2_m68k || BR2_mips || \
BR2_powerpc || BR2_sh2 || BR2_sh2a || \
- BR2_sh3eb || BR2_sh4eb || BR2_sh4aeb || BR2_sparc
+ BR2_sh3eb || BR2_sh4eb || BR2_sh4aeb || BR2_sparc || \
+ BR2_microblazebe
config BR2_GCC_TARGET_TUNE
string
--
1.7.9.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian
@ 2012-03-17 9:38 Stephan Hoffmann
2012-03-18 17:55 ` Arnout Vandecappelle
0 siblings, 1 reply; 4+ messages in thread
From: Stephan Hoffmann @ 2012-03-17 9:38 UTC (permalink / raw)
To: buildroot
From: "Alvaro G. M" <alvaro.gamez@hazent.com>
Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Tested-by: Stephan Hoffmann <sho@relinux.de>
Tested Microblaze LE on a clean install.
---
target/Config.in.arch | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/target/Config.in.arch b/target/Config.in.arch
index 25c6e50..1910ff6 100644
--- a/target/Config.in.arch
+++ b/target/Config.in.arch
@@ -21,6 +21,10 @@ config BR2_i386
config BR2_m68k
bool "m68k"
depends on BROKEN # ice in uclibc / inet_ntoa_r
+config BR2_microblazeel
+ bool "Microblaze AXI (little-endian)"
+config BR2_microblazebe
+ bool "Microblaze non-AXI (big-endian)""
config BR2_mips
bool "mips"
config BR2_mipsel
@@ -40,6 +44,10 @@ config BR2_xtensa
bool "xtensa"
endchoice
+config BR2_microblaze
+ bool
+ default y if BR2_microblazeel || BR2_microblazebe
+
#
# Keep the variants separate, there's no need to clutter everything else.
# sh is fairly "special" in this regard, as virtually everyone else has
@@ -515,6 +523,7 @@ config BR2_ARCH
default "i686" if BR2_x86_athlon
default "i686" if BR2_x86_athlon_4
default "m68k" if BR2_m68k
+ default "microblaze" if BR2_microblaze
default "mips" if BR2_mips
default "mipsel" if BR2_mipsel
default "powerpc" if BR2_powerpc
@@ -542,10 +551,12 @@ config BR2_ARCH
config BR2_ENDIAN
string
default "LITTLE" if BR2_arm || BR2_bfin || BR2_i386 || BR2_mipsel || \
- BR2_sh3 || BR2_sh4 || BR2_sh4a || BR2_x86_64 || BR2_sh64
+ BR2_sh3 || BR2_sh4 || BR2_sh4a || BR2_x86_64 || BR2_sh64 || \
+ BR2_microblazeel
default "BIG" if BR2_armeb || BR2_avr32 || BR2_m68k || BR2_mips || \
BR2_powerpc || BR2_sh2 || BR2_sh2a || \
- BR2_sh3eb || BR2_sh4eb || BR2_sh4aeb || BR2_sparc
+ BR2_sh3eb || BR2_sh4eb || BR2_sh4aeb || BR2_sparc || \
+ BR2_microblazebe
config BR2_GCC_TARGET_TUNE
string
--
1.7.9.1
--
reLinux - Stephan Hoffmann
Am Schmidtgrund 124 50765 K?ln
Tel. +49.221.95595-19 Fax: -64
www.reLinux.de sho at reLinux.de
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian
2012-03-17 9:38 [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian Stephan Hoffmann
@ 2012-03-18 17:55 ` Arnout Vandecappelle
0 siblings, 0 replies; 4+ messages in thread
From: Arnout Vandecappelle @ 2012-03-18 17:55 UTC (permalink / raw)
To: buildroot
On Saturday 17 March 2012 10:38:50 Stephan Hoffmann wrote:
> From: "Alvaro G. M" <alvaro.gamez@hazent.com>
>
> Signed-off-by: Stephan Hoffmann <sho@relinux.de>
> Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
> Tested-by: Stephan Hoffmann <sho@relinux.de>
> Tested Microblaze LE on a clean install.
Acked-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
--
Arnout Vandecappelle arnout at mind be
Senior Embedded Software Architect +32-16-286540
Essensium/Mind http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian
2012-03-16 13:42 ` [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian Alvaro G. M
@ 2012-03-18 21:52 ` Peter Korsgaard
0 siblings, 0 replies; 4+ messages in thread
From: Peter Korsgaard @ 2012-03-18 21:52 UTC (permalink / raw)
To: buildroot
>>>>> "Alvaro" == Alvaro G M <alvaro.gamez@hazent.com> writes:
Alvaro> From: "Alvaro G. M" <alvaro.gamez@hazent.com>
Alvaro> Signed-off-by: Stephan Hoffmann <sho@relinux.de>
Alvaro> Signed-off-by: Alvaro G. M <alvaro.gamez@hazent.com>
Committed, thanks.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2012-03-18 21:52 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-17 9:38 [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian Stephan Hoffmann
2012-03-18 17:55 ` Arnout Vandecappelle
-- strict thread matches above, loose matches on Subject: below --
2012-03-16 13:42 [Buildroot] [PATCH 1/3] DOWNLOAD: change $1=DIRECTORY_URL, $2=FILE_NAME to $1=FULL_FILE_URL, $2=FILE_NAME Alvaro G. M
2012-03-16 13:42 ` [Buildroot] [PATCH 2/3] Microblaze: added architecture support for both big endian and low endian Alvaro G. M
2012-03-18 21:52 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox