Add ttype_map_insert() to store the tape map info

Change-Id: I6fa864f529edd415d8d7bfc9e61735383a1c7b90