From 14e63e56b6dbf48ffd862e816c595c258b211df0 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Fri, 28 Nov 2008 10:16:39 +0000 Subject: [PATCH] qi-add-build-stamps.patch Signed-off-by: Andy Green --- qiboot/Makefile | 8 ++++---- qiboot/src/gta02/gta02.c | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qiboot/Makefile b/qiboot/Makefile index c1f9468..1adfaab 100644 --- a/qiboot/Makefile +++ b/qiboot/Makefile @@ -49,8 +49,8 @@ UDFU_PID = 0x5119 UDFU_REV = 0x350 TARGET = image/start_qi_all -IMAGE = $(IMAGE_DIR)/qi -UDFU_IMAGE = $(IMAGE_DIR)/qi.udfu +IMAGE = $(IMAGE_DIR)/qi-$(BUILD_VERSION) +UDFU_IMAGE = $(IMAGE_DIR)/qi-$(BUILD_VERSION).udfu MKUDFU = $(TOOLS)/mkudfu @@ -75,5 +75,5 @@ ${UDFU_IMAGE}:${OBJS} ${MKUDFU} @$(OBJDUMP) -d ${TARGET} >${IMAGE}.dis clean: - @rm -f src/*.o src/*~ include/*~ ${IMAGE}* ${TARGET} ${UDFU_IMAGE} - @make clean -C $(TOOLS) \ No newline at end of file + @rm -f src/*.o src/*~ include/*~ ${IMAGE_DIR}/* ${TARGET} ${UDFU_IMAGE} + @make clean -C $(TOOLS) diff --git a/qiboot/src/gta02/gta02.c b/qiboot/src/gta02/gta02.c index 762ba9b..9b2726f 100644 --- a/qiboot/src/gta02/gta02.c +++ b/qiboot/src/gta02/gta02.c @@ -46,7 +46,6 @@ const struct pcf50633_init pcf50633_init[] = { { PCF50633_REG_OOCTIM1, 0xaa }, /* debounce 14ms everything */ { PCF50633_REG_OOCTIM2, 0x4a }, { PCF50633_REG_OOCMODE, 0x55 }, - { PCF50633_REG_OOCSHDWN, 0x04 }, /* defeat 8s death from lowsys on A5 */ { PCF50633_REG_OOCCTL, 0x47 }, { 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_MBCC7, 0x00 }, /* 1.6A max bat curr, USB 100mA */ { PCF50633_REG_MBCC8, 0x00 }, - { PCF50633_REG_MBCC1, 0xe7 }, /* chgena */ + { PCF50633_REG_MBCC1, 0xff }, /* chgena */ { PCF50633_REG_BBCCTL, 0x19 }, /* 3V, 200uA, on */ + { PCF50633_REG_OOCSHDWN, 0x04 }, /* defeat 8s death from lowsys on A5 */ };