Commit FS#9467 - initial work on port to Sansa Clip by Rafaël Carré and François Dinel.  A few cosmetic changes were made by me prior to committing: 1) TAB policing in button-clip.c; 2) Add François Dinel to CREDITS; 3) Add François Dinel as (C) holder in button-target.h (it was previously blank); 4) Add Rockbox header to bootloader/sansa_as3525.c with Rafaël Carré as (C) holder; 5) Change target_id to 50 (next available number) in tools/configure and fixed indentation; 6) Change MODEL_NUMBER in config-clip.h to 50 (next available number); 7) Remove unused in/out macros from system-target.h

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18782 a1c6a512-1295-4272-9138-f99709370657
diff --git a/bootloader/sansa_as3525.c b/bootloader/sansa_as3525.c
new file mode 100644
index 0000000..297fb2e
--- /dev/null
+++ b/bootloader/sansa_as3525.c
@@ -0,0 +1,58 @@
+/***************************************************************************
+ *             __________               __   ___.
+ *   Open      \______   \ ____   ____ |  | _\_ |__   _______  ___
+ *   Source     |       _//  _ \_/ ___\|  |/ /| __ \ /  _ \  \/  /
+ *   Jukebox    |    |   (  <_> )  \___|    < | \_\ (  <_> > <  <
+ *   Firmware   |____|_  /\____/ \___  >__|_ \|___  /\____/__/\_ \
+ *                     \/            \/     \/    \/            \/
+ * $Id:$
+ *
+ * Copyright (C) 2008 by Rafaël Carré
+ *
+ * Based on Rockbox iriver bootloader by Linus Nielsen Feltzing
+ * and the ipodlinux bootloader by Daniel Palffy and Bernard Leach
+ * 
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#include <stdio.h>
+#include <system.h>
+#include <inttypes.h>
+#include "lcd.h"
+#include "common.h"
+#include "config.h"
+
+int show_logo(void);
+void main(void)
+{
+    lcd_init_device();
+    lcd_clear_display();
+
+    lcd_update();
+
+    lcd_enable(true);
+
+    show_logo();
+
+#ifdef SANSA_CLIP
+    /* Use hardware scrolling */
+
+    lcd_write_command(0x26); /* scroll setup */
+    lcd_write_command(0x01); /* columns scrolled per step */
+    lcd_write_command(0x00); /* start page */
+    lcd_write_command(0x00); /* steps freqency */
+    lcd_write_command(0x07); /* end page (including) */
+
+    lcd_write_command(0x2F); /* start horizontal scrolling */
+#endif
+
+    /* never returns */
+    while(1) ;
+}