From 877fdc12b1ac68be256b2a1ee48c3b241c6c92e2 Mon Sep 17 00:00:00 2001 From: "Edgar E. Iglesias" Date: Mon, 21 Feb 2011 12:42:20 +0100 Subject: [PATCH] microblaze: Allow targeting little-endian mb Signed-off-by: Edgar E. Iglesias --- configure | 7 +++++-- default-configs/microblazeel-linux-user.mak | 1 + default-configs/microblazeel-softmmu.mak | 4 ++++ 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 default-configs/microblazeel-linux-user.mak create mode 100644 default-configs/microblazeel-softmmu.mak 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