[U-Boot] [PATCH 1/4] s5p6442: Support Samsung s5p6442 SoC

Minkyu Kang promsoft at gmail.com
Wed Mar 31 03:42:12 CEST 2010


Dear Wolfgang Denk,

On 31 March 2010 06:00, Wolfgang Denk <wd at denx.de> wrote:
> Dear Joonyoung Shim,
>
> In message <4BB016DC.5000309 at samsung.com> you wrote:
>> This patch adds support s5p6442 SoC. The s5p6442 SoC is ARM1176
>> processor.
>>
>> Cc: Minkyu Kang <mk7.kang at samsung.com>
>> Cc: Kyungmin Park <kyungmin.park at samsung.com>
>> Signed-off-by: Joonyoung Shim <jy0922.shim at samsung.com>
> ...
>> +#define S5P6442_PWR_CFG                      0xE010C000
> ...
>> +#define S5P6442_EINT_WAKEUP_MASK     0xE010C004
>> +#define S5P6442_WAKEUP_MASK          0xE010C008
>> +#define S5P6442_PWR_MODE             0xE010C00C
>> +#define S5P6442_PWR_MODE_SLEEP               (1 << 2)
>> +#define S5P6442_NORMAL_CFG           0xE010C010
>> +#define S5P6442_IDLE_CFG             0xE010C020
>> +#define S5P6442_STOP_CFG             0xE010C030
>> +#define S5P6442_STOP_MEM_CFG         0xE010C034
>> +#define S5P6442_SLEEP_CFG            0xE010C040
>> +#define S5P6442_OSC_FREQ             0xE010C100
>> +#define S5P6442_OSC_STABLE           0xE010C104
>> +#define S5P6442_PWR_STABLE           0xE010C108
>> +#define S5P6442_MTC_STABLE           0xE010C110
>> +#define S5P6442_CLAMP_STABLE         0xE010C114
>> +#define S5P6442_WAKEUP_STAT          0xE010C200
>> +#define S5P6442_OTHERS                       0xE010E000
>> +#define S5P6442_OTHERS_SYSCON_INT_DISABLE    (1 << 0)
>> +#define S5P6442_MIE_CONTROL          0xE010E800
>> +#define S5P6442_HDMI_CONTROL         0xE010E804
>> +#define S5P6442_USB_PHY_CON          0xE010E80C
>> +#define S5P6442_DAC_CONTROL          0xE010E810
>> +#define S5P6442_MIPI_DPHY_CONTROL    0xE010E814
>> +#define S5P6442_ADC_CONTROL          0xE010E818
>> +#define S5P6442_PS_HOLD_CONTROL              0xE010E81C
>> +#define S5P6442_PS_HOLD_DIR_OUTPUT   (1 << 9)
>> +#define S5P6442_PS_HOLD_DIR_INPUT    (0 << 9)
>> +#define S5P6442_PS_HOLD_DATA_HIGH    (1 << 8)
>> +#define S5P6442_PS_HOLD_DATA_LOW     (0 << 8)
>> +#define S5P6442_PS_HOLD_OUT_EN               (1 << 0)
>> +#define S5P6442_INFORM0                      0xE010F000
>> +#define S5P6442_INFORM1                      0xE010F004
>> +#define S5P6442_INFORM2                      0xE010F008
>> +#define S5P6442_INFORM3                      0xE010F00C
>> +#define S5P6442_INFORM4                      0xE010F010
>> +#define S5P6442_INFORM5                      0xE010F014
>> +#define S5P6442_INFORM6                      0xE010F018
>> +#define S5P6442_INFORM7                      0xE010F01C
>
> Please use C structs to describe these registers.
>

These registers are used at asm code.
So, can't make C struct.
But, It seemed to there are defined unused registers also.

Joonyoung,
Please remove unused defines.

Thanks
Minkyu Kang
-- 
from. prom.
www.promsoft.net


More information about the U-Boot mailing list