Re: [U-Boot] [PATCH 08/82] rtc: Use CONFIG_X86 instead of __I386__

2016-10-10 Thread Bin Meng
On Tue, Oct 11, 2016 at 11:15 AM, Bin Meng  wrote:
> On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass  wrote:
>> For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
>> the definition, but let's use CONFIG_X86 to be sure.
>>
>> Signed-off-by: Simon Glass 
>> ---
>>
>>  drivers/rtc/mc146818.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>
> Reviewed-by: Bin Meng 

applied to u-boot-x86, thanks!
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


Re: [U-Boot] [PATCH 08/82] rtc: Use CONFIG_X86 instead of __I386__

2016-10-10 Thread Bin Meng
On Mon, Sep 26, 2016 at 11:33 AM, Simon Glass  wrote:
> For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
> the definition, but let's use CONFIG_X86 to be sure.
>
> Signed-off-by: Simon Glass 
> ---
>
>  drivers/rtc/mc146818.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Bin Meng 
___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot


[U-Boot] [PATCH 08/82] rtc: Use CONFIG_X86 instead of __I386__

2016-09-25 Thread Simon Glass
For 64-bit x86, __I386__ should perhaps not be defined. It is not clear from
the definition, but let's use CONFIG_X86 to be sure.

Signed-off-by: Simon Glass 
---

 drivers/rtc/mc146818.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/mc146818.c b/drivers/rtc/mc146818.c
index da804d5..4df9eda 100644
--- a/drivers/rtc/mc146818.c
+++ b/drivers/rtc/mc146818.c
@@ -14,7 +14,7 @@
 #include 
 #include 
 
-#if defined(__I386__) || defined(CONFIG_MALTA)
+#if defined(CONFIG_X86) || defined(CONFIG_MALTA)
 #include 
 #define in8(p) inb(p)
 #define out8(p, v) outb(v, p)
-- 
2.8.0.rc3.226.g39d4020

___
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot