ARM: tegra: Build warning fixes for 64-bit
Signed-off-by: Thierry Reding <treding@nvidia.com> Signed-off-by: Tom Warren <twarren@nvidia.com> [swarren, stripped out changes not strictly related to warnings] Signed-off-by: Stephen Warren <swarren@nvidia.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
c39e2a75fd
commit
f49357baad
|
@ -131,8 +131,8 @@ static u32 get_odmdata(void)
|
|||
* on BCTs for currently supported SoCs, which are locked down.
|
||||
* If this changes in new chips, we can revisit this algorithm.
|
||||
*/
|
||||
|
||||
u32 bct_start, odmdata;
|
||||
unsigned long bct_start;
|
||||
u32 odmdata;
|
||||
|
||||
bct_start = readl(NV_PA_BASE_SRAM + NVBOOTINFOTABLE_BCTPTR);
|
||||
odmdata = readl(bct_start + BCT_ODMDATA_OFFSET);
|
||||
|
|
|
@ -78,7 +78,7 @@
|
|||
(((hsm) >= PMUX_HSM_DISABLE) && ((hsm) <= PMUX_HSM_ENABLE))
|
||||
#endif
|
||||
|
||||
#define _R(offset) (u32 *)(NV_PA_APB_MISC_BASE + (offset))
|
||||
#define _R(offset) (u32 *)((unsigned long)NV_PA_APB_MISC_BASE + (offset))
|
||||
|
||||
#if defined(CONFIG_TEGRA20)
|
||||
|
||||
|
|
Loading…
Reference in New Issue