summaryrefslogtreecommitdiff
path: root/firmware (follow)
Commit message (Collapse)AuthorAge
* Submit FS#11646. Reduce voltage supply for iPod nano 2G LCD. Significantly ↵Andree Buschmann2010-10-01
| | | | | | reduces buzzing sound of LDS176 type displays. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28190 a1c6a512-1295-4272-9138-f99709370657
* If BUFFER_ALLOC_DEBUG is defined, make buffer_alloc() not actually allocate ↵Frank Gevaerts2010-09-26
| | | | | | anything if size==0, so code that uses buffer_alloc(0) to find out what address it would get keeps working git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28174 a1c6a512-1295-4272-9138-f99709370657
* Add optional (define BUFFER_ALLOC_DEBUG to enable it) code to check for code ↵Frank Gevaerts2010-09-26
| | | | | | | | | overflowing buffer_alloc()-allocated buffers. Also add a panicf() if buffer_alloc() doesn't have enough space left to allocate a requested buffer git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28173 a1c6a512-1295-4272-9138-f99709370657
* RDA5802 tuner: fix small bug in rda5802_init (writing too much data)Bertrik Sikken2010-09-26
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28170 a1c6a512-1295-4272-9138-f99709370657
* Roll back r28164 as this change introduced LCD issues on some nano 2G.Andree Buschmann2010-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28166 a1c6a512-1295-4272-9138-f99709370657
* Add current consumption and battery capacities to iPod nano 2G config file.Andree Buschmann2010-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28165 a1c6a512-1295-4272-9138-f99709370657
* Reduce LCD voltage supply to 2500 mV to avoid humming noise of nano 2G.Andree Buschmann2010-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28164 a1c6a512-1295-4272-9138-f99709370657
* Remove code that was unintentionally submitted.Andree Buschmann2010-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28163 a1c6a512-1295-4272-9138-f99709370657
* Add some more information to iPod nano 2G debug screen.Andree Buschmann2010-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28162 a1c6a512-1295-4272-9138-f99709370657
* Disable clickwheel power supply when hold button is active for iPod nano 2G.Andree Buschmann2010-09-25
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28161 a1c6a512-1295-4272-9138-f99709370657
* Implement lineout en-/disable for WM8975 and activate it for iPod nano 2G.Andree Buschmann2010-09-24
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28159 a1c6a512-1295-4272-9138-f99709370657
* Enlarge the button post interval against audio drop outs, Too many lcd updatesThomas Martitz2010-09-22
| | | | | | | | per seconds apparently don't very well. Not sure if it's the hardware or our threading that doesn't play well enough here (UI isn't less response despite of the audio drop outs). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28144 a1c6a512-1295-4272-9138-f99709370657
* Touchscreen: button driver improvementsThomas Martitz2010-09-22
| | | | | | | | | | | | | * Until BUTTON_REPEAT was started, coordinate changes were not exposed. Change that (post on every coordinate change) so that wiping over the screen does actually something between the first touch and BUTTON_REPEAT * Once BUTTON_REPEAT is active, further repeats are posted in an acceleration fashion (slow at the begginning), which smoothes list scrolling. But this has the contrary effect on touchscreen, as it makes swiping appear very laggy. So, remove that acceleration for touchscreen and make it equally fast at all times so the scrollbar is better usable. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28143 a1c6a512-1295-4272-9138-f99709370657
* iap: make variable serbuf non-globalBertrik Sikken2010-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28128 a1c6a512-1295-4272-9138-f99709370657
* Fix typoThomas Martitz2010-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28126 a1c6a512-1295-4272-9138-f99709370657
* Redirect (L)DEBUGFs to adb logcat in DEBUG enabled builds.Thomas Martitz2010-09-20
| | | | | | Exclude compilation of firmware/debug.c for hosted platforms. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28125 a1c6a512-1295-4272-9138-f99709370657
* */app.lds: remove STUBOFFSETRafaël Carré2010-09-20
| | | | | | | | | This is related to gdb, and gdb can only work on SH and ifp This was mistakenly kept when app.lds was forked for each SoC Side-effect: fix DEBUG builds when the rockbox binary is expected to be loaded at the start of DRAM and there is no runtime relocation git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28124 a1c6a512-1295-4272-9138-f99709370657
* file_exists(): fix DEBUGF()Rafaël Carré2010-09-20
| | | | | | | | - %s was missing the argument (function name) - add %p to print the function argument - also don't call strlen() to test string nullity (and strlen() can't return a negative result) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28123 a1c6a512-1295-4272-9138-f99709370657
* usb: remove unused variable and correctly stall on unhandled control requestsAmaury Pouly2010-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28121 a1c6a512-1295-4272-9138-f99709370657
* format() (and its alias vuprintf) return values are uncheck -> voidRafaël Carré2010-09-20
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28119 a1c6a512-1295-4272-9138-f99709370657
* Allow e200 to compile without HAVE_RECORDINGFrank Gevaerts2010-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28104 a1c6a512-1295-4272-9138-f99709370657
* Simplify unnecessary baroque preprocessor condition a bitFrank Gevaerts2010-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28101 a1c6a512-1295-4272-9138-f99709370657
* Only define USB_ENABLE_STORAGE if USB_HAS_BULK and USE_ROCKBOX_USB are both setFrank Gevaerts2010-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28100 a1c6a512-1295-4272-9138-f99709370657
* Make the call to buttonlight_on() properly depend on HAVE_BUTTON_LIGHTFrank Gevaerts2010-09-17
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28096 a1c6a512-1295-4272-9138-f99709370657
* usb_drv_reset() is only used in usb-drv-arc.cRafaël Carré2010-09-16
| | | | | | remove from usb_drv.h and mark static git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28092 a1c6a512-1295-4272-9138-f99709370657
* button driver: make repeat timings be centiseconds and not ticksRafaël Carré2010-09-15
| | | | | | | This doesn't change the value with the current HZ=100, but makes it easy to change HZ in custome builds and still have buttons be usable git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28086 a1c6a512-1295-4272-9138-f99709370657
* AMS USBv2: use OF settings for undocumented registerRafaël Carré2010-09-12
| | | | | | still failing git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28061 a1c6a512-1295-4272-9138-f99709370657
* Fix beast, forgot the asm label when renaming.Thomas Martitz2010-09-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28058 a1c6a512-1295-4272-9138-f99709370657
* Also rename cpucache_invalidate() function for mips. There's more in the ↵Thomas Martitz2010-09-09
| | | | | | target tree of mips which I have overlooked yesterday. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28057 a1c6a512-1295-4272-9138-f99709370657
* Extend lc_open() to also being able to load overlay plugins.Thomas Martitz2010-09-09
| | | | | | | For this it needs to look at the plugin header. Since lc_open() doesn't know it's a plugin, the header needs to be changed slightly to include the new lc_header (which needs to be the first element in plugin_header so it can be casted savely). git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28054 a1c6a512-1295-4272-9138-f99709370657
* Forgot to rename cpucache_flush/_invalidate for PP502x.Thomas Martitz2010-09-09
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28053 a1c6a512-1295-4272-9138-f99709370657
* Revert r27972 to fix FS#11610 (but in a way android builds still work).Thomas Martitz2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28050 a1c6a512-1295-4272-9138-f99709370657
* Change sd-as3525*.c to the new cache coherency function names.Thomas Martitz2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28046 a1c6a512-1295-4272-9138-f99709370657
* Rename cache coherency functions.Thomas Martitz2010-09-08
| | | | | | | | | | | | | | The old cache coherency function names where wrong and misleading. The new names are (purposely different from vendor manuals) * commit_* (write-back only) * discard_* (removing lines from cache only) * commit_discard_* (write-back and removing lines from cache) It's suspected the old names have led to wrong uses. The old names still exist (as aliases) so every call via the old names need to be double checked and changed to the new name. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28045 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: use tables for usb_drv_port_speed() and usb_drv_mps_by_type()Rafaël Carré2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28044 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: split handle_ep_int()Rafaël Carré2010-09-08
| | | | | | | IN & OUT interrupts have not much in common so move each to its own function git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28043 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: smaller struct usb_endpointRafaël Carré2010-09-08
| | | | | | | - reorder members (largest members first) - int status -> int8_t status (we only use 0 or -1) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28042 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: only read endpoint interrupt status register onceRafaël Carré2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28041 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2.c: cosmetics (remove trailing spaces)Rafaël Carré2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28040 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: Reduce the size of (in/out)_ep_listRafaël Carré2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28039 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: simplify FOR_EACH* macrosRafaël Carré2010-09-08
| | | | | | | | | - use a single table to store endpoints numbers (1 table by direction) - drop __ prefix since the table isn't meant to be hidden (it is used in reset_endpoints() - the tables won't change at runtime: mark const git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28038 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: use status == -1 to signal errorsRafaël Carré2010-09-08
| | | | | | | set status to failure before signaling usb_drv_send_nonblocking() in reset_endpoints() git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28037 a1c6a512-1295-4272-9138-f99709370657
* usb-s3c6400x.c : don't hardcode USB_NUM_ENDPOINTS but use the defineRafaël Carré2010-09-08
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28036 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: cosmeticsRafaël Carré2010-09-08
| | | | | | | | Use ep0_setup_pkt as a pointer Fix comment for CGU_USB clk source Remove comment about physical address, the macro handles that for us git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28035 a1c6a512-1295-4272-9138-f99709370657
* USB AMSv2: update endpoint->len on transferRafaël Carré2010-09-08
| | | | | | cosmetics: x ? true : false -> x git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28034 a1c6a512-1295-4272-9138-f99709370657
* as3525v2 usb: define USB_HAS_BULKRafaël Carré2010-09-08
| | | | | | | Ask for alignement of USB buffers on cache line Also remind that the hardware is identical to the hardware in nano2g git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28033 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2: use dump_dcache_range()Rafaël Carré2010-09-08
| | | | | | Since we'll receive data from DMA in this buffer we don't need to write-back git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28032 a1c6a512-1295-4272-9138-f99709370657
* usb-drv-as3525v2: fixesRafaël Carré2010-09-08
| | | | | | | | | | | - don't use *_dcache_range() on uncached memory - remove unused struct endpoint->buffer - use correct *_dcache_range() in usb_drv_transfer() for each direction - halve FIFO size sometimes mounts / sometimes fails git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28031 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: don't disable data transfers !Amaury Pouly2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28030 a1c6a512-1295-4272-9138-f99709370657
* as3525v2-usb: fix red and fix stupid typo about endpoint statusAmaury Pouly2010-09-07
| | | | git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28029 a1c6a512-1295-4272-9138-f99709370657