aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@petalogix.com>2011-02-21 12:42:20 +0100
committerEdgar E. Iglesias <edgar.iglesias@petalogix.com>2011-02-23 12:31:53 +0100
commit877fdc12b1ac68be256b2a1ee48c3b241c6c92e2 (patch)
treebed0841a7d847e66bf18159eaf01bdadc94b6545
parent082e5be809cb8e9806d34abd57e22080bebb598f (diff)
microblaze: Allow targeting little-endian mb
Signed-off-by: Edgar E. Iglesias <edgar.iglesias@petalogix.com>
-rwxr-xr-xconfigure7
-rw-r--r--default-configs/microblazeel-linux-user.mak1
-rw-r--r--default-configs/microblazeel-softmmu.mak4
3 files changed, 10 insertions, 2 deletions
diff --git a/configure b/configure
index 791b71d1fa..3036faf331 100755
--- a/configure
+++ b/configure
@@ -984,6 +984,7 @@ arm-softmmu \
cris-softmmu \
m68k-softmmu \
microblaze-softmmu \
+microblazeel-softmmu \
mips-softmmu \
mipsel-softmmu \
mips64-softmmu \
@@ -1008,6 +1009,7 @@ armeb-linux-user \
cris-linux-user \
m68k-linux-user \
microblaze-linux-user \
+microblazeel-linux-user \
mips-linux-user \
mipsel-linux-user \
ppc-linux-user \
@@ -3005,7 +3007,8 @@ case "$target_arch2" in
target_long_alignment=2
target_llong_alignment=2
;;
- microblaze)
+ microblaze|microblazeel)
+ TARGET_ARCH=microblaze
bflt="yes"
target_nptl="yes"
target_phys_bits=32
@@ -3231,7 +3234,7 @@ for i in $ARCH $TARGET_BASE_ARCH ; do
echo "CONFIG_M68K_DIS=y" >> $config_target_mak
echo "CONFIG_M68K_DIS=y" >> $libdis_config_mak
;;
- microblaze)
+ microblaze*)
echo "CONFIG_MICROBLAZE_DIS=y" >> $config_target_mak
echo "CONFIG_MICROBLAZE_DIS=y" >> $libdis_config_mak
;;
diff --git a/default-configs/microblazeel-linux-user.mak b/default-configs/microblazeel-linux-user.mak
new file mode 100644
index 0000000000..566fdc01c4
--- /dev/null
+++ b/default-configs/microblazeel-linux-user.mak
@@ -0,0 +1 @@
+# Default configuration for microblaze-linux-user
diff --git a/default-configs/microblazeel-softmmu.mak b/default-configs/microblazeel-softmmu.mak
new file mode 100644
index 0000000000..4399b8b361
--- /dev/null
+++ b/default-configs/microblazeel-softmmu.mak
@@ -0,0 +1,4 @@
+# Default configuration for microblaze-softmmu
+
+CONFIG_PTIMER=y
+CONFIG_PFLASH_CFI01=y