1#!/usr/bin/env bash 2 3############################################################################### 4# 5# Copyright (C) 2009-2013 Nintendo. All rights reserved. 6# 7# These coded instructions, statements, and computer programs contain 8# proprietary information of Nintendo of America Inc. and/or Nintendo 9# Company Ltd., and are protected by Federal copyright law. They may 10# not be disclosed to third parties or copied or duplicated in any form, 11# in whole or in part, without the prior written consent of Nintendo. 12# 13############################################################################### 14 15if [ "$CAFE_HARDWARE" == "ev" ] 16then 17 BRIDGE_TYPE="Toucan" 18elif [ "$CAFE_HARDWARE" == "ev_x4" ] 19then 20 BRIDGE_TYPE="Mion" 21 elif [ "${CAFE_HARDWARE:6:2}" == "mp" ] 22then 23 BRIDGE_TYPE="Mion" 24elif [ "${CAFE_HARDWARE:6:7}" -le 2 ] 25then 26 BRIDGE_TYPE="Toucan" 27else 28 BRIDGE_TYPE="Mion" 29fi 30 31