profile/mobile/platform/kernel/u-boot-tm1.git
7 years agoAdd linux/compiler-gcc5.h to fix builds with gcc5 78/104278/1
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

7 years agocompiler_gcc: prevent redefining attributes 77/104277/1
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

7 years agocompiler*.h: sync include/linux/compiler*.h with Linux 3.16 76/104276/1
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

7 years agocompiler_gcc: do not redefine __gnu_attributes 75/104275/1
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

7 years agoAdd missing header for gcc3 74/104274/1
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

8 years agoi2c: rename sc9630 i2c files without special whitespace character 91/86991/1 accepted/tizen_3.0.m2_mobile tizen_3.0.m2 accepted/tizen/3.0.m2/mobile/20170105.025928 accepted/tizen/3.0/mobile/20161015.034431 accepted/tizen/mobile/20160912.093255 submit/tizen/20160912.020407 submit/tizen_3.0.m2/20170104.093756 submit/tizen_3.0_mobile/20161015.000007
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>
8 years agochange source file mode to 0644 instead of 0755 82/86982/1
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>
8 years agotizen: tm1: change u-boot console prompt 79/86979/3
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>
8 years agotizen: tm1: support thordown command from console 57/86857/1
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>
8 years agopackaging: exclude build except target TM1 38/82538/2 accepted/tizen/mobile/20160809.232536 submit/tizen/20160809.043430 submit/tizen/20160809.063303
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>
8 years agotizen: tm1: enter the download mode when usb is connected 06/65706/3 accepted/tizen/mobile/20160715.075447 submit/tizen/20160715.064037
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>
8 years agotizen: tm1: provide the reboot download 84/60084/2 accepted/tizen/mobile/20160412.063948 submit/tizen/20160412.023908
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>
8 years agommc: card_sdio: fix the block capacity 45/60045/1
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>
8 years agospec: Fix URL site accepted/tizen/mobile/20151117.094125 submit/tizen/20151117.061401 submit/tizen_common/20160222.141210
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>
8 years agospec: fix badness problem by rpmlint
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>
8 years agospec: do not check target_name 85/51785/1 accepted/tizen/mobile/20151116.024905 submit/tizen/20151116.022633
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>
9 years agotizen 2.4 release accepted/tizen/mobile/20151112.232222 submit/tizen/20151112.080358
jk7744.park [Sat, 24 Oct 2015 09:28:37 +0000 (18:28 +0900)]
tizen 2.4 release

9 years agoInitial empty repository
Jeonghoon Jeon [Fri, 23 Oct 2015 09:43:34 +0000 (02:43 -0700)]
Initial empty repository