mirror of
git://projects.qi-hardware.com/xburst-tools.git
synced 2024-11-01 12:38:27 +02:00
qi-add-build-stamps.patch
Signed-off-by: Andy Green <andy@openmoko.com>
This commit is contained in:
parent
e55b148f55
commit
14e63e56b6
@ -49,8 +49,8 @@ UDFU_PID = 0x5119
|
|||||||
UDFU_REV = 0x350
|
UDFU_REV = 0x350
|
||||||
|
|
||||||
TARGET = image/start_qi_all
|
TARGET = image/start_qi_all
|
||||||
IMAGE = $(IMAGE_DIR)/qi
|
IMAGE = $(IMAGE_DIR)/qi-$(BUILD_VERSION)
|
||||||
UDFU_IMAGE = $(IMAGE_DIR)/qi.udfu
|
UDFU_IMAGE = $(IMAGE_DIR)/qi-$(BUILD_VERSION).udfu
|
||||||
|
|
||||||
MKUDFU = $(TOOLS)/mkudfu
|
MKUDFU = $(TOOLS)/mkudfu
|
||||||
|
|
||||||
@ -75,5 +75,5 @@ ${UDFU_IMAGE}:${OBJS} ${MKUDFU}
|
|||||||
@$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis
|
@$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
@rm -f src/*.o src/*~ include/*~ ${IMAGE}* ${TARGET} ${UDFU_IMAGE}
|
@rm -f src/*.o src/*~ include/*~ ${IMAGE_DIR}/* ${TARGET} ${UDFU_IMAGE}
|
||||||
@make clean -C $(TOOLS)
|
@make clean -C $(TOOLS)
|
||||||
|
@ -46,7 +46,6 @@ const struct pcf50633_init pcf50633_init[] = {
|
|||||||
{ PCF50633_REG_OOCTIM1, 0xaa }, /* debounce 14ms everything */
|
{ PCF50633_REG_OOCTIM1, 0xaa }, /* debounce 14ms everything */
|
||||||
{ PCF50633_REG_OOCTIM2, 0x4a },
|
{ PCF50633_REG_OOCTIM2, 0x4a },
|
||||||
{ PCF50633_REG_OOCMODE, 0x55 },
|
{ PCF50633_REG_OOCMODE, 0x55 },
|
||||||
{ PCF50633_REG_OOCSHDWN, 0x04 }, /* defeat 8s death from lowsys on A5 */
|
|
||||||
{ PCF50633_REG_OOCCTL, 0x47 },
|
{ PCF50633_REG_OOCCTL, 0x47 },
|
||||||
|
|
||||||
{ PCF50633_REG_SVMCTL, 0x08 }, /* 3.10V SYS voltage thresh. */
|
{ PCF50633_REG_SVMCTL, 0x08 }, /* 3.10V SYS voltage thresh. */
|
||||||
@ -72,9 +71,10 @@ const struct pcf50633_init pcf50633_init[] = {
|
|||||||
{ PCF50633_REG_MBCC6, 0x00 }, /* cutoff current 1/32 * Ichg */
|
{ PCF50633_REG_MBCC6, 0x00 }, /* cutoff current 1/32 * Ichg */
|
||||||
{ PCF50633_REG_MBCC7, 0x00 }, /* 1.6A max bat curr, USB 100mA */
|
{ PCF50633_REG_MBCC7, 0x00 }, /* 1.6A max bat curr, USB 100mA */
|
||||||
{ PCF50633_REG_MBCC8, 0x00 },
|
{ PCF50633_REG_MBCC8, 0x00 },
|
||||||
{ PCF50633_REG_MBCC1, 0xe7 }, /* chgena */
|
{ PCF50633_REG_MBCC1, 0xff }, /* chgena */
|
||||||
|
|
||||||
{ PCF50633_REG_BBCCTL, 0x19 }, /* 3V, 200uA, on */
|
{ PCF50633_REG_BBCCTL, 0x19 }, /* 3V, 200uA, on */
|
||||||
|
{ PCF50633_REG_OOCSHDWN, 0x04 }, /* defeat 8s death from lowsys on A5 */
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user