OLD | NEW |
(Empty) | |
| 1 #define tegra_apertures(_aperture) \ |
| 2 _aperture(IRAM, 0x40000000, SZ_1M) \ |
| 3 _aperture(HOST1X, 0x50000000, SZ_1M) \ |
| 4 _aperture(PPSB, 0x60000000, SZ_1M) \ |
| 5 _aperture(APB, 0x70000000, SZ_1M) \ |
| 6 _aperture(USB, 0xC5000000, SZ_1M) \ |
| 7 _aperture(SDIO, 0xC8000000, SZ_1M) |
| 8 |
| 9 /* remaps USB to 0xFE9xxxxx, SDIO to 0xFECxxxxx, and everything else to |
| 10 * 0xFEnxxxxx, where n is the most significant nybble */ |
| 11 #define tegra_munge_pa(_pa) \ |
| 12 (((((_pa)&0x70000000UL)>>8) + (((_pa)&0x0F000000UL)>>4)) | \ |
| 13 ((_pa)&0xFFFFFUL) | 0xFE000000UL ) |
OLD | NEW |