diff options
-rw-r--r-- | board/lge/sniper/sniper.c | 2 | ||||
-rw-r--r-- | include/configs/sniper.h | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/board/lge/sniper/sniper.c b/board/lge/sniper/sniper.c index bc5df0abda0..32cabd292c9 100644 --- a/board/lge/sniper/sniper.c +++ b/board/lge/sniper/sniper.c @@ -248,6 +248,8 @@ int board_video_init(void) */ int misc_init_r(void) { + setenv("serial#", "p970-replicant"); + g_dnl_set_serialnumber("p970-replicant"); #ifdef CONFIG_USB_MUSB_OMAP2PLUS musb_register(&musb_plat, &musb_board_data, (void *)MUSB_BASE); #endif diff --git a/include/configs/sniper.h b/include/configs/sniper.h index ef8b455d50e..e0828f81f0d 100644 --- a/include/configs/sniper.h +++ b/include/configs/sniper.h @@ -169,7 +169,7 @@ #define CONFIG_USBDOWNLOAD_GADGET #define CONFIG_G_DNL_VENDOR_NUM 0x0451 -#define CONFIG_G_DNL_PRODUCT_NUM 0xd022 +#define CONFIG_G_DNL_PRODUCT_NUM 0xD022 #define CONFIG_G_DNL_MANUFACTURER "TI" #define CONFIG_CMD_FASTBOOT #define CONFIG_USB_FASTBOOT_BUF_ADDR CONFIG_SYS_LOAD_ADDR @@ -252,8 +252,15 @@ "bootargs=console=ttyO2,115200n8 earlyprintk mem=512M init=/init videoout=omap24xxvout omap_vout.video1_numbuffers=6 omap_vout.vid1_static_vrfb_alloc=y vram=16M omapfb.vram=0:5M lpj=2334720 fuelgauge=g androidboot.hardware=blackg muic_state=0 thermal_fakemode=0 CRC=0x6f889a29" #define CONFIG_BOOTCOMMAND \ + "i2c dev 1; i2c md 0x44 0x00 0x10; i2c mw 0x44 0x03 0x00; i2c md 0x44 0x00 0x10; i2c dev 0; fastboot;" \ "fatload mmc 0 0x81000000 recovery.img;" \ "bootm 0x81000000;" + + +/* "fastboot;" \ + "fatload mmc 0 0x81000000 recovery.img;" \ + "bootm 0x81000000;" +*/ /* "i2c dev 0; i2c probe 0x4a;i2c mw 0x4a 0xaa 0xd5;i2c mw 0x4a 0xab 0x08;i2c mw 0x4a 0xac 0x0b;i2c mw 0x4a 0xad 0x00;i2c mw 0x4a 0xae 0x88; i2c mw 0x4a 0xaf 0x00; i2c mw 0x4a 0xb0 0x00; sleep 1; i2c md 0x4a 0x00 0xff;" \ |