From a70cac1259b6bb11a6769d0ec195a1ed32e07489 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 15 Nov 2005 18:48:52 +0000 Subject: [PATCH] Add geometry of SiliconSystems 4GB CF card --- tools/tools/nanobsd/FlashDevice.sub | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/tools/tools/nanobsd/FlashDevice.sub b/tools/tools/nanobsd/FlashDevice.sub index 3948a4ceb76a..cbcc93e1d0b5 100644 --- a/tools/tools/nanobsd/FlashDevice.sub +++ b/tools/tools/nanobsd/FlashDevice.sub @@ -108,6 +108,19 @@ sub_FlashDevice () { ;; esac ;; + [Ss][Ii][Ll][Ii][Cc][Oo][Nn][Ss][Yy][Ss][Tt][Ee][Mm][Ss]) + case $2 in + 4096|4G) + NANO_MEDIASIZE=`expr 4224761856 / 512` + NANO_HEADS=16 + NANO_SECTS=63 + ;; + *) + echo "Unknown SiliconSystems Flash capacity" + exit 2 + ;; + esac + ;; *) echo "Unknown Flash manufacturer" exit 2