Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8c05a412 authored by Tomi Valkeinen's avatar Tomi Valkeinen
Browse files

OMAP: SDRC: remove VRFB code



Now that VRFB driver handles its registers independently, we can remove
the VRFB related code from OMAP's sdrc.

Signed-off-by: default avatarTomi Valkeinen <tomi.valkeinen@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
parent 6a1c9f6d
Loading
Loading
Loading
Loading
+0 −16
Original line number Original line Diff line number Diff line
@@ -160,19 +160,3 @@ void __init omap2_sdrc_init(struct omap_sdrc_params *sdrc_cs0,
	sdrc_write_reg(l, SDRC_POWER);
	sdrc_write_reg(l, SDRC_POWER);
	omap2_sms_save_context();
	omap2_sms_save_context();
}
}

void omap2_sms_write_rot_control(u32 val, unsigned ctx)
{
	sms_write_reg(val, SMS_ROT_CONTROL(ctx));
}

void omap2_sms_write_rot_size(u32 val, unsigned ctx)
{
	sms_write_reg(val, SMS_ROT_SIZE(ctx));
}

void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx)
{
	sms_write_reg(val, SMS_ROT_PHYSICAL_BA(ctx));
}
+0 −7
Original line number Original line Diff line number Diff line
@@ -94,9 +94,6 @@
/* SMS register offsets - read/write with sms_{read,write}_reg() */
/* SMS register offsets - read/write with sms_{read,write}_reg() */


#define SMS_SYSCONFIG			0x010
#define SMS_SYSCONFIG			0x010
#define SMS_ROT_CONTROL(context)	(0x180 + 0x10 * context)
#define SMS_ROT_SIZE(context)		(0x184 + 0x10 * context)
#define SMS_ROT_PHYSICAL_BA(context)	(0x188 + 0x10 * context)
/* REVISIT: fill in other SMS registers here */
/* REVISIT: fill in other SMS registers here */




@@ -137,10 +134,6 @@ int omap2_sdrc_get_params(unsigned long r,
void omap2_sms_save_context(void);
void omap2_sms_save_context(void);
void omap2_sms_restore_context(void);
void omap2_sms_restore_context(void);


void omap2_sms_write_rot_control(u32 val, unsigned ctx);
void omap2_sms_write_rot_size(u32 val, unsigned ctx);
void omap2_sms_write_rot_physical_ba(u32 val, unsigned ctx);

#ifdef CONFIG_ARCH_OMAP2
#ifdef CONFIG_ARCH_OMAP2


struct memory_timings {
struct memory_timings {