upstream u-boot with additional patches for our devices/boards:
https://lists.denx.de/pipermail/u-boot/2017-March/282789.html (AXP crashes) ;
Gbit ethernet patch for some LIME2 revisions ;
with SPI flash support
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
43 lines
1.2 KiB
43 lines
1.2 KiB
19 years ago
|
#!/bin/sh
|
||
|
# ---------------------------------------------------------
|
||
|
# Set the core module defines according to Core Module
|
||
|
# ---------------------------------------------------------
|
||
|
# ---------------------------------------------------------
|
||
|
# Set up the Versatile type define
|
||
|
# ---------------------------------------------------------
|
||
19 years ago
|
|
||
|
mkdir -p ${obj}include
|
||
19 years ago
|
variant=PB926EJ-S
|
||
17 years ago
|
if [ "$1" = "" ]
|
||
19 years ago
|
then
|
||
19 years ago
|
echo "$0:: No parameters - using versatilepb_config"
|
||
19 years ago
|
echo "#define CONFIG_ARCH_VERSATILE_PB" > ${obj}include/config.h
|
||
19 years ago
|
variant=PB926EJ-S
|
||
19 years ago
|
else
|
||
19 years ago
|
case "$1" in
|
||
19 years ago
|
versatilepb_config | \
|
||
|
versatile_config)
|
||
19 years ago
|
echo "#define CONFIG_ARCH_VERSATILE_PB" > ${obj}include/config.h
|
||
19 years ago
|
;;
|
||
|
|
||
|
versatileab_config)
|
||
19 years ago
|
echo "#define CONFIG_ARCH_VERSATILE_AB" > ${obj}include/config.h
|
||
19 years ago
|
variant=AB926EJ-S
|
||
19 years ago
|
;;
|
||
|
|
||
|
|
||
|
*)
|
||
|
echo "$0:: Unrecognised config - using versatilepb_config"
|
||
19 years ago
|
echo "#define CONFIG_ARCH_VERSATILE_PB" > ${obj}include/config.h
|
||
19 years ago
|
variant=PB926EJ-S
|
||
19 years ago
|
;;
|
||
|
|
||
|
esac
|
||
|
|
||
|
fi
|
||
|
# ---------------------------------------------------------
|
||
|
# Complete the configuration
|
||
|
# ---------------------------------------------------------
|
||
16 years ago
|
$MKCONFIG -a versatile arm arm926ejs versatile armltd versatile
|
||
19 years ago
|
echo "Variant:: $variant"
|