summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Seung-Woo Kim [Tue, 10 Mar 2020 06:19:31 +0000 (15:19 +0900)]
tizen: declare tizen_board_key_scan() to remove implicit declaration
Add declaration of tizen_board_key_scan() to remove implicit
declaration of function warning.
Change-Id: I9b2e3248fb936e21c8a99d08e9dee888e9bbe1a1
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 5 Feb 2020 04:10:26 +0000 (13:10 +0900)]
tizen: bootmode: enable uart console with home key
Even though jig is not connected, enabling uart console can be
helpful. Enable uart console with pressed home key.
Note: At booting time, it needs to press home key 4 seconds.
Change-Id: Ib1352391d10eac7b6339ff44c49aa186ccbb68ef
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 7 Jan 2020 05:27:37 +0000 (14:27 +0900)]
usb: thor: fix possible alignment issues
With gcc9, address-of-packed-member warnings are shown. Fix the
issues by using packed structure.
Change-Id: Ia375a212e112a935eefaa7ea6105b0bbceae52a3
Ref: https://patchwork.ozlabs.org/patch/1218603/
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Luka Perkov [Mon, 5 Sep 2011 21:40:13 +0000 (23:40 +0200)]
fix compile warning for env tools
Patch fixes this issue:
fw_env.c: In function ‘fw_setenv’:
fw_env.c:492:5: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
fw_env.c: In function ‘flash_write_buf’:
fw_env.c:806:6: warning: format ‘%u’ expects argument of type ‘unsigned int’, but argument 3 has type ‘size_t’ [-Wformat]
Signed-off-by: Luka Perkov <lists@lukaperkov.net>
Acked-by: Mike Frysinger <vapier@gentoo.org>
[sw0312.kim: backport mainline commit
8603b69b8b04 to remove gcc 9 build warning]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I333ce3a5bf4caf3eed4272cf79b837eab48776a0
Jaehoon Chung [Wed, 18 Dec 2019 03:27:58 +0000 (12:27 +0900)]
usb: composite: fix unalinged address about packed structure
Since upgrading to gcc9, warnings are issued:
"taking address of packed member of ‘...’ may result in an unaligned
pointer value"
This patch is refered to below commit
- commit
616ebd8b9cb "usb: composite: fix possible alignment issues"
Change-Id: Idceb5b56f7daf1481de528f95a1a2f1f9b57c0dd
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Wed, 3 Jan 2018 06:22:16 +0000 (15:22 +0900)]
video: sprd: remove build warnings
Remove build warnings.
Change-Id: I211276db4d2f8472a5ad2df584877828c4b56338
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 3 Jan 2018 02:32:35 +0000 (11:32 +0900)]
bootmode: tizen: remove build warnings and static analysis tool warnings
Remove build warnings and static analysis tool warnings.
Change-Id: I6422c6147ba979b6ae8340e2ffd229dd2cf47ffe
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 3 Jan 2018 02:31:56 +0000 (11:31 +0900)]
bootmode: remove build warnings
Remove build warnings from bootmode.
Change-Id: Ic52a8049c760fe0888b20315865a7eea9e9b1845
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 07:59:23 +0000 (16:59 +0900)]
fs: fat: remove build warnings
Remove unused-variable build warnings.
Change-Id: Ibecbdfb96299742d9a60669e043ee2ab87a8c469
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 07:58:53 +0000 (16:58 +0900)]
usb: dwc_otg: remove build warnings
Remove build warnings.
Change-Id: I19ec76087004120706834e7547d9413f4ee429f3
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 06:38:12 +0000 (15:38 +0900)]
spi: sprd: remove build warnings
Remove build warnings from sprd spi driver.
Change-Id: I59d195f8ff6b2d21d1c2ae7b7eb6fbcfabc5198b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 03:43:38 +0000 (12:43 +0900)]
mmc: sprd: remove build warnings
Remove build warnings from sprd mmc driver.
Change-Id: I18bea9d21c45d814bb71ada654dad4549c059d7e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 03:45:52 +0000 (12:45 +0900)]
ARM: sc8830: fdl: remove build warnings
Remove build warnings.
Change-Id: I6137ee6a831317a9c300c223cc94ff87931c2a64
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 06:46:56 +0000 (15:46 +0900)]
usb: gadget: remove build warnings
Remove build warnings.
Change-Id: I528624a8700aaa9dc37860309e80156c74e81f5a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 06:38:58 +0000 (15:38 +0900)]
gpio: remove build warnings caused by sprd bsp
Remove build warnings caused by sprd bsp.
Change-Id: I0c64253caec188267a13dc9e24cbfd489085d746
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 03:58:19 +0000 (12:58 +0900)]
lcd: remove build warnings
Remove build warnings in logo display.
Change-Id: I021aa282bfb1c55ec909703f99b42f9b2dafede4
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 2 Jan 2018 03:44:19 +0000 (12:44 +0900)]
power: battery: sprd: remove build warnings
Remove build warnings from sprd battery.
Change-Id: I5b30f1d1f35748da2b02e2e6cacad054cd0547c2
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Mike Frysinger [Mon, 5 Mar 2012 13:47:00 +0000 (13:47 +0000)]
usb: replace wait_ms() with mdelay()
Common code has a mdelay() func, so use that instead of the usb-specific
wait_ms() func. This also fixes the build errors:
ohci-hcd.c: In function 'submit_common_msg':
/usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
ohci-hcd.c:1519:9: sorry, unimplemented: called from here
/usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
ohci-hcd.c:1816:10: sorry, unimplemented: called from here
/usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
ohci-hcd.c:1827:10: sorry, unimplemented: called from here
/usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
ohci-hcd.c:1844:10: sorry, unimplemented: called from here
/usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
ohci-hcd.c:1563:11: sorry, unimplemented: called from here
/usr/local/src/u-boot/blackfin/include/usb.h:202:44: sorry, unimplemented: inlining failed in call to 'wait_ms': function body not available
ohci-hcd.c:1583:9: sorry, unimplemented: called from here
make[1]: *** [ohci-hcd.o] Error 1
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Marek Vasut <marex@denx.de>
[sw0312.kim: backport the commit
5b84dd67cfd8 from mainline u-boot to fix build warning
- patch of common/usb_hub.c is applied to common/usb.c because it was not divided in v2010.12]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ic383ed6d4d0531e965d7797c5ad0eb3c5145d3c4
Seung-Woo Kim [Fri, 29 Dec 2017 02:34:46 +0000 (11:34 +0900)]
i2c: sprd: remove build warnings
Remove build warnings in sprd i2c.
Change-Id: I377ebe847191dac9aab922e1e9b36c0840bd8b0e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 29 Dec 2017 03:04:39 +0000 (12:04 +0900)]
thor: remove build warnings
Remove build warnings in usb thor.
Change-Id: I210e0ec1780776d53e74ccb202b14aadc99d96ba
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 29 Dec 2017 02:33:54 +0000 (11:33 +0900)]
part: remove build warnings in sprd partition
Remove build warnings in sprd partition.
Change-Id: I58dc3673b0c48b8c97f583f92133b5f39ecd0b3a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 29 Dec 2017 02:32:30 +0000 (11:32 +0900)]
console: remove build warning in ram console
Remove build warning in ram console.
Change-Id: I1b783345c081fbd9d24c727fc1ec00f9d16eb38c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 29 Dec 2017 02:31:33 +0000 (11:31 +0900)]
fdt: remove build warnings caused by sprd bsp
Remove build warnings caused by sprd bsp.
Change-Id: I8989a6fdbac336354feb5736db2ea815ec19e95e
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 27 Dec 2017 07:52:54 +0000 (16:52 +0900)]
bootmode: normal: remove duplicated macro
There is duplicated macro, and it causes build warning. Remove the
duplication.
Change-Id: I05b23aba350bbefb6e95a952a1d24a57bed960fe
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 27 Dec 2017 06:22:57 +0000 (15:22 +0900)]
usb: gadget: remove duplicated print macro
There are duplicated print macros. Remove the macros.
Change-Id: I26cfa53689c39d661e64eb1a61e381f8baf30ac4
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 28 Dec 2017 05:36:10 +0000 (14:36 +0900)]
board: tizen_tm1: remove build warnings
Remove build warnings from tizen_tm1 board bsp code.
Change-Id: I2f89ef18bc5f35c2f29aa885f10d98f0496ea06c
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 28 Dec 2017 05:30:33 +0000 (14:30 +0900)]
arm: sc8830: remove build warnings
Remove build warnings from sc8830 arch bsp code.
Change-Id: I253660a28de843f9f0e61ce7d5bd0a75cf05a86b
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 27 Dec 2017 04:45:34 +0000 (13:45 +0900)]
arm: sc8830: fix redefined macro warnings
There are several redefied macro warnings. Remove the warnings with
NOTE: some macro value are different from previous define, so it
changes to use #undef when the macro is defined.
Change-Id: I54284b2de3d26c2385d5e1ae356882a4507754c0
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 28 Dec 2017 08:38:21 +0000 (17:38 +0900)]
logo: remove meaningless packed attributte
The logo image is not in struct, so packed attribute has no
meaning. Remove the meaning less packed attribute to fix build
warnings.
Change-Id: I35d118600c44af1fcfbd59b6ad59d7601e1bec9a
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 8 Nov 2017 07:43:24 +0000 (16:43 +0900)]
ARM: SPRD: fix build warnings for sc8830
Fix build warnings including implicit function, unused variable and
incompatible pointer in sc8830 directory. It also removes not used
ldo functions causing building.
Change-Id: I6fcda323d28437ee5ba41ad9022eb465fc86df83
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Marek Vasut [Mon, 26 Sep 2011 00:26:04 +0000 (02:26 +0200)]
GCC4.6: Squash warnings in lcd.c
lcd.c: In function ‘lcd_drawchars’:
lcd.c:214:9: warning: variable ‘off’ set but not used
[-Wunused-but-set-variable]
lcd.c: In function ‘lcd_display_bitmap’:
lcd.c:617:16: warning: variable ‘compression’ set but not used
[-Wunused-but-set-variable]
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
[sw0312.kim: cherry-pick from mainline commit
be547c6db32d to fix build warning]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I09ae696ae78c82a8761b4ef15befa6f55eddbcc4
Marek Vasut [Mon, 26 Sep 2011 00:26:03 +0000 (02:26 +0200)]
GCC4.6: Squash warning in cmd_nvedit.c
cmd_nvedit.c: In function ‘do_env_edit’:
cmd_nvedit.c:463:6: warning: variable ‘len’ set but not used
[-Wunused-but-set-variable]
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
[sw0312.kim: cherry-pick from mainline commit
7fcd9bbd6f0a6 to fix build warning]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I241ecf6c472b6fc43ccc2254abaa38434767586c
Marek Vasut [Mon, 26 Sep 2011 00:26:06 +0000 (02:26 +0200)]
GCC4.6: Squash warning in cmd_mem.c
cmd_mem.c: In function ‘do_mem_loop’:
cmd_mem.c:474:25: warning: variable ‘junk’ set but not used
[-Wunused-but-set-variable]
The assigned variable can be removed because the pointers are volatile so
accesses to their addresses are always generated.
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
[sw0312.kim: cherry-pick from mainline commit
f3b3c3df189f to fix build warning]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I20e93f08dc0e7fbc73fbfdf213781948f9737eb7
Jeroen Hofstee [Thu, 10 Jul 2014 18:12:45 +0000 (20:12 +0200)]
lib:sha1: remove unused constant
This prevents a clang warning.
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
[sw0312.kim: cherry-pick from mainline commit
6b13f0c050c7 to fix build warning]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I288fa12a608c09194a5165070fa4bbc011b0a1a3
Mike Frysinger [Sun, 22 Apr 2012 06:59:06 +0000 (06:59 +0000)]
image/fit: drop inline markings on parser code
Putting "inline" on extern funcs makes no sense, so drop them.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
[jh80.chung: cherry-pick from u-boot mainline to remove build warning]
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I27f1f80aaa6d6212ea9390ad7fa697cf993fe133
Jaehoon Chung [Thu, 28 Sep 2017 12:19:15 +0000 (21:19 +0900)]
i2c: i2c_phy_v0: remove the debug message
These messages aren't displayed.
Remove the unnecessary debug message for fixing compile warning.
Change-Id: If7474ae0f06c8a39ffd3b734f4fdb2267c866569
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 12:08:26 +0000 (21:08 +0900)]
arm: sc8830: clock_test: remove clock_test.c file
clock_teset.c doesn't need to build.
Remove clock_teset.c file.
Change-Id: Ie1c6bbddfe41990dbaab582dedce855c83238ad5
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 11:59:17 +0000 (20:59 +0900)]
i2c: i2c_hal: remove the unnecessary debug message
These messages aren't displayed.
Remove the unnecessaray debug message for removing warning.
Change-Id: I86a4bd6402fea0620940ff5daee6ca8efc2c7652
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 11:45:18 +0000 (20:45 +0900)]
arm: sc8830: gpio: remove the redefined macro
Some macros are already defined in other header files.
Remove the redefined macro.
Change-Id: I62b5aa80d057cf5ac32798d796ece59890b6a21e
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 11:36:41 +0000 (20:36 +0900)]
arm: sc8830: common: remove the redefined macros
BIT_XX wan redefined in bits.h.
Just include the bits header file in common.h
Change-Id: I67b4dacad0353b2d0b9783dd0c2bf3f111fa6449
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 06:18:27 +0000 (15:18 +0900)]
arm: sc8830: remove the unused defined values
Remove the unused defined values for fixing compiler warning.
BIT_GPU_SOFT_RST doesn't use anywhere.
Change-Id: I17102a64b4cb61d32f155bf697f325cb537f912f
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 06:12:02 +0000 (15:12 +0900)]
arm: bootm: remove the unused variables
Remove the unused variables for fixing compiler warning.
Change-Id: I59fc03e1ffb27b1e1c005ccb0b06c4b81d80b21c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 05:52:31 +0000 (14:52 +0900)]
part_efi: don't build the dead code for checking gpt validation
format_gpt_valid() isn't call anywhere.
It means that code is dead.
In future, someone want to use it, just add the configuration as
CONFIG_GPT_FORMAT_VALID.
Change-Id: Id6fdcbd0b1e0530779649096637f488024709c2a
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 04:42:22 +0000 (13:42 +0900)]
part: add the get_partition_info_efi_with_partnum() in header file
Add the get_partition_info_efi_with_partnum() in header file for fixing
compiler warning.
Change-Id: I1c11f240d84216e9671f2e522f2b5907369b97dc
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 27 Sep 2017 08:01:34 +0000 (17:01 +0900)]
mmc: add mmc_legacy_init() in header file
mmc_legacy_init() is used when CONFIG_EMMC_BOOT is enabled.
Add the mmc_legacy_init() in header file.
Change-Id: I96aaee67ee511a484a812f4fe2afa9f4bc3d0620
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 06:57:08 +0000 (15:57 +0900)]
arm: sc8830: sprd_reg_base: fix the wrong base register address
According to spec, 0x40060000 is used the spinlock register, not
spinlock control register(0x20c00000).
Change-Id: Ifd399cae2416c20a0d45c9b766e73e7d3939fdf7
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Thu, 28 Sep 2017 06:23:19 +0000 (15:23 +0900)]
arm: sc8830: sprd_module_config: remove the duplicated defined value
KPD_NUM is already defined.
(0x01 << 16) | (0x03 << 20) is same with (0x31 << 16).
Change-Id: Ieef99d7f9c32ea7170f16814bccad718ef730ef3
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Nobuhiro Iwamatsu [Tue, 10 May 2011 17:33:08 +0000 (17:33 +0000)]
kwbimage: Fix check variable of checksum
calc_hdrcsum two times are checked. checksumi of exthdr is not checked.
Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
CC: Prafulla Wadaskar <prafulla@marvell.com>
[jh80.chung: cherry-pick from u-boot mainline to remove build warning]
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Change-Id: I62d00303ad285eb1feed14dd0236a1c1a4940808
Jaehoon Chung [Wed, 27 Sep 2017 07:07:04 +0000 (16:07 +0900)]
configs: tizen_tm1: fix the duplicated defined config
Some configurations are defined the twice.
If configuration is not defined, it needs to define at that time.
Change-Id: I8ee34f434fd3e532e610eadb16e6a36954615ee9
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 27 Sep 2017 07:40:25 +0000 (16:40 +0900)]
arch: sc8830: sci_types: remove the redefined macro
Arleady defined 'MAX' and 'MIN' in include/common.h
Remove the redefined 'MAX'/'MIN' macro.
Change-Id: I7a5a15ee137b87133f619ac1803843734c10762c
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Wed, 27 Sep 2017 07:15:32 +0000 (16:15 +0900)]
common: disable the PERFORMANCE_TEST configuration
There is no needs to enable PERFORMANCE_TEST.
Disabled the PERFORMANCE_TEST configuration.
Change-Id: I071a1d9402e807cb6b469119a169567a5b26891b
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Seung-Woo Kim [Wed, 27 Sep 2017 11:22:56 +0000 (20:22 +0900)]
build: remove duplicated config in Makefile
There is duplicated config in Makefile. Remove the duplicated
config to resolve following warning:
Makefile:1609: warning: overriding recipe for target 'sp7731gea_hd_config'
Makefile:1587: warning: ignoring old recipe for target 'sp7731gea_hd_config'
Change-Id: Icd68729e87de893f10a31c6f0e1d47faf0603248
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 16 Jun 2017 06:56:06 +0000 (15:56 +0900)]
tizen: thordown: fix to check partition size more than 4GB
The routine to check file size larger than partitione is introducetd,
but it only checks partition size with 32 bit variable, so partition
larger than 4GB is not properly checked. So this patch fixes to
check partition size with 64 bit for more than 4GB partition.
Change-Id: If22c12e9d0678ea571ca3c382b46f5ae93036025
Fixes:
cecbd73e488f ("tizen: thordown: fix to check larger file size than partition size")
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Gonzha Dmitriy Evgenevich [Wed, 31 May 2017 18:33:59 +0000 (21:33 +0300)]
packaging: Turn off ASan build
Turn off ASan in case of ASan build for u-boot-tm1 package
Change-Id: I1a3714f47eb14da53fac8a14e179d90ffa416b7f
Signed-off-by: Gonzha Dmitriy Evgenevich <d.gonzha@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Thu, 6 Apr 2017 01:06:13 +0000 (10:06 +0900)]
tizen: thordown: fix to check larger file size than partition size
If the file is larger than its mapped partition size, then it should
be failed to thor command. So, this patch fixes to check requested
file size.
Change-Id: I87a3c825138b93ebba961227e47a8cf600de602d
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 10 Feb 2017 05:06:40 +0000 (14:06 +0900)]
tizen: add recovery u-boot prompt command
This patch adds recovery command to u-boot prompt.
Change-Id: Ifeaef04ea27beef5d7e31ac0d85717fe4c89eeb1
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 10 Feb 2017 05:04:42 +0000 (14:04 +0900)]
tizen: add recovery boot mode
This patch adds recovery boot mode, in which mode, kernel image
is loaded from recovery partition and ramdisk image is loaded from
ramdisk2 partition. Also, it sets "bootmode=recovery" to bootargs of
kernel.
Change-Id: I5f6a024962a0d4744266763f7cddec8b6e4e2ea4
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 10 Feb 2017 04:59:26 +0000 (13:59 +0900)]
tizen: fix to load kernel image with partition information
This patch fixes to load kernel image with partition information
instead of hard coded block offset of emmc.
Change-Id: I4026c517a272e358acbd018473549c15689300ec
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 10 Feb 2017 04:15:09 +0000 (13:15 +0900)]
tizen: add ramdisk2 partition to default parition table
This patch adds ramdisk2 partition to default partition table to
flash ramdisk-recovery.img to the partition for recovery mode.
Change-Id: Ia6d1f78f14f40c83235af104c400af94552cb2f7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 25 Jan 2017 04:22:15 +0000 (13:22 +0900)]
tizen: tm1: enable ramdisk bootmode config option
This patch enables ramdisk bootmode config option for tm1 board.
Change-Id: I591324581500f9e10f2888f4c8bea46c3924bf10
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 25 Jan 2017 04:20:39 +0000 (13:20 +0900)]
tizen: add ramdisk bootmode with ramdisk config option
This patch adds ramdisk bootmode with ramdisk boot config option.
Change-Id: Ic9b571b4eb7c09805b7f567fa9ffa5ec08fe51de
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Wed, 25 Jan 2017 00:31:52 +0000 (09:31 +0900)]
tizen: add ramdisk1 partition to default partition table
This patch adds ramdisk1 partition to default partition table to
flash ramdisk.img to the partition.
Change-Id: I5aa9ec8b61f51af0806a6ebd97b3bc8bda1c77e7
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Fri, 13 Jan 2017 05:17:23 +0000 (14:17 +0900)]
packaging: remove To-Be-Unsupported macro
The tizen_target_name macro will be removed, so this patch removes
it.
Change-Id: I2b83e3dc6d7754ae875f31fc3a8345b472cf56e0
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Dongkyun, Son [Mon, 7 Nov 2016 08:42:50 +0000 (17:42 +0900)]
build: fix gcc6 build error
error: aliased to external symbol.
Change-Id: I722d0051211d1835d6d4d764a05d959f2c88d315
Signed-off-by: Dongkyun, Son <dongkyun.s@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Tom Rini [Mon, 29 Feb 2016 16:34:15 +0000 (11:34 -0500)]
compiler*.h: sync include/linux/compiler*.h with Linux 4.5-rc6
Copy these from Linux v4.5-rc6 tag.
This is needed so that we can keep up with newer gcc versions. Note
that we don't have the uapi/ hierarchy from the kernel so continue to
use <linux/types.h>
Signed-off-by: Tom Rini <trini@konsulko.com>
[backport from u-boot mainline for gcc6]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I21e3573bec8c826d4dfd4dc16d762f81e87be0c4
Hans de Goede [Sat, 7 Feb 2015 21:52:40 +0000 (22:52 +0100)]
Add linux/compiler-gcc5.h to fix builds with gcc5
Add linux/compiler-gcc5/h from the kernel sources at:
commit
5631b8fba640a4ab2f8a954f63a603fa34eda96b
Author: Steven Noonan <steven@uplinklabs.net>
Date: Sat Oct 25 15:09:42 2014 -0700
compiler/gcc4+: Remove inaccurate comment about 'asm goto' miscompiles
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
[backport from u-boot mainline for gcc6]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I04addcb7ccb452bc51e6b073e72cc570684e5bcc
Jeroen Hofstee [Thu, 18 Sep 2014 18:10:27 +0000 (20:10 +0200)]
compiler_gcc: prevent redefining attributes
The libc headers on FreeBSD and likely related projects as well contain an
header file, cdefs.h which provides similiar functionality as linux/compiler.h.
It provides compiler independent defines like __weak __packed, to allow
compiling with multiple compilers which might have a different syntax for such
extension.
Since that header file is included in multiple standard headers, like stddef.h
and stdarg.h, multiple definitions of those defines will be present if both are
included. When compiling u-boot the compiler will warn about it hundreds of
times since e.g. common.h will include both files indirectly.
commit
7ea50d52849fe8ffa5b5b74c979b60b1045d6fc9 "compiler_gcc: do not redefine
__gnu_attributes" prevented such redefinitions, but this was undone by commit
fb8ffd7cfc68b3dc44e182356a207d784cb30b34 "compiler*.h: sync
include/linux/compiler*.h with Linux 3.16".
Add the checks back where necessary to prevent such warnings.
As the original patch this checkpatch warning is ignored:
"WARNING: Adding new packed members is to be done with care"
Cc: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
Acked-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
[backport from u-boot mainline for gcc6]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I510e45c099dc0111a94c10035366675d94abdf3e
Masahiro Yamada [Wed, 3 Sep 2014 17:40:58 +0000 (02:40 +0900)]
compiler*.h: sync include/linux/compiler*.h with Linux 3.16
Copy them from Linux v3.16 tag.
My main motivation of this commit is to add compiler-clang.h.
Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Cc: Jeroen Hofstee <jeroen@myspectrum.nl>
[backport from u-boot mainline for gcc6]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I1874abe85a7ed2c228fee5f7ceae0fa3eccaf5da
Jeroen Hofstee [Sat, 10 Aug 2013 15:16:50 +0000 (17:16 +0200)]
compiler_gcc: do not redefine __gnu_attributes
gcc allows extensions to be non compiler specific by defining
__* macros for the attributes supported by gcc. Having a
different definition causes many warnings during the build
(cdefs.h on FreeBSD uses __attribute((__pure__)) where u-boot
uses __attribute__((pure)) for example). Do not redefine
these macros to suppress these warnings.
This patch ignores the checkpatch warning:
WARNING: __packed is preferred over __attribute__((packed))
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
[backport from u-boot mainline for gcc6]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I3ee9aa3b3732cc97b4b3305908fcf62ee86e2964
Scott McNutt [Fri, 23 Sep 2011 11:42:14 +0000 (11:42 +0000)]
Add missing header for gcc3
When include/linux/compiler.h is included, the associated gcc3
header is required for older build environments.
Signed-off-by: Scott McNutt <smcnutt@psyent.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
[backport from u-boot mainline for gcc6]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: I21ca3964ba7508c441582276120a9cf93425cf30
Seung-Woo Kim [Tue, 6 Sep 2016 01:35:49 +0000 (10:35 +0900)]
i2c: rename sc9630 i2c files without special whitespace character
sc9630 i2c driver is not really built from Makefile and it has
special whitespace character in the file name. So this patch just
renames the files.
Change-Id: I092f3351125f88fc6be1dbf20679946f374f2208
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Seung-Woo Kim [Tue, 6 Sep 2016 01:01:30 +0000 (10:01 +0900)]
change source file mode to 0644 instead of 0755
For source, exec permission is not required, so this patch changes
permission mode of source files to 0644 instead of 0755.
Change-Id: If900266b09e93d71397e71aa5f4a35565f5bd7c0
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Donghoon Shin [Tue, 6 Sep 2016 00:03:25 +0000 (09:03 +0900)]
tizen: tm1: change u-boot console prompt
This patch changes u-boot console prompt for tm1 because litmus auto
test system uses console prompt to recognize device type.
Change-Id: Ia3c264e87e95e507db8cf26632cb9cb3df1cc825
Signed-off-by: Donghoon Shin <dhs.shin@samsung.com>
Joonyoung Shim [Wed, 17 Feb 2016 05:00:53 +0000 (14:00 +0900)]
tizen: tm1: support thordown command from console
This will enable u-boot console mode with any key input from console
and support thordown command, then LITMUS auto test system can use
thordown command from u-boot prompt.
Change-Id: I4f0b98e60d7dcee74ceabc1d0de70cc22c7bf0d0
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Seung-Woo Kim [Thu, 4 Aug 2016 00:39:54 +0000 (09:39 +0900)]
packaging: exclude build except target TM1
This patch excludes build except target TM1.
Change-Id: I8ec9b2b943eaf2c6edfc12b9962640d67da33402
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Jaehoon Chung [Tue, 12 Apr 2016 07:40:01 +0000 (16:40 +0900)]
tizen: tm1: enter the download mode when usb is connected
When usb is connected, bootmode is charge mode.
So if enter the reboot download, it needs to check the charger mode.
And clear the inform3 register.
Change-Id: I5008a615d3cc24c7b579ec8a305131825281b35d
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Tue, 23 Feb 2016 08:07:56 +0000 (17:07 +0900)]
tizen: tm1: provide the reboot download
Provide the reboot download mode for thor.
Change-Id: Ie5b3cc5a3d0a56c74537300258461011b6219d76
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Jaehoon Chung [Mon, 22 Feb 2016 21:55:06 +0000 (06:55 +0900)]
mmc: card_sdio: fix the block capacity
User capacity is caculated with only card's register value.
It doesn't need to substract from user capacity to boot capacity.
Change-Id: Ia60647e25c37dc5e2a2863613c950a32d9d14333
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Joonyoung Shim [Tue, 17 Nov 2015 06:08:41 +0000 (15:08 +0900)]
spec: Fix URL site
Right URL is http://www.denx.de/wiki/U-Boot
Change-Id: I9deab4a33e27eec6107cb084777e3a4ec823426e
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Joonyoung Shim [Tue, 17 Nov 2015 05:21:34 +0000 (14:21 +0900)]
spec: fix badness problem by rpmlint
This fixes below badness by rpmlint in spec file.
E: summary-not-capitalized (Badness: 63)
E: non-standard-group (Badness: 200)
E: invalid-license (Badness: 200)
E: dir-or-file-in-tmp (Badness: 200)
Change-Id: I05df62d0e10e378ee80dfb76ce80504de66206c6
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Inki Dae [Mon, 16 Nov 2015 02:20:44 +0000 (11:20 +0900)]
spec: do not check target_name
Now public Tizen 3.0 doesn't support target name
so the relevant script should be removed to build
kernel.
Change-Id: Ief6bd559ab531b9e9861f4c7588b63a133420e40
Signed-off-by: Inki Dae <inki.dae@samsung.com>
jk7744.park [Sat, 24 Oct 2015 09:28:37 +0000 (18:28 +0900)]
tizen 2.4 release
Jeonghoon Jeon [Fri, 23 Oct 2015 09:43:34 +0000 (02:43 -0700)]
Initial empty repository