mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Initial commit for the Creative ZEN V
Change-Id: I3408cfdf742ea5995d5c87bf76653f436e1ec2b0
This commit is contained in:
parent
a8b816ae9c
commit
977a6c3ce7
18 changed files with 300 additions and 10 deletions
|
|
@ -11,10 +11,11 @@ LDFLAGS=
|
|||
# 1) add x to the list in TARGETS
|
||||
# 2) create a variable named OPT_x of the form:
|
||||
# OPT_x=target specific defines
|
||||
TARGETS=zenmozaic zenxfi zen
|
||||
TARGETS=zenmozaic zenxfi zen zenv
|
||||
OPT_zenmozaic=-DCREATIVE_ZENMOZAIC -DIMX233_SUBTARGET=3700
|
||||
OPT_zenxfi=-DCREATIVE_ZENXFI -DIMX233_SUBTARGET=3700
|
||||
OPT_zen=-DCREATIVE_ZEN -DIMX233_SUBTARGET=3700
|
||||
OPT_zenv=-DCREATIVE_ZENV -DIMX233_SUBTARGET=3600
|
||||
|
||||
BOOTLDS=$(patsubst %, dualboot_%.lds, $(TARGETS))
|
||||
BOOTOBJS=$(patsubst %, dualboot_%.o, $(TARGETS))
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@
|
|||
#include "regs-pinctrl.h"
|
||||
#include "regs-power.h"
|
||||
#include "regs-lradc.h"
|
||||
#include "regs-digctl.h"
|
||||
|
||||
typedef unsigned long uint32_t;
|
||||
|
||||
|
|
@ -83,7 +84,8 @@ static inline void __attribute__((noreturn)) power_down()
|
|||
* Boot decision functions
|
||||
*/
|
||||
|
||||
#if defined(CREATIVE_ZENMOZAIC) || defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI)
|
||||
#if defined(CREATIVE_ZENMOZAIC) || defined(CREATIVE_ZEN) || defined(CREATIVE_ZENXFI) \
|
||||
|| defined(CREATIVE_ZENV)
|
||||
static enum boot_t boot_decision()
|
||||
{
|
||||
setup_lradc(0); // setup LRADC channel 0 to read keys
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue