[poky] [PATCH 08/25] xilinx-boot: add ml405 in default target configuration
Adrian Alonso
aalonso at secretlab.ca
Mon Jan 17 12:29:21 PST 2011
* Add ml405 target board configuration support
* Only tested in ml405, ml507 target boards
Signed-off-by: Adrian Alonso <aalonso at secretlab.ca>
---
classes/xilinx-boot.bbclass | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/classes/xilinx-boot.bbclass b/classes/xilinx-boot.bbclass
index 03b4512..524ae01 100644
--- a/classes/xilinx-boot.bbclass
+++ b/classes/xilinx-boot.bbclass
@@ -24,10 +24,12 @@ def uboot_machine(a, d):
if re.match('powerpc', a):
if board == 'ml507':
return 'ml507_config'
+ elif board == 'ml405':
+ return 'ml405_config'
else:
return 'xilinx-ppc' + target + '-generic_config'
else:
- return 'microblaze-generic_config'
+ return target + '-generic_config'
def uboot_target(a, d):
import re
@@ -37,6 +39,8 @@ def uboot_target(a, d):
if re.match('powerpc', a):
if board == 'ml507':
return 'ml507'
+ elif board == 'ml405':
+ return 'ml405'
else:
return 'ppc' + target
else:
--
1.7.3.4
More information about the poky
mailing list