diff options
author | Lucas Stach <dev@lynxeye.de> | 2013-06-30 23:08:47 +0200 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2013-07-02 08:36:09 +0200 |
commit | acc791fb107845f0a6e44ae2e1df392963950243 (patch) | |
tree | 50d005e25ba1c2fe2d4818c9912e86fa433ea4ab /arch/arm/mach-tegra/include/mach/tegra20-car.h | |
parent | 10a06ed554cc6599b862e49885d731a6cee69b8d (diff) | |
download | barebox-acc791fb107845f0a6e44ae2e1df392963950243.tar.gz barebox-acc791fb107845f0a6e44ae2e1df392963950243.tar.xz |
tegra: deduplicate clk defines
Signed-off-by: Lucas Stach <dev@lynxeye.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-tegra/include/mach/tegra20-car.h')
-rw-r--r-- | arch/arm/mach-tegra/include/mach/tegra20-car.h | 90 |
1 files changed, 30 insertions, 60 deletions
diff --git a/arch/arm/mach-tegra/include/mach/tegra20-car.h b/arch/arm/mach-tegra/include/mach/tegra20-car.h index 566973283d..54c74c7717 100644 --- a/arch/arm/mach-tegra/include/mach/tegra20-car.h +++ b/arch/arm/mach-tegra/include/mach/tegra20-car.h @@ -111,68 +111,38 @@ #define CRC_PLLX_MISC_VCOCON_MASK (0xf << CRC_PLLX_MISC_VCOCON_SHIFT) #define CRC_RST_DEV_L_SET 0x300 -#define CRC_RST_DEV_L_SET_CACHE2 (1 << 31) -#define CRC_RST_DEV_L_SET_VCP (1 << 29) -#define CRC_RST_DEV_L_SET_HOST1X (1 << 28) -#define CRC_RST_DEV_L_SET_DISP1 (1 << 27) -#define CRC_RST_DEV_L_SET_DISP2 (1 << 26) -#define CRC_RST_DEV_L_SET_IDE (1 << 25) -#define CRC_RST_DEV_L_SET_3D (1 << 24) -#define CRC_RST_DEV_L_SET_ISP (1 << 23) -#define CRC_RST_DEV_L_SET_USBD (1 << 22) -#define CRC_RST_DEV_L_SET_2D (1 << 21) -#define CRC_RST_DEV_L_SET_VI (1 << 20) -#define CRC_RST_DEV_L_SET_EPP (1 << 19) -#define CRC_RST_DEV_L_SET_I2S2 (1 << 18) -#define CRC_RST_DEV_L_SET_PWM (1 << 17) -#define CRC_RST_DEV_L_SET_TWC (1 << 16) -#define CRC_RST_DEV_L_SET_SDMMC4 (1 << 15) -#define CRC_RST_DEV_L_SET_SDMMC1 (1 << 14) -#define CRC_RST_DEV_L_SET_NDFLASH (1 << 13) -#define CRC_RST_DEV_L_SET_I2C1 (1 << 12) -#define CRC_RST_DEV_L_SET_I2S1 (1 << 11) -#define CRC_RST_DEV_L_SET_SPDIF (1 << 10) -#define CRC_RST_DEV_L_SET_SDMMC2 (1 << 9) -#define CRC_RST_DEV_L_SET_GPIO (1 << 8) -#define CRC_RST_DEV_L_SET_UART2 (1 << 7) -#define CRC_RST_DEV_L_SET_UART1 (1 << 6) -#define CRC_RST_DEV_L_SET_TMR (1 << 5) -#define CRC_RST_DEV_L_SET_AC97 (1 << 3) -#define CRC_RST_DEV_L_SET_SYS (1 << 2) -#define CRC_RST_DEV_L_SET_COP (1 << 1) -#define CRC_RST_DEV_L_SET_CPU (1 << 0) +#define CRC_RST_DEV_L_CACHE2 (1 << 31) +#define CRC_RST_DEV_L_VCP (1 << 29) +#define CRC_RST_DEV_L_HOST1X (1 << 28) +#define CRC_RST_DEV_L_DISP1 (1 << 27) +#define CRC_RST_DEV_L_DISP2 (1 << 26) +#define CRC_RST_DEV_L_IDE (1 << 25) +#define CRC_RST_DEV_L_3D (1 << 24) +#define CRC_RST_DEV_L_ISP (1 << 23) +#define CRC_RST_DEV_L_USBD (1 << 22) +#define CRC_RST_DEV_L_2D (1 << 21) +#define CRC_RST_DEV_L_VI (1 << 20) +#define CRC_RST_DEV_L_EPP (1 << 19) +#define CRC_RST_DEV_L_I2S2 (1 << 18) +#define CRC_RST_DEV_L_PWM (1 << 17) +#define CRC_RST_DEV_L_TWC (1 << 16) +#define CRC_RST_DEV_L_SDMMC4 (1 << 15) +#define CRC_RST_DEV_L_SDMMC1 (1 << 14) +#define CRC_RST_DEV_L_NDFLASH (1 << 13) +#define CRC_RST_DEV_L_I2C1 (1 << 12) +#define CRC_RST_DEV_L_I2S1 (1 << 11) +#define CRC_RST_DEV_L_SPDIF (1 << 10) +#define CRC_RST_DEV_L_SDMMC2 (1 << 9) +#define CRC_RST_DEV_L_GPIO (1 << 8) +#define CRC_RST_DEV_L_UART2 (1 << 7) +#define CRC_RST_DEV_L_UART1 (1 << 6) +#define CRC_RST_DEV_L_TMR (1 << 5) +#define CRC_RST_DEV_L_AC97 (1 << 3) +#define CRC_RST_DEV_L_SYS (1 << 2) +#define CRC_RST_DEV_L_COP (1 << 1) +#define CRC_RST_DEV_L_CPU (1 << 0) #define CRC_RST_DEV_L_CLR 0x304 -#define CRC_RST_DEV_L_CLR_CACHE2 (1 << 31) -#define CRC_RST_DEV_L_CLR_VCP (1 << 29) -#define CRC_RST_DEV_L_CLR_HOST1X (1 << 28) -#define CRC_RST_DEV_L_CLR_DISP1 (1 << 27) -#define CRC_RST_DEV_L_CLR_DISP2 (1 << 26) -#define CRC_RST_DEV_L_CLR_IDE (1 << 25) -#define CRC_RST_DEV_L_CLR_3D (1 << 24) -#define CRC_RST_DEV_L_CLR_ISP (1 << 23) -#define CRC_RST_DEV_L_CLR_USBD (1 << 22) -#define CRC_RST_DEV_L_CLR_2D (1 << 21) -#define CRC_RST_DEV_L_CLR_VI (1 << 20) -#define CRC_RST_DEV_L_CLR_EPP (1 << 19) -#define CRC_RST_DEV_L_CLR_I2S2 (1 << 18) -#define CRC_RST_DEV_L_CLR_PWM (1 << 17) -#define CRC_RST_DEV_L_CLR_TWC (1 << 16) -#define CRC_RST_DEV_L_CLR_SDMMC4 (1 << 15) -#define CRC_RST_DEV_L_CLR_SDMMC1 (1 << 14) -#define CRC_RST_DEV_L_CLR_NDFLASH (1 << 13) -#define CRC_RST_DEV_L_CLR_I2C1 (1 << 12) -#define CRC_RST_DEV_L_CLR_I2S1 (1 << 11) -#define CRC_RST_DEV_L_CLR_SPDIF (1 << 10) -#define CRC_RST_DEV_L_CLR_SDMMC2 (1 << 9) -#define CRC_RST_DEV_L_CLR_GPIO (1 << 8) -#define CRC_RST_DEV_L_CLR_UART2 (1 << 7) -#define CRC_RST_DEV_L_CLR_UART1 (1 << 6) -#define CRC_RST_DEV_L_CLR_TMR (1 << 5) -#define CRC_RST_DEV_L_CLR_AC97 (1 << 3) -#define CRC_RST_DEV_L_CLR_SYS (1 << 2) -#define CRC_RST_DEV_L_CLR_COP (1 << 1) -#define CRC_RST_DEV_L_CLR_CPU (1 << 0) #define CRC_RST_CPU_CMPLX_SET 0x340 |