[U-Boot] [PATCH 0/3] Add i2c TPM driver

2011-12-13 Thread Che-Liang Chiou
This patchset adds an i2c bus based TPM driver. Che-Liang Chiou (3): tpm: Rename generic_lpc_tpm to tpm_tis_lpc tpm: Add i2c TPM driver tpm: Update README Makefile |2 +- README | 18 +- drivers/tpm

[U-Boot] [PATCH 1/3] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2011-12-13 Thread Che-Liang Chiou
The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Che-Liang Chiou --- Makefile |2 +- README |5 - drivers/tpm/Makefile |

[U-Boot] [PATCH 3/3] tpm: Update README

2011-12-13 Thread Che-Liang Chiou
Document TPM_TIS_I2C-related config options in README. Signed-off-by: Che-Liang Chiou --- README | 13 + 1 files changed, 13 insertions(+), 0 deletions(-) diff --git a/README b/README index 434384c..badb834 100644 --- a/README +++ b/README @@ -1076,6 +1076,19 @@ The following

[U-Boot] [PATCH 2/3] tpm: Add i2c TPM driver

2011-12-13 Thread Che-Liang Chiou
Peter Huewe implemented the original driver; this patch only reorganizes the code structure of the driver, and does not make logical changes. tpm.c implements the interface defined in tpm.h based on underlying LPC or i2C TPM driver. tpm.c and the underlying driver communicate throught tpm_private

[U-Boot] [PATCH v1 0/2] Add i2c TPM driver

2011-12-14 Thread Che-Liang Chiou
This patchset adds an i2c bus based TPM driver. Changes in v1: - Update s-o-b Peter Huewe's email address - Squash patch #3 into patch #2 Che-Liang Chiou (2): tpm: Rename generic_lpc_tpm to tpm_tis_lpc tpm: Add i2c TPM driver Makefile |

[U-Boot] [PATCH v1 1/2] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2011-12-14 Thread Che-Liang Chiou
The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Peter Huewe Signed-off-by: Che-Liang Chiou Acked-by: Mike Frysinger --- Changes in v1: - Update s-o-b Peter Huewe's email address Makefile |2

[U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-14 Thread Che-Liang Chiou
tpm_private.h. This patch is tested on a tegra2-based machine, where the i2c driver is not upstreamed yet. Note: Merging the LPC driver with tpm.c is left to future patches. Signed-off-by: Peter Huewe Signed-off-by: Che-Liang Chiou --- Changes in v1: - Squash patch #3 into patch #2 README

[U-Boot] [PATCH v2 0/2] Add i2c TPM driver

2011-12-19 Thread Che-Liang Chiou
This patchset adds an i2c bus based TPM driver. Changes in v1: - Update s-o-b Peter Huewe's email address - Squash patch #3 into patch #2 Changes in v2: - Style improvements Che-Liang Chiou (2): tpm: Rename generic_lpc_tpm to tpm_tis_lpc tpm: Add i2c TPM driver Mak

[U-Boot] [PATCH v2 1/2] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2011-12-19 Thread Che-Liang Chiou
The new name is more aligned with Linux kernel's naming of TPM driver. Signed-off-by: Peter Huewe Signed-off-by: Che-Liang Chiou Acked-by: Mike Frysinger --- Changes in v1: - Update s-o-b Peter Huewe's email address Makefile |2

[U-Boot] [PATCH v2 2/2] tpm: Add i2c TPM driver

2011-12-19 Thread Che-Liang Chiou
tpm_private.h. This patch is tested on a tegra2-based machine, where the i2c driver is not upstreamed yet. Note: Merging the LPC driver with tpm.c is left to future patches. Signed-off-by: Peter Huewe Signed-off-by: Che-Liang Chiou --- Changes in v1: - Squash patch #3 into patch #2 Changes in v2

Re: [U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-19 Thread Che-liang Chiou
On Sat, Dec 17, 2011 at 1:21 AM, Mike Frysinger wrote: > On Wednesday 14 December 2011 03:48:24 Che-Liang Chiou wrote: >> --- /dev/null >> +++ b/drivers/tpm/tpm.c >> >> +int tis_sendrecv(const uint8_t *sendbuf, size_t send_size, uint8_t >> *recv

Re: [U-Boot] [PATCH v1 2/2] tpm: Add i2c TPM driver

2011-12-19 Thread Che-liang Chiou
On Sun, Dec 18, 2011 at 4:33 AM, Wolfgang Denk wrote: > Dear Che-Liang Chiou, > > In message <1323852504-19954-3-git-send-email-clch...@chromium.org> you wrote: >> Peter Huewe implemented the original driver; this patch only reorganizes >> the code structure of th

Re: [U-Boot] [PATCH v1 1/2] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2011-12-19 Thread Che-liang Chiou
On Sun, Dec 18, 2011 at 4:35 AM, Wolfgang Denk wrote: > Dear Che-Liang Chiou, > > In message <1323852504-19954-2-git-send-email-clch...@chromium.org> you wrote: >> The new name is more aligned with Linux kernel's naming of TPM driver. >> >> Signed-off-by: Pe

Re: [U-Boot] [PATCH v1 1/2] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2011-12-20 Thread Che-liang Chiou
On Mon, Dec 19, 2011 at 7:38 PM, Wolfgang Denk wrote: > Dear Che-liang Chiou, > > In message > you > wrote: >> >> > Should we not rather remove all this dead code again? >> > >> > Until today there are no users for this code in mainline, and no

Re: [U-Boot] [PATCH v1 1/2] tpm: Rename generic_lpc_tpm to tpm_tis_lpc

2011-12-20 Thread Che-liang Chiou
On Tue, Dec 20, 2011 at 7:43 PM, Wolfgang Denk wrote: > Dear Che-liang Chiou, > > In message > you > wrote: >> >> The board that I test the TPM driver is Seaboard (a tegra2-based >> board). The config settings enabling TPM are literally pasted as >> foll

[U-Boot] [PATCH] arm: tegra2: fix out-of-tree build

2011-08-23 Thread Che-Liang Chiou
adds explicit mkdir's to the Makefiles in question, and verifies that out-of-tree build is working. Signed-off-by: Che-Liang Chiou Cc: Albert Aribaud --- board/nvidia/harmony/Makefile |4 board/nvidia/seaboard/Makefile |4 2 files changed, 8 insertions(+), 0 dele

Re: [U-Boot] [PATCH] arm: tegra2: fix out-of-tree build

2011-08-23 Thread Che-liang Chiou
Hi Anton, Thanks for comments. Replied below. Regards, Che-Liang On Wed, Aug 24, 2011 at 1:01 AM, Anton Staaf wrote: > On Tue, Aug 23, 2011 at 3:03 AM, Che-Liang Chiou wrote: >> The out-of-tree build fails because the Makefiles in question depend on >> source files of another d

Re: [U-Boot] [PATCH v3] Add 'sf update' command to do smart SPI flash update

2011-08-23 Thread Che-liang Chiou
Hi Simon, I have a dumb question: How did you make u-boot run native under Linux? Did you mock out all platform functions? Or did you bundle u-boot with a emulator? Regards, Che-Liang On Wed, Aug 24, 2011 at 6:16 AM, Mike Frysinger wrote: > On Tuesday, August 23, 2011 18:01:34 Simon Glass wrote

[U-Boot] [PATCH] arm: add 64-64 bit divider

2011-08-31 Thread Che-Liang Chiou
) { uint64_t a, b, q, r; while (scanf("%llx %llx %llx %llx", &a, &b, &q, &r) > 0) printf("%016llx %016llx %016llx %016llx\n", a, b, a / b, a % b); return 0; } Signed-off-by: Che-Liang Chiou Cc: Albert Aribaud --- This patch is alos tested with `

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-09-01 Thread Che-liang Chiou
on our decisions, I will rewrite (or abandon) this patch accordingly. Regards, Che-Liang On Thu, Sep 1, 2011 at 4:03 AM, Wolfgang Denk wrote: > Dear Che-Liang Chiou, > > In message <1314787130-1043-1-git-send-email-clch...@chromium.org> you wrote: >> This patch adds a 64-64

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-09-01 Thread Che-liang Chiou
Hi Marek, I will abandon this patch and submit a new patch that is adapted from do_div() and lib64.c of the Linux kernel. Does this sound okay to you? Regards, Che-Liang On Thu, Sep 1, 2011 at 6:16 PM, Marek Vasut wrote: > On Thursday, September 01, 2011 12:09:18 PM Che-liang Chiou wr

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-09-01 Thread Che-liang Chiou
Hi Marek, do_div() and lib/div64.c of linux kernel has been ported to U-Boot since Oct, 2006 (this date is the earliest record that I can find; see commit 7b64fef3). Regards, Che-Liang On Thu, Sep 1, 2011 at 6:42 PM, Marek Vasut wrote: > On Thursday, September 01, 2011 12:30:47 PM Che-li

Re: [U-Boot] [PATCH] arm: add 64-64 bit divider

2011-09-01 Thread Che-liang Chiou
Dear Wolfgang, I am convinced that a 64-64 bit divider (this patch) is not needed. Is there any way that we could mark a patch "abandon"? Regards, Che-Liang On Thu, Sep 1, 2011 at 9:07 PM, Wolfgang Denk wrote: > Dear Che-liang Chiou, > > In message > you > wrot

Re: [U-Boot] [PATCH] Fix variable flavor in examples/standalone/Makefile

2011-04-13 Thread Che-liang Chiou
Dear Wolfgang Denk, I checked out the master of the git repo of that time (Feb 22?). Regards, Che-Liang On Thu, Apr 14, 2011 at 4:45 AM, Wolfgang Denk wrote: > Dear Che-liang Chiou, > > In message you > wrote: >> >> On Tue, Feb 22, 2011 at 3:33 PM, Wolfgang Denk

Re: [U-Boot] [PATCH] Fix variable flavor in examples/standalone/Makefile

2011-05-12 Thread Che-liang Chiou
Thanks, Wolfgang. On Fri, May 13, 2011 at 4:30 AM, Wolfgang Denk wrote: > Dear Che-liang Chiou, > > In message you > wrote: >> GNU Makefile have two flavors of variables, recursively expanded that is >> defined by using '=', and simply expanded that is defin

Re: [U-Boot] [PATCH V5 3/4] font: split font data from video_font.h

2011-10-30 Thread Che-liang Chiou
Hi, On Mon, Oct 31, 2011 at 2:33 AM, Anatolij Gustschin wrote: > Please next time additionally use '-C' Option for 'git format-patch ...' Thanks for the advice. I will add -C option. Regards, Che-Liang ___ U-Boot mailing list U-Boot@lists.denx.de http:

Re: [U-Boot] [PATCH v2 0/2] Add i2c TPM driver

2012-03-19 Thread Che-liang Chiou
On Mon, Mar 19, 2012 at 5:00 AM, Wolfgang Denk wrote: > Dear Che-Liang Chiou, > > In message <20111219112511.1eddc135a...@gemini.denx.de> I wrote: >> >> In message <1324288224-5075-1-git-send-email-clch...@chromium.org> you wrote: >> > >>

[U-Boot] [PATCH] examples: api: allow build with private libgcc

2011-09-28 Thread Che-Liang Chiou
CONFIG_NET_MULTI Signed-off-by: Che-Liang Chiou --- Makefile | 16 ++-- examples/api/Makefile |4 +--- 2 files changed, 11 insertions(+), 9 deletions(-) diff --git a/Makefile b/Makefile index dfe939f..550088f 100644 --- a/Makefile +++ b/Makefile @@ -137,9 +137,11

[U-Boot] [PATCH 0/2] api: export LCD and video to external apps

2011-10-04 Thread Che-Liang Chiou
This patch set exports LCD and video clearing and bitmap-rendering on screen functions to external apps, and provides a unified interface of accessing them. Che-Liang Chiou (2): lcd: video: add clear and draw bitmap declaration api: export LCD and video to external apps api/Makefile

[U-Boot] [PATCH 1/2] lcd: video: add clear and draw bitmap declaration

2011-10-04 Thread Che-Liang Chiou
The functions for clearing and drawing bitmaps on the screen were not exposed publicly and are made public in this patch in preparation for implementing the display interface of api_public.h. Signed-off-by: Che-Liang Chiou --- common/lcd.c| 15 +-- include/lcd.h |2

[U-Boot] [PATCH 2/2] api: export LCD and video to external apps

2011-10-04 Thread Che-Liang Chiou
. Signed-off-by: Che-Liang Chiou --- api/Makefile |3 +- api/api.c| 51 ++ api/api_display.c| 85 ++ api/api_private.h|4 ++ examples/api/demo.c | 28 examples

[U-Boot] [PATCH] cmd_time: add time command

2011-10-05 Thread Che-Liang Chiou
The 'time' command runs and reports execution time of commands. Sameple usage: u-boot# time crc 0x1000 1000 CRC32 for 1000 ... 1fff ==> ae94dc4b time: 0.004 seconds, 4 ticks Signed-off-by: Che-Liang Chiou --- README

[U-Boot] [PATCH V2] cmd_time: add time command

2011-10-06 Thread Che-Liang Chiou
The 'time' command runs and reports execution time of commands. Sample usage: u-boot# time crc 0x1000 1000 CRC32 for 1000 ... 1fff ==> ae94dc4b time: 0.004 seconds, 4 ticks Signed-off-by: Che-Liang Chiou --- Changes Since V1 - Sw

Re: [U-Boot] [PATCH] cmd_time: add time command

2011-10-06 Thread Che-liang Chiou
Hi Mike, Thanks for comments. Reply inlined. On Thu, Oct 6, 2011 at 1:24 AM, Mike Frysinger wrote: > On Wednesday 05 October 2011 03:09:15 Che-Liang Chiou wrote: >> The 'time' command runs and reports execution time of commands. > > cool > >> Sameple usage: &g

[U-Boot] [PATCH V2 0/2] api: export LCD and video to external apps

2011-10-07 Thread Che-Liang Chiou
This patch set exports LCD and video clearing and bitmap-rendering on screen functions to external apps, and provides a unified interface of accessing them. Che-Liang Chiou (2): lcd: video: add clear and draw bitmap declaration api: export LCD and video to external apps api/Makefile

[U-Boot] [PATCH V2 1/2] lcd: video: add clear and draw bitmap declaration

2011-10-07 Thread Che-Liang Chiou
The functions for clearing and drawing bitmaps on the screen were not exposed publicly and are made public in this patch in preparation for implementing the display interface of api_public.h. Signed-off-by: Che-Liang Chiou --- Changes since V1 Fix style errors common/lcd.c| 16

[U-Boot] [PATCH V2 2/2] api: export LCD and video to external apps

2011-10-07 Thread Che-Liang Chiou
. Signed-off-by: Che-Liang Chiou --- Changes since V1 Fix style errors api/Makefile |3 +- api/api.c| 51 + api/api_display.c| 86 ++ api/api_private.h|4 ++ examples/api/demo.c

Re: [U-Boot] [PATCH 2/2] api: export LCD and video to external apps

2011-10-07 Thread Che-liang Chiou
Dear Wolfgang Denk, On Fri, Oct 7, 2011 at 2:33 AM, Wolfgang Denk wrote: > Dear Che-Liang Chiou, > > In message > > you wrote: >> This patch exports LCD and video information and bitmap-rendering >> functions to external apps. >> >> This patch is test

[U-Boot] [PATCH V3] cmd_time: add time command

2011-10-07 Thread Che-Liang Chiou
The 'time' command runs and reports execution time of commands. Sample usage: u-boot# time crc 0x1000 1000 CRC32 for 1000 ... 1fff ==> ae94dc4b time: 0.004 seconds, 4 ticks Signed-off-by: Che-Liang Chiou --- Changes since

Re: [U-Boot] [PATCH 2/2] api: export LCD and video to external apps

2011-10-07 Thread Che-liang Chiou
, 2011 at 5:05 PM, Wolfgang Denk wrote: > Dear Che-liang Chiou, > > In message > you > wrote: >> >> >> +       ub_display_clear(); >> > >> > What happens here if no display is available? >> >> It is equivalent to a no-op. Or do

Re: [U-Boot] [PATCH V2 2/2] api: export LCD and video to external apps

2011-10-17 Thread Che-liang Chiou
Hi Anatolij, Thanks for testing this patch. Please see below. On Tue, Oct 18, 2011 at 5:13 AM, Anatolij Gustschin wrote: > Hi, > > thanks for the patch and style fixes! I've some comments on it. > Please see below. > > On Fri,  7 Oct 2011 16:28:12 +0800 > Che-Liang Chi

[U-Boot] [PATCH V2] examples: api: allow build with private libgcc

2011-10-17 Thread Che-Liang Chiou
CONFIG_NET_MULTI Signed-off-by: Che-Liang Chiou Acked-by: Mike Frysinger --- Changes in V2 Rebase to ToT Makefile | 18 +- examples/api/Makefile |4 +--- 2 files changed, 10 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index e9d75f8..26956ae

[U-Boot] [PATCH V2] examples: api: allow build with private libgcc

2011-10-18 Thread Che-Liang Chiou
CONFIG_NET_MULTI Signed-off-by: Che-Liang Chiou Acked-by: Mike Frysinger --- Sorry, please ignore the previous V2 patch. I missed to git-add a couple of lines to that patch. Changes in V2 Rebase to ToT Makefile | 22 +- examples/api/Makefile |4 +--- 2 files

Re: [U-Boot] [PATCH V2 2/2] api: export LCD and video to external apps

2011-10-18 Thread Che-liang Chiou
Hi Anatolij, On Tue, Oct 18, 2011 at 3:17 PM, Anatolij Gustschin wrote: > Hi, > > On Tue, 18 Oct 2011 14:12:59 +0800 > Che-liang Chiou wrote: > ... >> > Many boards defining CONFIG_LCD also define CONFIG_LCD_LOGO. >> > Enabling CONFIG_API for such board configu

[U-Boot] [PATCH V3 0/4] api: export LCD and video to external apps

2011-10-18 Thread Che-Liang Chiou
This patch set exports LCD and video clearing and bitmap-rendering on screen functions to external apps, and provides a unified interface of accessing them. Che-Liang Chiou (4): lcd: video: add clear and draw bitmap declaration tools: logo: add static and unused to bmp arrays video: add

[U-Boot] [PATCH V3 1/4] lcd: video: add clear and draw bitmap declaration

2011-10-18 Thread Che-Liang Chiou
The functions for clearing and drawing bitmaps on the screen were not exposed publicly and are made public in this patch in preparation for implementing the display interface of api_public.h. Signed-off-by: Che-Liang Chiou --- Changes in V3 Rebase to ToT Changes in V2 Fix style errors

[U-Boot] [PATCH V3 2/4] tools: logo: add static and unused to bmp arrays

2011-10-18 Thread Che-Liang Chiou
__attribute__((unused)) to the array definitions so that bmp_logo.h can be included multiple times, and these arrays is used in only one inclusion (lcd.c). Signed-off-by: Che-Liang Chiou --- Changes in V3 Add to the patch set tools/bmp_logo.c |6 -- 1 files changed, 4 insertions(+), 2

[U-Boot] [PATCH V3 3/4] video: add access to GraphicDevice struct

2011-10-18 Thread Che-Liang Chiou
x27;s responsibility to make sure that the video device is properly initialized. Signed-off-by: Che-Liang Chiou --- Changes in V3 Add to the patch set board/eltec/mhpc/mhpc.c |7 +++ drivers/video/ati_radeon_fb.c |5 + drivers/video/ct69000.c |5 + drivers/video/fsl_diu

[U-Boot] [PATCH V3 4/4] api: export LCD and video to external apps

2011-10-18 Thread Che-Liang Chiou
. Signed-off-by: Che-Liang Chiou --- Changes in V3 Rebase to ToT Changes in V2 Fix style errors api/Makefile |3 +- api/api.c| 51 ++ api/api_display.c| 97 ++ api/api_private.h

[U-Boot] [PATCH V4 0/3] api: export LCD and video to external apps

2011-10-19 Thread Che-Liang Chiou
This patch set exports LCD clearing and bitmap-rendering on screen functions to external apps, and provides a unified interface of accessing them. Che-Liang Chiou (3): lcd: add clear and draw bitmap declaration tools: logo: add static and unused to bmp arrays api: export LCD device to

[U-Boot] [PATCH V4 1/3] lcd: add clear and draw bitmap declaration

2011-10-19 Thread Che-Liang Chiou
The functions for clearing and drawing bitmaps on the screen were not exposed publicly and are made public in this patch in preparation for implementing the display interface of api_public.h. Signed-off-by: Che-Liang Chiou --- Changes in V4 Remove support of video device, which is untested

[U-Boot] [PATCH V4 2/3] tools: logo: add static and unused to bmp arrays

2011-10-19 Thread Che-Liang Chiou
__attribute__((unused)) to the array definitions so that bmp_logo.h can be included multiple times, and these arrays is used in only one inclusion (lcd.c). Signed-off-by: Che-Liang Chiou --- Changes in V4 None Changes in V3 Add to the patch set tools/bmp_logo.c |6 -- 1 files changed

[U-Boot] [PATCH V4 3/3] api: export LCD device to external apps

2011-10-19 Thread Che-Liang Chiou
This patch exports LCD info-query and bitmap-rendering functions to external apps. This patch is tested on a Seaboard. Because the LCD driver is not yet upstreamed, the test was done in a local downstream repo. Signed-off-by: Che-Liang Chiou --- Changes in V4 Remove support of video device

Re: [U-Boot] [PATCH V3 4/4] api: export LCD and video to external apps

2011-10-19 Thread Che-liang Chiou
38 +0800 > Che-Liang Chiou wrote: > ... >> +int display_get_info(int type, struct display_info *di) >> +{ >> +#if defined(CONFIG_VIDEO) || defined(CONFIG_CFB_CONSOLE) >> +     GraphicDevice *gdev; >> +#endif >> + >> +     switch (type) { >> +  

[U-Boot] [PATCH 0/2] api: extend accessible set of block device attributes

2011-10-20 Thread Che-Liang Chiou
struct device_info in api_public.h defined its own subset of attributes of block_dev_desc, which limits the capability of external apps. This patch set let external apps access the same set of block device attributes as U-Boot. Che-Liang Chiou (2): Flatten and solidify block_dev_desc layout

[U-Boot] [PATCH 1/2] Flatten and solidify block_dev_desc layout

2011-10-20 Thread Che-Liang Chiou
block_dev_desc layout would be an invariant with respect to configurations. Doing so would waste a few extra bytes per struct block_dev_desc, which I believe is not critical. Signed-off-by: Che-Liang Chiou --- disk/part_dos.c |2 +- disk/part_efi.c |4 +--- drivers/mmc/mmc.c |4

[U-Boot] [PATCH 2/2] api: storage: Share attributes with block_dev_desc

2011-10-20 Thread Che-Liang Chiou
compared to U-Boot. The export.h and _export.h have somewhat addressed the same issue. That is, sharing declarations between U-Boot and external apps. Signed-off-by: Che-Liang Chiou --- api/api_storage.c| 17 +++-- examples/api/demo.c | 15 +-- include

[U-Boot] [PATCH 1/2] Flatten and solidify block_dev_desc layout

2011-10-21 Thread Che-Liang Chiou
block_dev_desc layout would be an invariant with respect to configurations. Doing so would waste a few extra bytes per struct block_dev_desc, which I believe is not critical. Signed-off-by: Che-Liang Chiou --- Fix a minor checkpatch violation. disk/part_dos.c |2 +- disk/part_efi.c |4

[U-Boot] [PATCH V5 0/4] export LCD device to external apps

2011-10-21 Thread Che-Liang Chiou
This patch set exports LCD clearing and bitmap-rendering on screen functions to external apps, and provides a unified interface of accessing them. Che-Liang Chiou (4): lcd: add clear and draw bitmap declaration tools: logo: split bmp arrays from bmp_logo.h font: split font data from

[U-Boot] [PATCH V5 2/4] tools: logo: split bmp arrays from bmp_logo.h

2011-10-21 Thread Che-Liang Chiou
arrays in another header bmp_logo_data.h and in bmp_logo.h only declaring these arrays. Signed-off-by: Che-Liang Chiou --- Changes in V5 Split bmp arrays from bmp_logo.h to bmp_logo_data.h Changes in V4 None Changes in V3 Add to the patch set Makefile|1 + common

[U-Boot] [PATCH V5 1/4] lcd: add clear and draw bitmap declaration

2011-10-21 Thread Che-Liang Chiou
The functions for clearing and drawing bitmaps on the screen were not exposed publicly and are made public in this patch in preparation for implementing the display interface of api_public.h. Signed-off-by: Che-Liang Chiou --- Changes in V5 Remove inline extern declaration from cmd_bmp.c

[U-Boot] [PATCH V5 4/4] api: export LCD device to external apps

2011-10-21 Thread Che-Liang Chiou
This patch exports LCD info-query and bitmap-rendering functions to external apps. This patch is tested on a Seaboard. Because the LCD driver is not yet upstreamed, the test was done in a local downstream repo. Signed-off-by: Che-Liang Chiou --- Changes in V5 Clean up logic Changes in V4

[U-Boot] [PATCH V5 1/4] lcd: add clear and draw bitmap declaration

2011-10-21 Thread Che-Liang Chiou
The functions for clearing and drawing bitmaps on the screen were not exposed publicly and are made public in this patch in preparation for implementing the display interface of api_public.h. Signed-off-by: Che-Liang Chiou --- Changes in V5 Remove inline extern declaration from cmd_bmp.c

Re: [U-Boot] [PATCH 1/2] Flatten and solidify block_dev_desc layout

2011-10-23 Thread Che-liang Chiou
Dear Wolfgang Denk, I guess I have to put this patchset on hold. I will get you back if we could proceed with this patchset. Regards, Che-Liang On Sat, Oct 22, 2011 at 3:09 AM, Wolfgang Denk wrote: > Dear Che-Liang Chiou, > > In message <1319178708-10881-2-git-send-email-clch...@

Re: [U-Boot] [PATCH 0/2] api: extend accessible set of block device attributes

2011-10-23 Thread Che-liang Chiou
Hi Detlev, Oops, I did not know it is intentionally to keep the external apps API as it is now. I am working on an open source secure bootloader based on U-Boot. Mostly I wrote boot logic (by boot logic I mean prompting user and listing available devices sort of things). If you see U-Boot as a pl

[U-Boot] rsa_verify calls fdt_next_node with a node offset from different device tree blob

2016-12-24 Thread Che-Liang Chiou
Hi Simon, I notice one thing that I am curious about. At v2016.11, in lib/rsa/rsa-verify.c:rsa_verify function: * The sig_node offset is computed from fdt_blob (at line 180): sig_node = fdt_subnode_offset(blob, 0, FIT_SIG_NODENAME); * At the end of the rsa_verify function, sig_node is applied to

[U-Boot] [PATCH] tpm: Add TPM command library and utility commands

2013-02-08 Thread Che-Liang Chiou
_define d 0x1001 0x1 $ tpmutil nv_write d 0x1001 0 And then increment the counter by one: $ tpmutil nv_read d 0x1001 i $ setexpr.l i $i + 1 $ tpmutil nv_write d 0x1001 $i Signed-off-by: Che-Liang Chiou --- common/cmd_tpm.c | 732 +++--- include/{tpm.

[U-Boot] [PATCH v2] tpm: Add TPM command library

2013-02-14 Thread Che-Liang Chiou
e d 0x1001 0x1 $ tpm nv_write d 0x1001 0 And then increment the counter by one: $ tpm nv_read d 0x1001 i $ setexpr.l i $i + 1 $ tpm nv_write d 0x1001 $i Signed-off-by: Che-Liang Chiou --- common/cmd_tpm.c | 709 +++ include/{tpm.h => tis.h}

[U-Boot] [PATCH v3] tpm: Add TPM command library

2013-02-28 Thread Che-Liang Chiou
e d 0x1001 0x1 $ tpm nv_write d 0x1001 0 And then increment the counter by one: $ tpm nv_read d 0x1001 i $ setexpr.l i $i + 1 $ tpm nv_write d 0x1001 $i Signed-off-by: Che-Liang Chiou --- Changes in v3: - Add check of TPM response code Changes in v2: - Merge tpm_util into tpm common/cmd

Re: [U-Boot] [PATCH v2] tpm: Add TPM command library

2013-02-28 Thread Che-liang Chiou
t; to use > a well known UMA which seems to be too stupid to keep lines of text > without additional > word wraps...) > >> -Original Message- >> From: u-boot-boun...@lists.denx.de >> [mailto:u-boot-boun...@lists.denx.de] On Behalf Of Che-Liang Chiou >

Re: [U-Boot] [PATCH v6 1/5] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-06-12 Thread Che-liang Chiou
Acked-by: Che-Liang Chiou On Wed, Jun 12, 2013 at 1:08 AM, wrote: > From: Reinhard Pfau > > Extend the tpm library with support for single authorized (AUTH1) commands > as specified in the TCG Main Specification 1.2. (The internally used helper > functions are implemented in

Re: [U-Boot] [PATCH 1/6] tpm: add AUTH1 cmds for LoadKey2 and GetPubKey

2013-04-22 Thread Che-liang Chiou
Acked-by: Che-Liang Chiou On Mon, Apr 22, 2013 at 4:06 AM, Dirk Eibach wrote: > From: Reinhard Pfau > > Extend the tpm library with support for single authorized (AUTH1) commands > as specified in the TCG Main Specification 1.2. (The internally used helper > functions are imple

Re: [U-Boot] [PATCH 6/7] lcd: Implement RLE8 bitmap decoding

2012-10-01 Thread Che-liang Chiou
Acked-by: Che-Liang Chiou On Fri, Sep 28, 2012 at 6:11 PM, Simon Glass wrote: > From: Tom Wai-Hong Tam > > Add support for drawing compressed RLE8 bitmaps. > > Reference: http://www.digicamsoft.com/bmp/bmp.html > > Signed-off-by: Che-Liang Chiou > Signed-off-by: Tom Wa

Re: [U-Boot] [PATCH] cmd_time: merge run_command_and_time_it with cmd_process

2012-12-03 Thread Che-liang Chiou
Acked-by: Che-Liang Chiou On Mon, Dec 3, 2012 at 8:23 AM, Richard Genoud wrote: > 2012/12/3 Stefan Roese : >>> @@ -543,7 +543,9 @@ enum command_ret_t cmd_process(int flag, int argc, char >>> * const argv[], >>> >>> /* If OK so far, t

Re: [U-Boot] [PATCHv2] cmd_time: merge run_command_and_time_it with cmd_process

2012-12-03 Thread Che-liang Chiou
Acked-By: Che-Liang Chiou On Mon, Dec 3, 2012 at 8:28 AM, Richard Genoud wrote: > As far as every arch has a get_timer function, > run_command_and_time_it code can now disappear. > > Signed-off-by: Richard Genoud > --- > common/cmd_time.c | 33 ++---

Re: [U-Boot] [PATCH 09/10] api/api_display: use the getters for console size info

2013-01-15 Thread Che-liang Chiou
Acked-by: Che-Liang Chiou On Sat, Jan 12, 2013 at 2:07 PM, Jeroen Hofstee wrote: > cc: Che-Liang Chiou > Signed-off-by: Jeroen Hofstee > --- > api/api_display.c |4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/api/api_display.c b/api/

Re: [U-Boot] Googlers please reply: commiters in U-Boot

2013-01-15 Thread Che-liang Chiou
I work for Google and my patches signed by clch...@chromium.org come from me while I work for Google. On Sat, Jan 12, 2013 at 9:20 AM, Simon Glass wrote: > Hi, > > You are being copied because you have written U-Boot code which is now > in mainline. > > The chromium.org domain does not automatica

[U-Boot] [PATCH] Fix variable flavor in examples/standalone/Makefile

2011-02-21 Thread Che-liang Chiou
GNU Makefile have two flavors of variables, recursively expanded that is defined by using '=', and simply expanded that is defined by using ':='. The bug is caused by using recursively expanded flavor for BIN and SREC. As you can see below, they are prepended by $(obj) twice. We can reproduce thi

Re: [U-Boot] [PATCH] Fix variable flavor in examples/standalone/Makefile

2011-02-22 Thread Che-liang Chiou
Dear Wolfgang Denk, On Tue, Feb 22, 2011 at 3:33 PM, Wolfgang Denk wrote: > In message you > wrote: >> The bug is caused by using recursively expanded flavor for BIN and SREC. > You wrote "The bug".  How does this bug manifest in U-Boot?  For which > configuration do you see issues? The bug I